Jump to content

Display Thumbnails in a Database page?

Featured Replies

Posted

Is there a way to create maybe a custom field where you can upload a thumbnail image for individual records which displays the thumbnail on the resource list page?

When I use the custom upload field, it only displays the url of the uploaded file, and not the image itself.

1 hour ago, Lori Nelson said:

Is there a way to create maybe a custom field where you can upload a thumbnail image for individual records which displays the thumbnail on the resource list page?

When I use the custom upload field, it only displays the url of the uploaded file, and not the image itself.

Yes, make sure you activate Record Image in the fields.  

@opentype can walk you through it if you still need help.  

As Joel said: Activate the “Record Image” field for the database. It already comes with a thumbnail feature and can be shown easily. It’s also used for social media sharing, which is nice. 

Upload fields can also be shown as images of course, but we would need some more information about what you are trying to achieve and what you have set up so far. 

  • Author

Thanks. Now how do I alter the recordRow template to show the thumbnail on the list of records?

Something like:

{{if $row->record_image}}
<img class="ipsImage" src="{file="$row->_record_image_thumb" extension="cms_Records"}">
{{endif}}

 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.