let, first two oupoad option browse two image and third is not, then first image is displyed but third is not, it just display an image icon. so it looking not good.
how can i it avoide it or how can i test image in a template.
thanks for reply. sorry Rich green i want that 3rd image is if not uploaded then it can not shows the image icon. here is my template
<li class="sliderImage"> <img src='<umbraco:Item field="photo1" runat="server"></umbraco:Item>' height="128" width="128" alt="Photo taken by T "/> </li> <li class="sliderImage"> <img src='<umbraco:Item field="photo2" runat="server"></umbraco:Item>' height="128" width="128" alt="Photo taken by T "/> </li> <li class="sliderImage"> <img src='<umbraco:Item field="photo3" runat="server"></umbraco:Item>' height="128" width="128" alt="Photo taken by T "/> </li>
just need to check/test if any one of them image is not uploaded( by the by) then other will show and which image is not uploaded then it can not shows the image icon. this is my expectation.
image display testing within a template
hi,
I have three upload option for image display.
let, first two oupoad option browse two image and third is not, then first image is displyed but third is not, it just display an image icon. so it looking not good.
how can i it avoide it or how can i test image in a template.
i want it using template not xslt file.
Touhid
Hi,
Can you post the code of your template?
There is no reason that 2 images will work and the 3rd one wouldn't.
thanks for reply. sorry Rich green i want that 3rd image is if not uploaded then it can not shows the image icon. here is my template
<li class="sliderImage">
<img src='<umbraco:Item field="photo1" runat="server"></umbraco:Item>' height="128" width="128" alt="Photo taken by T "/>
</li>
<li class="sliderImage">
<img src='<umbraco:Item field="photo2" runat="server"></umbraco:Item>' height="128" width="128" alt="Photo taken by T "/>
</li>
<li class="sliderImage">
<img src='<umbraco:Item field="photo3" runat="server"></umbraco:Item>' height="128" width="128" alt="Photo taken by T "/>
</li>
just need to check/test if any one of them image is not uploaded( by the by) then other will show and which image is not uploaded then it can not shows the image icon. this is my expectation.
Touhid
Hi,
You should put this into an xslt macro.
Do you know how to do that?
Rich
Rich,
Is there any way to solve this using template ??Because it is help for me . If not posssible then help me xslt file.
Thnks
Touhid
is working on a reply...