Topic: Alt-text for WP-Juicebox - SEO image Wordpress?

Hi,

When I put ALT-text in the media library for each image in the Juicebox gallery they don't show up in the front-end (HTML source).
Is there a way to realize this? I tried also plugins like WP SEO image etc... but they don't work with the Juicebox plugin.

I hope you can help me with this or maybe is there an update coming soon for WP-Juicebox.

Manually copy and paste from JuicBoxBuilder-PRO to Wordpress is not what I like to do because it is too complex for my clients who are using this on there websites.

Thanks in advance,
Mirjam

Re: Alt-text for WP-Juicebox - SEO image Wordpress?

Currently, the SEO functionality of Juicebox is available only in JuiceboxBuilder-Pro.
At the moment, there are no plans to introduce SEO functionality into the WP-Juicebox plugin.

It would be possible to include SEO data into a WP-Juicebox gallery (such as including the 'Alternative Text' in <img> tags for each image) but it would involve quite a lot of work (and a knowledge of PHP and WordPress coding).
You would need to introduce a new routine in the shortcode_handler function (in the 'wp-juicebox.php' file) which would:
(1) Get the Post ID from the current gallery's XML file.
(2) List the images attached to the post.
(3) For each image, get the URL and 'Alternative Text' (and any other data that you wanted to include) and output the data as an <img> tag and/or plain text within the 'juicebox-container' <div>.

For full functionality (and not just for Media Library galleries), there are other image sources that would need to be considered (such as the Picasa Album and NextGEN Gallery sources). The SEO routine would differ for each source.

Re: Alt-text for WP-Juicebox - SEO image Wordpress?

Hi Steven,

Thank you for your reply.

I don't know if I'm understanding this right.

I installed NextGEN and made a gallery with Title, Description and ALT-text in the NextGEN dialog.
Then I used WP-Juicebox to add the NextGEN gallery to the page/post (I selected NextGEN with ID instead of "Media Library").
When I publish the page and look at the front-end the new gallery is looking good.

But when I look at the page-source I don't see the ALT-text and also Title and Description in the scource html.

Do you mean that only the ALT-text will work when I only use NextGen and not combined with WP-juicebox?
Or do I something wrong?

Thanks again,
Mirjam

Re: Alt-text for WP-Juicebox - SEO image Wordpress?

There are two separate alt text fields: the 'Alternative Text' field from a Media Library image and the 'Alt & Title Text' from a NextGEN Gallery image.

The 'Alternative Text' field from a Media Library image is currently not used at all by WP-Juicebox.

In a Media Library-sourced Juicebox gallery, WP-Juicebox uses the 'Title' field as the Juicebox image title and the 'Caption' field as the image caption.

In a NextGEN-sourced Juicebox gallery, WP-Juicebox uses the 'Alt & Title Text' field as the Juicebox image title and the 'Description' field as the image caption.

In both cases above, the image titles and captions are stored in the gallery's XML file (not in the HTML file which contains the gallery's embedding code, which is why you do not see the text when viewing the source of the page in your browser).