Topic: SvManager & SimpleViewer -transparent background doesn't work on embed

Hi,

I purchased SvManager & SimpleViewer Pro.
I embedded a SV galleri into an existing php page using an iframe.
I made a gallery using SvManger, downloaded it to my computer, modified with SvBuilder Pro, checked the transparent background option. Uploaded to server.
Gallery shows, but background isn't transparent.

Link: http://behrentzs.com/test/Jacob/ , click 'Portfolio'.
What should I do?? I've spent 3 hours trying to work it out.

Thanks.

Re: SvManager & SimpleViewer -transparent background doesn't work on embed

Change your embed code from 222222 to transparent.

    <!--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',
          '100%',
          '100%',
          'transparent',
          true,
          null,
          null,
          null,
          true          );
      });
    </script>
    <div id="sv-container"></div>
    <!--END SIMPLEVIEWER EMBED -->
Mike Richards
SimpleViewer Support Team.

Re: SvManager & SimpleViewer -transparent background doesn't work on embed

I did already - this is what I have in my index.html in the folder containing the gallery:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>Personal</title>
</head>
 
<body>
 
    <!--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', '100%', '100%', 'transparent', true , null, null, null, false);
    });
    </script>
    <div id="sv-container"></div>
    <!--END SIMPLEVIEWER EMBED -->
 
</body>
</html>

Still no luck..

Last edited by KasperB (2011-01-27 22:28:58)

Re: SvManager & SimpleViewer -transparent background doesn't work on embed

Edit: strange. I have (triple-checked) that the background is set to transparent when I view the file off the server (tried downloading it too). However, as soon as the gallery is rendered online, the 'transparent' gets transformed to '222222'. I tried to delete the gallery, save it again as transparent on my pc, upload it, still gets transformed. What's happening?

Have a look at the gallery directly: http://behrentzs.com/test/Jacob/svmanager/personal/

That shouldn't be the case - what do I do?

Last edited by KasperB (2011-01-28 00:47:31)

Re: SvManager & SimpleViewer -transparent background doesn't work on embed

PROBLEM SOLVED: I just rebuilt my gallery from SvManager and whoops - there it was with a transparent background.