Topic: imageScaleMode not working

imageScaleMode

I tried adding that option after my images didn't reduce. It still wasn't doing what the preview in Dreamweaver does correctly: dynamically get smaller with the window size.

Do I need another option specified?

Thanks!

Steve



http://www.caramiadesign.com/3print/print_wine.htm

Last edited by scaramia (2011-01-10 07:50:18)

Re: imageScaleMode not working

You embed code:

    <!--START SIMPLEVIEWER EMBED -->
    <script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
    <script type="text/javascript">
    jQuery(document).ready(function () {
        SV.simpleviewer.load('sv-container', '960px', '600px', 'transparent', true );
    });
    </script>

    <div id="sv-container"></div>
    <!--END SIMPLEVIEWER EMBED -->

If you want the gallery to resize you need to use percentages instead of fixed pixels.

Mike Richards
SimpleViewer Support Team.

Re: imageScaleMode not working

use percentages instead of fixed pixels.



Yes! Thank makes sense.

Did that on the page and changed the corresponding "galleryHeight & 'Width" values in the xml code, but it still doesn't work.

??

http://www.caramiadesign.com/3print/print_wine.htm

Re: imageScaleMode not working

Take a look at our resizable layout and image scaling information here. Beyond that it could be that the SimpleViewer div is inheriting some CSS from one of your page elements.

Mike Richards
SimpleViewer Support Team.

Re: imageScaleMode not working

Thanks for your help Mike. The % worked, and it probably worked before, but the screen had to be refreshed for me to see the corrected size. It's not dynamic, as it is in the Dreamweaver preview.

Resolved!

http://www.caramiadesign.com/3print/print_wine.htm