Summary:
CGUserDirectory crash with CGSmartImage
Detailed Description:
CGUserDirectory crash when i add my CGSmartImage tag in a CGUserDirectory
summary template.
I don't have an error message, but the output of the CGUserDirectory module is
empty.
CGUserDirectory version is: 1.5.1
CGSmartImage version is: 1.22.2
Here is the code snippet:
{if isset($oneuser.properties.photo)}
{CGSmartImage src='/images/_feusers/5cbc1299cafc8e81deb14b31ed5e7d0e.jpg'
quality='50' filter_croptofit='500,740'}
{else}
<img src="images/profil.svg" alt="default photo">
{/if}
Note :
If I put my CGSmartImage tag in my page template, it works normally, the image
is generated.
If I replace the CGSmartImage tag with an img tag everything works as expected.
For example, my page works well with this code:
{if isset($oneuser.properties.photo)}
<img src="/uploads/images//img-877.jpg" width="500" height="740"
alt="photo">
{else}
<img src="images/profil.svg" alt="default photo">
{/if}