Another silly question, this time about using CGSmartImage in my templates.
Previously I have manually resized images prior to uploading and have been happy (enough) for thumbnails to be compressed by the browser, as i figured the images would then be cached and the detail page load quicker.
However i'd like to start using CGSmartImage as expecting clients to resize accurately is too much.
My summary template contains
Code: Select all
{if $field->type == 'file'}
<img src="{$entry->file_location}/{$field->value}"/>
{else}
<a href="{$entry->detail_url}" title="{$entry->title|cms_escape:htmlall}">{eval var=$field->value}</a>
{/if}
Thanks for any help - i realise i should know this stuff - but i don't.
Cheers,
Paul