We are trying to use this functions but we don’t get the proper solution.
how to check file_exists for images in Smarty.
like
[{$oSelection->getName()}] = name of images.
[{assign var="filename" val="<img src="[{$oViewConf->getImageUrl()}]Productimg/selectlists/color/[{$oSelection->getName()}].gif" alt="">[{$oSelection->getName()}].gif"}]
[{if $filename|file_exists}]
success
[{else}]
no success
[{/if}]
Thank you…
you can check this by