Hello!
After ChronoForms, I try ChronoConnectivity, so I'm a beginner...
I have a table with some image informations : filename, description...
To show the images in the listing, I have set up a custom listing with code, in the body part:
This is working perfectly.
However, I would like to use the thumbnails instead of the "real" image (to optimize the loading time).
To have the path of the thumbnails, I need to work on the {photos.filename}.
In other thread, I have found the following code in order to use the data: $row['field'].
So I put this code:
But I have nothing in result.
How can I use the {photos.filename} in php please?
Florence
Edit : Sorry, I've found just know (after a long day of searching) -> {photos.filename}=$row['photos']['filename']
After ChronoForms, I try ChronoConnectivity, so I'm a beginner...
I have a table with some image informations : filename, description...
To show the images in the listing, I have set up a custom listing with code, in the body part:
<tr><td><img style="width:100px" src="images/phocagallery/{photos.filename}"></td></tr>
This is working perfectly.
However, I would like to use the thumbnails instead of the "real" image (to optimize the loading time).
To have the path of the thumbnails, I need to work on the {photos.filename}.
In other thread, I have found the following code in order to use the data: $row['field'].
So I put this code:
<tr><td><?php
echo $photos['filename'];
?></td></tr>
But I have nothing in result.
How can I use the {photos.filename} in php please?
Florence
Edit : Sorry, I've found just know (after a long day of searching) -> {photos.filename}=$row['photos']['filename']