Hi,
I am trying to do an if statement for <cms:show main_image />.
My goal is to show another image if the main_image is empty or blank. I tried something like the following
But its not working.
Assistance would be greatly appreciated.
I am trying to do an if statement for <cms:show main_image />.
My goal is to show another image if the main_image is empty or blank. I tried something like the following
- Code: Select all
<cms:if '<cms:show main_image />' == "" >
'<cms:show another_image />'
<cms:else />
'<cms:show main_image />'
</cms:if>
But its not working.
Assistance would be greatly appreciated.