I use a directory called upload to store images I want to display on a web page. I store the image name in a mysql database. The images are book covers. Different types of graphics.
Works great on my pc but not on the webserver. If I insert the image on the webpage it works great on both.
Here is the line that displays the image:
<?Php echo '<br><img alt="no pic" src="upload/' . $row['covername'] . '"' . ' >'; ?>
On my pc I see the following for properties:
http://localhost/mydomain/upload/inexchangeoflife%20Cover.jpg
works great. On the webserver the properties look like:
http://www.mydomain.com/upload/4857.jpg
Does not display. I get "no pic". The image is there in the upload directory on the webserver.
The upload directory has the proper security.
Any ideas would be greatly appreciated.
TIA