Steven wrote:

This should solve your problem.

Indeed it did. Thanks so much, that was driving me demented. I had tried every variant of the baseUrl, clearly it was the missing container that I was overlooking.

Thanks again
Al

I am satisfied that the path to juicebox.js is good - if you inspect the page in firefox, the javascript is clearly loaded.

The colsole however is rattling up error messages  - sadly I don't know what these mean... but it seems stuck in a loop - maybe someone who actually knows how to use the debugger in firefox can explain.

Thanks
Al

<!DOCTYPE html>
<html lang=en>
<title>Error 404 - Not Found</title>
<META HTTP-EQUIV="refresh" CONTENT="10;URL=http://www.thewdcc.org.uk/">

<body>
<H2>Error 404 - Page Not Found</H2>
<p>I am sorry - the page you requested: /joomla30/member_galleries/andygilbert/jbcore/juicebox.js%20line%2014%20%3E%20eval never existed or is no longer available.</p>
<p>This page will redirect to the Website's Home page in 10 seconds OR you can click <strong><a href="http://www.thewdcc.org.uk/">HERE</a></strong>.</p>
</body>
</html>
<!--
                                                                             
-->

I know there is a guide and other posts on this subject, but I'm banging my head against a brick wall.

I currently have a working gallery embedded into a basic html page (old website) (it's a Flickr gallery)

I am converting the site to a CMS based one using Joomla 3.4 so I am now trying to embed into an article. I have changed the global configuration options and TinyMCE and JCE options all to allow script tags, and indeed these are no longer stripped out when I save the article, so I believe all the config is correct.

This is what the article looks like

<p>before embed</p>
<p><img src="member_galleries/google-logo.gif" alt="" /></p>
<!--START JUICEBOX EMBED-->
<script src="member_galleries/andygilbert/jbcore/juicebox.js" type="text/javascript"></script>
<script type="text/javascript">
    new juicebox({
        baseUrl: 'member_galleries/andygilbert/',
        containerId: "juicebox-container",
        galleryWidth: "100%",
        galleryHeight: "80%",
        backgroundColor: "rgba(255,255,254,1)"
    });
</script>
<!--END JUICEBOX EMBED-->
<p>after embed</p>

I have put the img tag in there to demonstrate the the server is correctly interpreting the relative path to an image, and sure enough the google logo is displayed, so the paths seem ok.

I even put <script> alert('Hello World!'); </script> into the article to prove javascript was working and sure enough I got the pop up. Then I put that alert into a helloworld.js file in the member_galleries folder and put this in my article

<script src="member_galleries/helloworld.js" type="text/javascript"></script>

and again I got the pop up, showing again that the path seems correct.

Nonetheless, I have tried the following variations of baseUrl, both relative and absolute paths

        baseUrl: 'member_galleries/andygilbert/',
        baseUrl: '/member_galleries/andygilbert/',
        baseUrl: 'joomla30/member_galleries/andygilbert/',
        baseUrl: '/joomla30/member_galleries/andygilbert/',
        ,

and none work - (also setting the corresponding script src path to the juicebox.js with all those variants too)

There is no error message, just an absence of a gallery.


And here is the direct URL to the existing page that works fine (removed) non-Joomla version, albeit a bit slow to get started as there are a lot of images

If I use the URL directly to the index.html in the gallery (removed) this works fine, so shows that the gallery works.


I am completely stumped. Any ideas anyone?

Thanks
Al

Edited: to remove full URLs seeing as this is now solved and the URL are no longer required

4

(496 replies, posted in Juicebox-Pro Support)

I know the question has been posed before (but dated 2012 / 2013 so this may have been already requested as a feature...)

Caption text.

As you know it can be below image (width of the image) or below thumbnails (width of screen.

I want the caption displayed below the image, but this is causing lots of caption text display errors for narrow images, so ideally I want the caption width to be the same as the thumbnail bar.

I know that this is not currently possible in the config options, but it seems like such an easy thing to do I'm not sure why this isn't already in as a feature?

Thanks
Alasala
(Juicebox Pro 1.4.4.2)

5

(3 replies, posted in Juicebox-Lite Support)

I bought the Pro version. Thanks for your help

6

(3 replies, posted in Juicebox-Lite Support)

Hi,

I'm currently looking to redevelop a website for a photgraphy club I am involved with and am looking to incorporate galleries.

I really like the look of Juicebox (I'm currently trialling the lite version with a view to upgrading to Pro if I find it does what I need).

I can embed the individiual club member's Flick pages into separate galleries, which is great, but it would also be nice if I could have a gallery of the Club's Flickr Group images.

I realise that the way a group "pool" is identified is slightly different to individuals photostreams, but is there a way to have it take a feed from a group pool rather than an individual?

Thanks
Al