...

View Full Version : The images doesn't display with pagination in windows..



shanil
11-12-2011, 04:36 AM
Hi all,

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....

Inigoesdr
11-13-2011, 03:41 AM
Hi all,

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:

<img src="/images/studentimage.jpg">
That way your links work on any page, and in any subfolder.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum