Skip to content Skip to sidebar Skip to footer

Image Display With Not Working

EDIT :: I found out that i am having a permission error. For whatever reason i dont have 'permission' to grab the image from the images folder ... * a few days ago i asked this que

Solution 1:

Did you cross check the file permission issue? What is the response code return when you copy and paste the image path to the browser? e.g. http://yourserver.com/part-to-image/image.jpg

If 404 returned, you may need to troubleshoot the server directory mapping. If 500 returned, might be file permission.

Apart from that your code

<?php$_SESSION['pic']; ?>

Should it require echo to embed to html tag?

<?phpecho$_SESSION['pic']; ?>

Solution 2:

The path should be relative to the current directory. Have u checked it ?

Try the answer given in comment by Rohit.

<imgsrc='<?phpecho$_SESSION['pic']; ?>' />

Post a Comment for "Image Display With Not Working"