I'm trying to implement a gallery of images with CGSmartImage and jquery Fancybox. Documentation for CGSmartImage give the following example, including any filters:
Code: Select all
<a rel='simple_album' class="fancybox" href="{CGSmartImage src=$file notag=1 noembed=1}">
{CGSmartImage src=$file}
</a>The problem is that Fancybox displays correctly the file if you provide the appropriate extension (jpg, png ...), but CGSmartImage sent from its cache a renamed file without any extension.
My solution was to skip CG for large image and leave the code like this:
Code: Select all
<a rel='simple_album' class="fancybox" href="{CGSmartImage src=$file notag=1 noembed=1}">
<img href="{$file}" />
</a>Thanks.


