1 (edited by zafra 2014-03-31 21:36:59)

Topic: caption image_overlay not working

Hi all. I'm trying to get the captions to overlay on the image but for some reason they will only show up as overlay, at the width of the entire gallery instead of just the image. Here are my settings:

    useFlickr="false"
    resizeOnImport="true"
    cropToFit="false"
    showLargeThumbs="false"
    showSmallThumbs="false"
    enableKeyboardControls="false"
    galleryTitlePosition="NONE"
    enableAutoPlay="true"
    autoPlayOnLoad="true"
    autoPlayThumbs="false"
    showAutoPlayStatus="false"
    enableLooping="true"
    enableTouchZoom="false"
    buttonBarPosition="NONE"
    showImageNumber="false"
    imageClickMode="NONE"
    imageTransitionTime="2"
    imagePadding="0"
    showImageNav="false"
    captionPosition="IMAGE_OVERLAY"
    imageFrameColor="rgba(0,0,0,1)"
    screenMode="LARGE"
    showImageOverlay="ALWAYS"
    splashShowImageCount="false"
    showSplashPage="NEVER"
    showThumbsButton="false"
    showExpandButton="false"
    showOpenButton="false"
    imageTransitionType="FADE"
    maxCaptionHeight="20"
    maxImageWidth="300"
    maxImageHeight="200"
    imageQuality="80"
    thumbWidth="85"
    thumbHeight="85"
    thumbQuality="90"
    galleryWidth="700"
    galleryHeight="400"
    captionHAlign="LEFT"
    showPreloader="false"
    imageScaleMode="NONE"

any thoughts? Thanks!

Re: caption image_overlay not working

captionPosition="IMAGE_OVERLAY"

The correct value for captionPosition should be OVERLAY_IMAGE (not IMAGE_OVERLAY) (as noted in the Caption Options).
(You might also want to increase the value of maxCaptionHeight from 10 to something like 100.)

Re: caption image_overlay not working

Steven wrote:

captionPosition="IMAGE_OVERLAY"

The correct value for captionPosition should be OVERLAY_IMAGE (not IMAGE_OVERLAY) (as noted in the Caption Options).
(You might also want to increase the value of maxCaptionHeight from 10 to something like 100.)

Oh I was so excited. I changed the word order (yikes how embarrassing) and the max caption height to 30 (already quite a bit taller than the font size I have specified). And the caption area got taller but it's still extending the width of the gallery. :( Here's the new code:

useFlickr="false"
    resizeOnImport="true"
    cropToFit="true"
    showLargeThumbs="false"
    showSmallThumbs="false"
    enableKeyboardControls="false"
    galleryTitlePosition="NONE"
    enableAutoPlay="true"
    autoPlayOnLoad="true"
    autoPlayThumbs="false"
    showAutoPlayStatus="false"
    enableLooping="true"
    enableTouchZoom="false"
    buttonBarPosition="NONE"
    showImageNumber="false"
    imageClickMode="NONE"
    imageTransitionTime="3"
    imagePadding="0"
    showImageNav="false"
    captionPosition="OVERLAY_IMAGE"
    imageFrameColor="rgba(0,0,0,1)"
    screenMode="AUTO"
    showImageOverlay="ALWAYS"
    splashShowImageCount="false"
    showSplashPage="NEVER"
    showThumbsButton="false"
    showExpandButton="false"
    showOpenButton="false"
    imageTransitionType="FADE"
    maxCaptionHeight="30"
    maxImageWidth="400"
    maxImageHeight="300"
    imageQuality="80"
    thumbWidth="85"
    thumbHeight="85"
    thumbQuality="90"
    galleryWidth="800"
    galleryHeight="400"
    captionHAlign="CENTER"
    showPreloader="false"
    imageScaleMode="NONE"
    backgroundColor="rgba(34,34,34,0)"

Re: caption image_overlay not working

And the caption area got taller but it's still extending the width of the gallery.

I have just created a test gallery using the new configuration options you posted and the caption area spans only the width of the main image in the gallery (as expected) and not the width of the entire gallery itself.
Try clearing your browser's cache to ensure that your browser is fetching and using the most recent version of your gallery's XML file.
If you continue to experience difficulties, please post the URL to your gallery so that I can take a look and help further.

Re: caption image_overlay not working

Yeah all the other changes I'm making are showing up. I've also checked in 3 browsers - Chrome, Opera, and Firefox and they're all displaying the same. To be perfectly honest I'm starting to like how it looks! But I'd really like the option to change it and to know what's going on for future projects. Here's the link: http://www.redpoppy.net/indexTEST2.php
Thanks a lot!

Re: caption image_overlay not working

Your test gallery URL leads to an error 404 (file not found).
Please check your URL and post back. Thank you.