I have 2 folders for images. The 1st folder is for admin upload. And 2nd folder is for users. I would like to make a condition for first check the 1st folder, if not available then check 2nd folder and if not available there too then display the noimage file.
Something like this :
Code:
<if condition="image_ID.jpg">
<img src="1stfolder/image_ID.jpg">
<else />
<img src="2ndfolder/image_ID.jpg">
<else />
<img src="noimage.jpg">
</if>
But i couldn't make it work.
Any idea about how to do that ?
Thanks in advance...