Reputation: 536
I have developed a website to upload and display images. And it works fine on the local server , but when I upload it to the web server it wont show the image. But the file has been uploaded to the current location in the server and the path is also fine.
Upvotes: 1
Views: 249
Reputation: 13166
I think you may have problem with their format. Check your scripts and make sure their formats to be as same as your local files. If you have a programming mistake, files will save on the server, but their formats may not be actual.
I had this problem before ...
Upvotes: 0
Reputation: 627
I'd suggest you the full path in the url, literally type it out. If that does not work, check that the file is readable by setting the permissions of the image file.
Upvotes: 1