Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 11, 20159 yr I know the code for record image is {file="$record->record_image" extension="cms_Records"}but how do I call the record image thumbnail?
June 11, 20159 yr Is this for posts or articles? I'm trying to locate the variable for post thumbnails.
June 11, 20159 yr Community Expert but how do I call the record image thumbnail?The field name is: record_image_thumb
June 11, 20159 yr 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?
June 11, 20159 yr 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.
June 11, 20159 yr Community Expert 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.
June 12, 20159 yr 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
Archived
This topic is now archived and is closed to further replies.