First of all, fantastic work with the updates to File management. Have loaded up 2.2 to the site I’m developing and it’s great.
I am hoping that the image manipulation settings (resizing) will do away with my need for the ImgSizer plugin.
Simplified version of some code to set the scene (this of course works fine):
{exp:channel:entries}
{banner}
{content}
{/exp:channel:entries}In the File Upload Prefs for the Upload Destination linked to the ‘banner’ file field, I have set up a thumbnail to be created using the Image Manipulation feature: short name ‘small’.
However, I’m unsure how to reference the ‘small’ thumbnail version, rather than the original image.
Replacing ‘{banner}’ with ‘{small}’ or ‘{banner_small}’ or ‘{banner:small}’ doesn’t work.
Using the File module appears to be the way to do this, with code along the lines of:
{exp:file:entries file_id="{???}"}
{small}
{/exp:file:entries}Question is though, if I did this inside an {exp:channel:entries} tag, how do I pass the file_id to the file tag? Using ‘{banner}’ only spits out a URL.
I’m sure I must be missing something here. The Image Manipulation feature seems fantastic and as if it was supposed to be the end of image resizing plugins, but I’m lost.