I am totally stuck and hope that someone here might have had the same problem in the past.
When I test my code under localhost, all images displays perfect, not so when uploaded from my hosting server.
What it does: It uploads data from the database as a description of an article for sale - no problem, loads perfect. It then displays a main image with 3 thumbnails below that. Not showing images.
I have clicked on "inspect element", the picture name and folder was returned from the database 100% i.e. uploads/folder30/1.jpg.
I then checked, the image does exist in the root folder under uploads/folder30. The same problem with the thumbnails, also shows that the correct naming was returned but no images is showing although it does exist in its respective folders.
I have checked all naming conventions, all folders and images is named correctly with the correct lowercase used (all folders and images naming is in lowercase).
I also thought it might be the image sizes - main image is a 600x400 pixel image and thumbs is 100x100 pixel images. also, not the problem. I then uploaded larger images AND smaller images, still did not resolve the problem.
I am at my wits end here and will reaaly appreciate all input I can find. I have searched endlessly for the same error, could not find 1 link where a user had a similar problem.