Kirill N Posted June 11, 2015 Share Posted June 11, 2015 I know the code for record image is {file="$record->record_image" extension="cms_Records"}but how do I call the record image thumbnail? Link to comment Share on other sites More sharing options...
tekguru Posted June 11, 2015 Share Posted June 11, 2015 Is this for posts or articles? I'm trying to locate the variable for post thumbnails. Link to comment Share on other sites More sharing options...
opentype Posted June 11, 2015 Share Posted June 11, 2015 but how do I call the record image thumbnail?The field name is: record_image_thumb Link to comment Share on other sites More sharing options...
tekguru Posted June 11, 2015 Share Posted June 11, 2015 Hi Ralf, so somethign like:{template="A VIABLE TEMPLATE" group="global" app="core" params="$topic->record_image_thumb(), 'tiny'"}Would work, or is it not that simple? Link to comment Share on other sites More sharing options...
Nils Meyer Posted June 11, 2015 Share Posted June 11, 2015 Hi guys sorry for asking a not directly related question but I have been searching for an answer for this for weeks. And would be forever grateful if you could help!!!why does this {file="$record->record_image" extension="cms_Records"}return this in sourceurl(http://lightpile.net/uploads/);and not an actual url? I can show the rest of the code if necessary. Link to comment Share on other sites More sharing options...
opentype Posted June 11, 2015 Share Posted June 11, 2015 and not an actual url? I can show the rest of the code if necessary. I don’t need to see more code, but the question is WHERE you put that. Either that template or record has no record image available or it’s in another variable like $row instead of $record. Link to comment Share on other sites More sharing options...
Nils Meyer Posted June 12, 2015 Share Posted June 12, 2015 Sorry for hijacking your post Kirill. Thanks for the reply Ralf. It is in a database template (featured records, in the entry part) just as as ABGenc suggested in his post about it. You posted in that thread because I wasn't the only one who couldn't get record images to show. I get the exact same result he gets (css working) but without the images showing. Lightpile.net is my site Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.