Topic: Display Captions without Thumbnails
I want to display image captions but I do not want to display any thumbnails. I can't seem to get it to work! Someone please help.
You are not logged in. Please login or register.
SimpleViewer Forum → SimpleViewer-Pro v1 → Display Captions without Thumbnails
I want to display image captions but I do not want to display any thumbnails. I can't seem to get it to work! Someone please help.
Try setting the Pro Option captionUnderThumbs to 'false' which should display the captions under the main image rather than the thumbnails.
A description of the captionUnderThumbs Pro Option can be found on the 'SimpleViewer-Pro v1.9 ActionScript Options' page: http://simpleviewer.net/simpleviewer/pr … tions.html
Instructions for customizing ActionScript Options can be found here: http://simpleviewer.net/simpleviewer/pr … #asoptions
Tried adding captionUnderThumbs="false" but this did not work. Regardless, the caption needs to be to the left of the image. I just want to remove the thumbnail and keep the captions. These are the current xml file settings, and link to the screenshot: http://dl.dropbox.com/u/2074249/screen.jpg
<?xml version="1.0" encoding="UTF-8"?>
<simpleviewergallery maxImageWidth="782" maxImageHeight="509" textColor="000000" floatCaption="true" captionUnderThumbs="false" captionTextAlignment="left" captionPosition="bottom" showImageNav="always" thumbNavPosition="bottom" thumbHAlign="left" thumbVAlign="top" thumbPosition="none" thumbWidth="0px" thumbHeight="0px" thumbFrameColor="ffffff" frameColor="ffffff" frameWidth="0" stagePadding="0" navPadding="0" thumbnailColumns="2" thumbnailRows="1" navPosition="left" vAlign="left" hAlign="bottom" title="" enableRightClickOpen="true" backgroundImagePath="" imagePath="" thumbPath="">
<image>
<filename>Image_001.jpg</filename>
<caption><![CDATA[
<font face="Arial" size="14" color="#6e6d63">
<A href="highres.pdf"
target="_blank"><u>DOWNLOAD PDF</u></A></font>
]]></caption>
</image>
</simpleviewergallery>
What version of SimpleViewer are you using?
You have posted in the SimpleViewer-Pro v1 forum but your XML file uses both SimpleViewer v1 options (such as navPosition) and SimpleViewer v2 options (such as thumbPosition).
If using SimpleViewer-Pro v1.x, the captionUnderThumbs option is an ActionScript option which cannot be set via XML.
If using SimpleViewer-Pro v2.x, your goal can be achieved by setting the following in your gallery's XML file:
thumbPosition="NONE"
captionPosition="LEFT"
How do I know which version I have? I bought simpleviewer pro around a couple years ago. If it is version 1, how do I make the change in the flash file actionscript?
How do I know which version I have?
Please see the section entitled 'Which Version Do I Have?' on this page: http://simpleviewer.net/simpleviewer/su … grade.html
If it is version 1, how do I make the change in the flash file actionscript?
Please see here for details: http://www.simpleviewer.net/simpleviewe … #asoptions
Thanks, is there a way in version 1 to get the caption directly under the main image?
Set the Pro option captionUnderThumbs to 'false'.
However, I have just tested this and it will not work if you choose not to display thumbnails.
(It would, however, be possible with SimpleViewer-Pro v2.3.0.)
I went ahead and purchased Slideshow Pro Version 2 and successfully got the captions to display under the main image without thumbnails. However, I now have a question regarding showDownloadButton="true" - is it possible to set the default linkURL="images/tall.jpg" for showDownloadButton to linkURL="images/highres.pdf" so that it opens a pdf instead of a jpg? I have tried unsuccessfully, please let me know if there's a way to display the download button and have it link to a pdf instead of a jpg. Here's my code:
<?xml version="1.0" encoding="UTF-8"?>
<simpleviewergallery
maxImageWidth="782"
maxImageHeight="509"
imageQuality="80"
thumbWidth="75"
thumbHeight="75"
thumbQuality="90"
useFlickr="false"
resizeOnImport="true"
cropToFit="false"
thumbFrameStyle="NONE"
galleryWidth="782"
galleryHeight="509"
backgroundColor="FFFFFF"
backgroundTransparent="false"
useFlash="true"
textColor="6E6D63"
frameWidth="0"
thumbPosition="NONE"
showOpenButton="false"
showFullscreenButton="false"
stageBorder="0"
stageHPadding="0"
stageVPadding="0"
enableMouseWheel="false"
dropShadowStrength="0"
imageFrameStyle="NONE"
imageCornerRadius="10"
imageScaleMode="SCALE_UP"
imageNavStyle="SQUARE"
showThumbLoadBar="false"
thumbFrameWidth="0"
thumbLoadBarHeight="0"
thumbHoverFrameWidth="0"
thumbClickShift="0"
thumbCornerRadius="0"
thumbNavStyle="NONE"
showDownloadButton="true"
showNavButtons="true"
showAutoPlayButton="false"
showToolTips="false"
buttonBarPosition="BOTTOM"
buttonBarHAlign="CENTER"
buttonBarVAlign="CENTER"
buttonBarPadding="0"
titlePosition="NONE"
captionPosition="BOTTOM"
captionTextAlignment="CENTER"
captionFontColor="6E6D63"
autoPlayOnLoad="true"
showAutoPlayStatus="false"
backgroundScale="NONE"
useFixedLayout="false"
mobileShowThumbs="false"
mobileShowPageCount="false"
galleryStyle="MODERN"
frameColor="FFFFFF"
showBigPlayButton="false"
showThumbVisited="false"
thumbDropShadow="false"
doThumbPopOut="false"
floatButtonBar="false"
floatTitle="false"
floatCaption="false"
enableCaptionLinks="true"
captionHeight="18"
captionWidth="300"
captionFontName="Arial"
imageNumberFontSize="14"
captionPadding="0"
captionFontSize="14"
showImageNumber="false"
captionBackColor="FFFFFF"
autoPlayThumbs="false"
loopAudio="false"
flickrShowTitle="false"
flickrShowDescription="false"
>
<image imageURL="images/tall.jpg"
thumbURL="thumbs/tall.jpg"
linkURL="images/highres.pdf"
linkTarget="_blank">
<caption><![CDATA[]]></caption>
</image>
<image imageURL="images/wide.jpg"
thumbURL="thumbs/wide.jpg"
linkURL="images/highres.pdf"
linkTarget="_blank">
<caption><![CDATA[]]></caption>
</image>
</simpleviewergallery>
The linkURL is used by the Open Image Button (showOpenButton="TRUE") rather than the Download Button. (The Download Button will always download the imageURL.)
When the user clicks on the Open Image Button (or the corresponding right-click option), the PDF file from the linkURL will be opened in the user's browser (as long as they have Adobe Reader installed).
That works, but is there a way to change the Open Image Button graphic to the Download Button graphic?
Not directly, but you could use the SimpleViewer-Pro API to include your own 'Open PDF' button somewhere on your HTML page (whether an image or a text link) and have it behave like the 'Open Image' button by using the openImageLinkURL() method.
SimpleViewer Forum → SimpleViewer-Pro v1 → Display Captions without Thumbnails
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.