Topic: Path in filename
If I define a root folder in imagePath and thumbPath, can I include subfolders in the filename for each image? I'm building a dynamic XML source, and the images can be stored in many different folders.
You are not logged in. Please login or register.
SimpleViewer Forum → SimpleViewer v1 → Path in filename
If I define a root folder in imagePath and thumbPath, can I include subfolders in the filename for each image? I'm building a dynamic XML source, and the images can be stored in many different folders.
I've tested off the hard drive, and it appears to allow path info in the filename - so that's good.
However, I can't get the images to show in the viewer.
My XML is generating correctly:
−
<simpleviewergallery maximagewidth="480" maximageheight="480" textcolor="0xFFFFFF" framecolor="0xffffff" framewidth="20" stagepadding="40" thumbnailcolumns="3" thumbnailrows="3" navposition="left" title="LaRocque Photos" enablerightclickopen="true" backgroundimagepath="" imagepath="/photos/" thumbpath="/photos/">
−
<image>
<filename>people/church/directory/2007/07/19899_1.jpg</filename>
<caption>The Wall Family</caption>
</image>
−
<image>
<filename>people/church/directory/2007/07/19900_1.jpg</filename>
<caption>The Elks Family</caption>
</image>
−
<image>
<filename>people/church/directory/2007/07/19901_1.jpg</filename>
<caption>The Turner Family</caption>
</image>
−
<image>
<filename>people/church/directory/2007/07/19902_1.jpg</filename>
<caption>The Tart Family</caption>
</image>
</simpleviewergallery>
The XML is being read in the viewer. I get four white Xs and the captions show correctly, but no thumbnails or images.
Somehow all my XML tags got lowercased, which breaks the viewer. Back to the lower/upper case, it works fine.
SimpleViewer Forum → SimpleViewer v1 → Path in filename
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.