Welcome Guest, Not a member yet? Register   Sign In
Images uploaded from forms are not shown
#1

I have an anomalous problem, I correctly upload the image in the writable / uploads / photos folder, they have all the active permissions, they upload it correctly, but unfortunately when it is displayed it is not shown for lack of permissions. This both on the web and locally with XAMPP.

I repeat, the permissions are all there, he loads it quietly.
I did a test by uploading a test image to the root and reaching it at the address is displayed.
Reply
#2

If you have installed your server correctly. "writable" folder are not a publicly accessed folder (from the url), as it should not be so. That's for uploading secret stuff. If you need to have something public (like uploading a new logo), that file needs to be inside your "public" folder.

Or you need to write your own PHP-reader that finds files in the "writable" folder and can display them to the public.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB