Topic: Unable to scale gallery in iweb

Hello there. I just bought imagerviewer pro and it is wonderful.
But i have a question.

I published my gallery online.
In Svbuilder i fixed the embedded size at : 600x600
I put the iframe option into iweb with the same size, pointing to the folder on my site.

<iframe src="http://www.rosedesbois.ca/diapocollier/" width="600" height="600" frameborder="0" scrolling="no"></iframe>

When i publish on my site with those setting my diaporama is bigger then the 600x600 frame and overlap it. i have to set the iframe size back at 600x800 instead if i want to see it.

I am working with iweb

Do you have any idea what it depend of?

Thank you

Re: Unable to scale gallery in iweb

When embedding a gallery using an <iframe>, set the dimensions of the <iframe> as desired (using the 'width' and 'height' attributes) but set the gallery's own dimensions to 100% x 100% in the embedding code (via svBuilder-Pro) so that the gallery fills the <iframe> no matter what its size.

Steven Speirs
SimpleViewer Support Team.

Re: Unable to scale gallery in iweb

thank you Steven for that fast answer. But where do i have to set the gallery size tou 100%? I look every where in the customize section but the only place i set the size is in the "embed option". And it is in pixel.

Re: Unable to scale gallery in iweb

In 'Customize -> Embed Options', clear the 'Gallery Width' text field and type in '100%' (without the quotes).
Do likewise for the 'Gallery Height' text field.

Steven Speirs
SimpleViewer Support Team.

Re: Unable to scale gallery in iweb

Ok i figure out that i only have to put 100% in the size section for both width and high.
But here's what it looks like even with the code at 100% and iframe set to 500px x 500 px

http://www.rosedesbois.ca/Colliers.html

XMl file

<simpleviewergallery

   

useFlickr="false"
    resizeOnImport="true"
    cropToFit="false"
    galleryWidth="100%"
    galleryHeight="100%"
    backgroundColor="FFFFFF"
    thumbPosition="BOTTOM"
    thumbColumns="6"
    thumbRows="1"
    thumbFrameWidth="0"
    captionPosition="OVERLAY_BOTTOM"
    imageFrameStyle="ROUNDED"
    titlePosition="OVERLAY_TOP"
    buttonBarPosition="BOTTOM"
    stageHPadding="10"
    stageVPadding="10"
    imageDropShadow="true"
    frameWidth="1"
    imageScaleMode="SCALE_UP"
    thumbNavStyle="NUMERIC"
    captionFontColor="333333"
    textColor="000000"
    captionFontSize="14"
    flickrTitleFontSize="24"
    captionHeight="170"
    showNavButtons="true"
    showDownloadButton="false"
    buttonBarHAlign="CENTER"
    buttonBarBackOpacity="0.4"
    floatCaption="false"
    captionBackOpacity="0"
    imageCornerRadius="30"
    imageTransitionTime="0.3"
    useFlash="true"
    thumbPadding="5"
    thumbLoadBarHeight="10"
    watermarkURL="Rose des bois"
    imageNumberFontSize="12"
    captionTextAlignment="LEFT"
    title="Collection Rose des bois"
    imageNavStyle="BIG"
    showOpenButton="false"
    showFullscreenButton="false"
    frameColor="000000"
    enableMouseWheel="false"
    imageClickMode="NAVIGATE"
    showOverlay="ALWAYS"
    showImageNav="ALWAYS"
    titleDropShadow="false"
    titlePadding="5"
    titleFontSize="21"
    showBackButton="false"
    useFixedLayout="false"
    indexPageName="diaporama.html"
    galleryStyle="MODERN"
    flashBrightness="5"
    imageNavBackColor="000000"
    imageNavBackOpacity="5"
    imageNavPadding="5"
    imageNavColor="999999"
    imageNavScale="0.7"
    showBigPlayButton="false"
    changeCaptionOnHover="false"
    showToolTips="true"
    buttonBarPadding="0"
    showAutoPlayButton="false"
    buttonBarScale="0.7"
    titleBackColor="FFFFFF"
    backgroundTransparent="false"

Any idea?

Thank you again!

Re: Unable to scale gallery in iweb

one last thing. Before putting it in an iframe i can resize the content in a browser window depending of the size i set the window. But the moment i put it in a iframe, the size of the content is still the same and fix.

Re: Unable to scale gallery in iweb

The link you provided results in an error 404 (file not found). Please check your link and post back.
If your <iframe> has dimensions of 500px x 500px, then it should be displayed at 500px x 500px unless restricted by the dimensions of a parent container.
Check the CSS dimensions of all parent containers of your <iframe>.

The gallery will not resize dynamically in an <iframe> of fixed size as the browser has been instructed to display the <iframe> at 500px x 500px (regardless of the size of the browser window).
In order for the gallery to resize dynamically with the size of the browser window, the <iframe>'s dimensions (and those of all parent containers) should be expressed as percentages (rather than fixed pixel values).

Steven Speirs
SimpleViewer Support Team.