I’m trying to use image manipulations in a File Grid field type. The image manipulation is called “thumbnail” and I’ve confirmed that the folder “_thumbnail” and the images within are being generated.
What is the correct syntax for using these thumbnails within a File Grid?
This works and puts outputs the full size image:
{grid_image}
{grid_image:grid_image}
{/grid_image}
This does not work to output the thumbnail instead of the full size image:
{grid_image}
{grid_image:thumbnail
{/grid_image}
This also does not work:
{grid_image}
{grid_image:grid_image:thumbnail
{/grid_image}
edit: apologies, i can’t get my example code to show up without being parsed. I think what’s showing gives you the gist. There’s an image tag between the opening and closing File Grid tags.
Does it work using the file tag pair- a la this example:
{grid_field}
{grid_field:file}
Extension: {extension}
Upload date: {upload_date format="%Y %m %d"}
URL: {url}
Custom med thumbnail url: {url:thumbnail}
{/grid_field:file}
{/grid_field}
Where ‘grid_field’ is the short name of the grid field.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.