Topic: Adding Gallery to Drupal Site

Hello!

I've been trying to embeed my Lightroom made Juicebox Gallery into a drupal site, locally made.
The problem is that my gallery does not appear.

I have followed every step at the Support page and read the Troubleshooting info.
I have placed the folder created by juice box under /Users/.../Sites/drupal/sites/all/themes/mg/galleries

The Full HTML "article" that I created in my site consists of the following code:

<!DOCTYPE html>
<html lang="en">
        <head>
                <title>Juicebox</title>
                <meta charset="utf-8" />
                <meta name="apple-mobile-web-app-capable" content="yes" />
                <meta name="description" content="This is a Juicebox-Pro Gallery. Get yours at www.juicebox.net" />

                <style type="text/css">
                        body {
                                margin: 0px;
                                }

                        #juicebox-container {
                                margin: 0 auto;
                                }
                </style>
        </head>
        <body>

                <!--START JUICEBOX EMBED.-->
<script src="/Users/.../Sites/drupal/sites/all/themes/mg/galleries/Profile_Gallery/jbcore/juicebox.js"></script>
                <script>
                        new juicebox({
                                containerid : 'juicebox-container',
                                baseUrl : '/Users/.../Sites/drupal/sites/all/themes/mg/galleries/Profile_Gallery/',
                                backgroundColor: '#222222',
                        });

                </script>
                <div id="juicebox-container"></div>
                <!--END JUICEBOX EMBED.-->

        </body>
</html>

Any help would be appreciated.

Re: Adding Gallery to Drupal Site

If you are trying to get your gallery to work locally on your computer, try using paths such as:

baseUrl : 'file:///C:/Users/.../Sites/drupal/sites/all/themes/mg/galleries/Profile_Gallery/',

However, this will not work when uploaded to a web server (as the paths refer to locations on your own computer's hard drive to which internet users have no access).
You would need to swap the paths for relative URLs or absolute URLs such as:

baseUrl : 'http://www.example.com/Sites/drupal/sites/all/themes/mg/galleries/Profile_Gallery/',

Re: Adding Gallery to Drupal Site

Hello and sorry for the late answer.

I have just tried the URL provided and it doesn't work. ....

Re: Adding Gallery to Drupal Site

Please upload your gallery to your web server and post the URL to your gallery so that I can take a look and help further.