the links are visible but not the images. Also if I try to click the link it throw me an error saying "The resource cannot be found" and requested url is "/umbraco/ImageGen.ashx".
When I use my own macro to generate the links, the same thing happen, excpets that I can open these images.
When I try to use &" instead of "&" I cannot save xslt, and if I save it using skip error it throw me "
Error reading XSLT file: \xslt\DRGalleryFolderSub.xslt". Maybe there is some special syntax I need to write so I can use &" instead of "&"?
If I don't use /mypage, than the url is not valid and the image is not accessible.
ImageGen not working
Trying to make imagegen to work for a whole day without success. The problem is that I can't see the images.
If I try to use designit gallery like this
the links are visible but not the images. Also if I try to click the link it throw me an error saying "The resource cannot be found" and requested url is "/umbraco/ImageGen.ashx".
When I use my own macro to generate the links, the same thing happen, excpets that I can open these images.
I really don't have any idea what to do. I know I'm missing something stupid.
if anyone have any idea please help.
I forgot to mention. First link is generated using designit, second is by using my own xslt.
Have you tried using just the ampersand i.e. "&" instead of "&" in the parameters? i.e.
I've not used the deisgnit gallery but if the images are stored in the Media section then the path to the image should be:
and not have the /mypage part of the URL?
Regards,
Kevin
When I try to use &" instead of "&" I cannot save xslt, and if I save it using skip error it throw me " Error reading XSLT file: \xslt\DRGalleryFolderSub.xslt". Maybe there is some special syntax I need to write so I can use &" instead of "&"?
If I don't use /mypage, than the url is not valid and the image is not accessible.
you could use <xsl:text></xsl:text> something like:
<a>
<xsl:attribute name="href">
<xsl:text>/umbraco/imagegen.ashx?image=</xsl:text><xsl:value-of select="umbraco.library:GetMedia(./@link,false)/umbracoFile"/><xsl:text>&maxheight=700</xsl:text>
</xsl:attribute>
<img>
<xsl:attribute name="src">
<xsl:text>/umbraco/imagegen.ashx?image=</xsl:text><xsl:value-of select="umbraco.library:GetMedia(./@link,false)/umbracoFile"/><xsl:text>&width=80</xsl:text>
</xsl:attribute>
</img>
</a>
I'm already using <xsl:text></xsl:text> to write the values.
I tried your solution but still no success. Maybe the problem is somewhere else and not in the xslt?
is working on a reply...