how can I write a if statement for this:
I have various custom fields for images: img1, img2, img3, img4, etc.
and in the xhtml I have a div class named s1 for these images.
what I wanted to do is if theses images exists.. apply this <div class="s1">
if not do not.. don't write it into the code. because there will be something else in place.
anyone can help, please?