Topic: 404 when clicking Open button

Using JB 133 with Lr5.2 on Win8.2

Strange one this, was working fine, now it isn't.

Gallery works fine when embedded in the page, all navigation doing what's expected. However, click the Open button on the Button Bar and I get a 404 not found on whatever image is displayed on the page.

Re: 404 when clicking Open button

Please post the URL to your gallery so that I can take a look.

Re: 404 when clicking Open button

Hi Steven,

Gallery URL. The site is Joomla-based.

http://www.brianwilsonphotographer.com/ … -portfolio

Regards,

Brian

Re: 404 when clicking Open button

Thank you for providing the URL to your gallery.
Your linkURLs currently look like this:

linkURL="www.streetlifephotography.co.uk"

When using absolute paths, they should start with 'http://'.
Change your linkURLs to look like the following and the links should be opened correctly.

linkURL="http://www.streetlifephotography.co.uk"

Re: 404 when clicking Open button

Hi Steven,

Your reply confused me at first as streetlifephotography.co.uk is my legacy site, not the new site I'm building, so it made me investigate where that domain name was coming from. Clearly, the config.xml file on the webserver has that name for linkURL but the only place that's come from is Lightroom.

In the Web Module of LR, the linkURL for the image was set to a text preset called Copyright URL which in turn was hardcoded as Streetlife, so I found I had to fix that first of all. Now, however, my dilemma is that I don't know what the default entry is for linkURL in LR when JB is installed into the LR Web Layout Style. I must have accidentally changed it at some point when I didn't know as much about JB as I do now.

Can you tell me what the default setting is?

Regards,


Brian

Re: 404 when clicking Open button

The default value for the linkURL is blank (empty).
If you deselect the linkURL checkbox in the 'Image Info' section of the Juicebox web module in Lightroom and rebuild your gallery (via the 'Export...' button), then the linkURLs in your gallery will be blank.

When the linkURLs are blank, Juicebox uses the imageURLs when the 'Open Image' button is clicked.
When the linkURLs are not blank, Juicebox will use them instead of the imageURLs when the 'Open Image' button is clicked.

If the linkURLs start with 'http://', then they will be treated as absolute paths.
If the linkURLs do not start with 'http://', then they will be treated as relative paths (relative to the HTML document containing the gallery's embedding code).

Re: 404 when clicking Open button

Thanks Steve, that's exactly what I wanted to know.

Brian