We are between currently between developers and I have been given the task of making some changes to our site. I am no web developer but I can fumble through most things when it comes to html. XSLT is a whole new world to me I have yet to explore.
The issue is that when the home page loads it pulls an image (at random?) from a folder on the web server. I believe the code (excerpt) below is the process whereby the image is selected. What I need to do is remove the current 10 images from this folder and replace them with two others. When I do this the new images do not display. I have tried deleting the code for images 3-10 and renaming the new images to match those I removed. No luck with that. I'm wondering if there is something I need to do with regards to the "@alias.." portion. Is there a place in Umbraco where I give the new images an alias or reference them in some way? Am I looking at the correct code for these changes?
XSLT and image aliases
Hi all,
We are between currently between developers and I have been given the task of making some changes to our site. I am no web developer but I can fumble through most things when it comes to html. XSLT is a whole new world to me I have yet to explore.
The issue is that when the home page loads it pulls an image (at random?) from a folder on the web server. I believe the code (excerpt) below is the process whereby the image is selected. What I need to do is remove the current 10 images from this folder and replace them with two others. When I do this the new images do not display. I have tried deleting the code for images 3-10 and renaming the new images to match those I removed. No luck with that. I'm wondering if there is something I need to do with regards to the "@alias.." portion. Is there a place in Umbraco where I give the new images an alias or reference them in some way? Am I looking at the correct code for these changes?
Thanks for any assistance!
Code excerpt:
"
]>
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">
..."
Hi,
I guess more info is required! what site is it, what page is troubling?
Impossible from the xslt to know what is going wrong...
Looking forward to some more info.
Cheers,
/Dirk
is working on a reply...