[SOLVED] Thumbnail Image On List As Hyperlink To Detail |
5/27/2013 3:35:22 PM |
PHPRunner General questions | |
S
salus1 authorDevClub member
Does anyone know how to configure a thumbnail image on a list view as a link to the corresponding record's detail page? |
|
C
|
cgphp 5/27/2013 |
<a href="url/of/the/detail/page"><img src="path/to/the/image" alt="image"/></a> |
S
|
salus1 authorDevClub member 5/27/2013 |
Thanks for this info. |
C
|
cgphp 5/27/2013 |
What is the url of the image? |
S
|
salus1 authorDevClub member 5/27/2013 |
Thanks again for looking at this. |
C
|
cgphp 5/27/2013 |
The image is rendered with the tag "img" and this tag has a "src" attribute. That attribute is the link to the image. You can render an image calling a PHP script or with a direct URL to the image file. Your src attribute should have a link starting as mfhandler.php?filename=........ Hope to be clear. |
S
|
salus1 authorDevClub member 5/27/2013 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
OK, thanks. filename and key1 are the dynamic parameters of the URL. Replace their values with the corresponding fields values accessing the $data array. More info here: http://xlinesoft.com/phprunner/docs/_view_as__settings_custom.htm
|