Topic: alt title not showing

Hi Steven,

I have exactly the same problem too. I have the pro version and im using the javascript implementation method like described here:
http://www.juicebox.net/support/embedding/

To this javascript i added the option --> addSEOContent: "true"  like described here:
http://www.juicebox.net/support/config_options/


example part of my config.xml:

<juiceboxgallery
    shareFacebook="true"
    firstImageIndex="0"
    galleryTitle="Limikolen">
            
<image imageURL="images/IMG_1551.jpg" thumbURL="thumbs/IMG_1551.jpg" linkURL="" linkTarget="_blank">
            <title><![CDATA[Flussuferläufer]]></title>
            <caption><![CDATA[]]></caption>
            </image>

....

You can see, the title is "Flussuferläufer"


When im analysing what juicebox do (javascript implementation and index.html version):


<div class="jb-dt-main-image" style="position:absolute;top:0px;left:265px;height:678px;width:1016px;padding:0;overflow:hidden;border:none;box-shadow: 0px 0px 10px rgba(0, 0, 0, .4);">
             <img alt="galleries/limikolen/images/IMG_1551.jpg" src="galleries/limikolen/images/IMG_1551.jpg" style="height: 678.4px; width: auto; -moz-user-select: none;">
</div>

You see, the alt="" is the same as src="" .  Juicebox isn't using the <title> tag out of the config.xml.

How can i fix that?

Re: alt title not showing

JuiceboxBuilder-Pro's 'Add SEO Content' functionality adds SEO code to the gallery's 'index.html' file (and to the embedding code presented on the 'Publish' tab which you can copy and paste if you want to embed your gallery into an existing web page alongside other content).

The SEO code is not included in the HTML code which is generated dynamically by the 'juicebox.js' file when the gallery is displayed.

The SEO code is included in the embedding code (inside the 'juicebox-container' <div>) so that it can be seen by web bots crawling the internet and also by viewing the source of the web page in a browser (but not by inspecting the dynamically generated code via a browser's developer tools).

'Add SEO Content' is a feature of JuiceboxBuilder-Pro only. The SEO code must be generated whist creating the gallery and before the gallery can be displayed. As such, 'Add SEO Content' is not a configuration option that can be added to a gallery's XML file. (It is used only by JuiceboxBuilder-Pro when creating a gallery and is not recognised by the 'juicebox.js' file when a gallery is displayed.)

I hope this helps to clarify things.

[Post moved to keep cases separate.]

Re: alt title not showing

Hi Steven,

Your answer is clarify the things, but is not a solution.
If the gallery-creator and the website-creator is the same person, your right, then you can use the index.html variant.

But if the gallery-creator and the website-creator are different persons, then you have to use the javascript variant to be sure that all the gallery settings are correct. You couldn't trust the gallery-creator (Photographer / Lightroom Plugin) that he is doing all the settings right. A photographer has photo knowhow. No SEO and website creation knowhow.


Additionally, the above described bug (alt="Path") instead of (alt="Picture-Title"), has asolutely nothing to do with SEO. This is a generally bug you have.
Writing a path to an alt of an img is wrong. If you couldn't fill in the title/description of the picture there, better let the alt="" empty.
Better have no results at google than having ugly results like that:

Libellen - miss-iso.ch
miss-iso.ch/index.php?page=libellen
galleries/libellen/thumbs/Libelle_Morgentau-3855.jpg. galleries/libellen/thumbs/Libelle_Morgentau_von_vorne-3888.jpg. galleries/libellen/thumbs/IMG_0433.


Thanks for creating a version 1.4.4 where no path is used in alt of <img>.

Re: alt title not showing

It's not technically a bug (although I understand what you are saying).
The dynamically generated code is valid HTML 5 and is unconnected to JuiceboxBuilder-Pro's 'Add SEO Content' functionality which works as documented here.

Also, as noted in this Google Developers Webmasters support page: https://developers.google.com/webmaster … learn-more

... crawlers are not able to see any content that is created dynamically.

... so the code you are referring to will not be seen by web crawlers and will have no effect on SEO. Web crawlers will see only what you see when you view the source of the web page unless you explicitly provide HTML snapshots of dynamically generated content on your web server. (An HTML snapshot is all the content that appears on the page after the JavaScript has been executed.)

Thanks for creating a version 1.4.4 where no path is used in alt of <img>.

I would encourage you to post feedback and suggestions for future versions in the Feature Requests forum thread.
This keeps all the ideas together and ensures that they are not overlooked by the developers. Thank you.

Re: alt title not showing

What Google has in the webmaster tools documentation, and what google is really doing, are different things :)

Read here:
http://googlewebmastercentral.blogspot. … etter.html

Ok, i will post it in future requests.

Thanks for your answers.

Re: alt title not showing

Thank you for the link.
I'll let the developers know (but I would still recommend that you post any suggestions in the Feature Requests thread so they do not get lost).