Upload image path error

This topic contains 3 reply and 2 voices, and was last updated by Tareq Hasan 10 years, 7 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
September 11, 2013 at 2:39 am 8002
Tareq Hasan Hi there, When I create a form with an image field, the chosen and uploaded image doesnt show in the form. My form is on a page named "Add accommodation". Firebug tells me, that the display path of the uploaded image is domain.com/add-accommodation/uploads/image.jpg instead of domain.com/uploads/image.jpg. Is this a bug or a wrong form setting somewhere? The upload itself works perfect, it just doesnt display the uploaded image in the front end form. Thanks.
September 11, 2013 at 9:23 am 8006
Tareq Hasan Tareq Hasan

Are you using any code or plugin that changes the upload directory? Ideally the upload folder structure would be domain.com/wp-content/uploads/year/month/image.jpg. So I think it’s getting a conflict.

September 11, 2013 at 12:53 pm 8012
micha micha

Thanks for your input Tareq. I realised this issue is caused by the “Hide my WP” Plugin. If deactivated, it works. Do you maybe know a workaround for this? I would like to enable it again.

September 11, 2013 at 3:42 pm 8017
Tareq Hasan Tareq Hasan

I am not sure how the plugin is hiding them, but definitely it’s not applying the standard way to do this. Otherwise it wouldn’t break.

Viewing 3 Posts - 1 through 3 (of 3 total)