Edit Image Size in Loop
-
I am looking to edit this part of the post template in Algolia autocomplete:
<# if ( data.images.thumbnail ) { #> <img class="suggestion-post-thumbnail" src="{{ data.images.thumbnail.url }}" alt="{{ data.post_title }}"> <# } #>
Instead of the featured image attached to the post (data.images.thumbnail.url), I would like Algolia to get the ‘medium’ version of the featured image.
This is because, my featured images are very large and Algolia should use a smaller version for the small thumbnails shown on autocomplete.
many thanks
Maria
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Edit Image Size in Loop’ is closed to new replies.