and I need there to be a way to test if there is a small image that has been uploaded or not, if there is show it, if there is not, dont put anything (empty div).
Right now I have gotten around this by using a plain empty image but I do not like that way. Small image and small image 2 are upload fields so if they are empty I need to skip that section. I can not seem to get it to work though. Any help would be greatly appreciated.
Need some quick help with an if statement
I have this code:
[code]
]>
<>
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library"
exclude-result-prefixes="msxml umbraco.library">
Address:
Price:
SqFt:
Bedrooms:
Bathrooms:
MLS #:
[/code]
and I need there to be a way to test if there is a small image that has been uploaded or not, if there is show it, if there is not, dont put anything (empty div).
Right now I have gotten around this by using a plain empty image but I do not like that way. Small image and small image 2 are upload fields so if they are empty I need to skip that section. I can not seem to get it to work though. Any help would be greatly appreciated.
I have tried this:
[code]
[/code]
but it blows up the design. Basically all I need is if there is no uploaded file for small image and small image 2, the div is empty...
is working on a reply...