Original thread is marked solved, but still have issues, bringing this to a new post, in hopes it gets viewed.
Its easy enough to get around the System.OverflowException with the
"ignore errors" checkbox. However, I cannot get images to show even
with the above modifications. The following change produces no
images.
What am I missing? I know its something simple that its stupid. The
images are obviously being found, but not displayed. I've tried various
things in the for-each to produce the image to no avail.
Rather than starting a new post then I personally think it's better to "bump" in on the old one, since your question is related to an already existing question.
But for now I'll reply in here :-)
Since you're using 4.7 you can't trust the XML structure to be the same, since there was a small bug with that in v 4.5.2, which was the version the original poster had issues with.
Therefore try creating a <textarea></textarea> where you make a xsl:copy-of, which will return the XML you're trying to match.
I am not a fan of creating a whole new post either. Since the other topic had a "solution", it appeared no one was answering or viewing additions. Your suggestion worked perfectly to find the exact XML output I needed. I had tried that earlier, but apparently didn't have the right path to produce the output.
Greatly appreciated.
For those who struggle with this the output I got for the XML
Images not displaying
Original thread is marked solved, but still have issues, bringing this to a new post, in hopes it gets viewed.
Its easy enough to get around the System.OverflowException with the "ignore errors" checkbox. However, I cannot get images to show even with the above modifications. The following change produces no images.
class="items">
select="$imageFolderContents/Image">
If I throw this <xsl:value-of select="$imageFolderContents"/> into the "main_gallery_title" I get the following.
/media/2974354/55555_102.gifgif113312/media/2974357/55555_129.gifgif69288/media/2974360/55555_130.gifgif108396/media/2974363/55555_157.gifgif102921
What am I missing? I know its something simple that its stupid. The images are obviously being found, but not displayed. I've tried various things in the for-each to produce the image to no avail.
Thanks
Hi David
Rather than starting a new post then I personally think it's better to "bump" in on the old one, since your question is related to an already existing question.
But for now I'll reply in here :-)
Since you're using 4.7 you can't trust the XML structure to be the same, since there was a small bug with that in v 4.5.2, which was the version the original poster had issues with.
Therefore try creating a <textarea></textarea> where you make a xsl:copy-of, which will return the XML you're trying to match.
Like this
<textarea>
<xsl:copy-of select="$ImageFolderContents" />
</textarea>
I'm guessing you need to write it like $imageFolderContents/Folder/Image...but try to see what you get returned.
Hope this helps.
/Jan
I am not a fan of creating a whole new post either. Since the other topic had a "solution", it appeared no one was answering or viewing additions. Your suggestion worked perfectly to find the exact XML output I needed. I had tried that earlier, but apparently didn't have the right path to produce the output.
Greatly appreciated.
For those who struggle with this the output I got for the XML
From this
was
Hopefully that saves someone the headache I encountered.
Spoke too soon. I got the image to display doing the following (notice the commented out textarea per your suggestion)
Still I only get 1 image to display instead of all 4. XML output showed all 4. Ideas??
Alright, how do you mark your own post as a solution. :-)
Changed the above from
to
Magically it all works. Easiest is sometimes the hardest, but I hope this helps someone out.
is working on a reply...