Originally Posted by shanil
I am developing a student project using cakephp frame work in windows.I have to display all the details of a students with their images in a page , the students images are in the webroot/images folder. I am using <img src="../images/studentimage.jpg"> for displaying the students images and this working perfectly when no pagination is there but with pagination the images are not displayed in the next pages. Is there any problem with the image source path ? How can i solve this issue? If anyone knows please help me thanks in advance....
You really need to provide more information, such as the pagination URL, but if the images folder is in the web root you can make it simple and just make your image links web-root relative:
That way your links work on any page, and in any subfolder.