How to add alt tag to gallery-thumb version of royal slider

sagar.panpatil's Avatar

sagar.panpatil

07 May, 2021 06:50 AM

Hi,
we want to add alt tag for our product images in royal slider. we want to add alt tag for both big image and thumb.
Could you please help us regarding this? here is below url of site.

https://www.weightworld.uk/vitamin-c-and-zinc-gummies.html

Thanks.

  1. Support Staff 1 Posted by Dmitry Semenov on 07 May, 2021 10:46 AM

    Dmitry Semenov's Avatar

    Hello,

    You may use markup like:

        <div class="rsContent">
            <img class="rsImg" src="image.jpg" alt="image alt" />
            <div class="rsTmb"><img src="thumb-image.jpg" alt="thumbnail alt" /></div>
        </div>
    

    If you wanna add alt attribute dynamically - use rsAfterContentSet event.

  2. 2 Posted by sagar.panpatil on 03 Jun, 2021 02:26 PM

    sagar.panpatil's Avatar

    Hi,
    Thanks for help.
    We are facing another issue after use above structure. When we load page thumbs position left then move to center. could you please help us, why is it happening?
    Here is the url of the page:
    https://www.weightworld.uk/vitamin-c-and-zinc-gummies.html
    Thanks.

  3. Support Staff 3 Posted by Dmitry Semenov on 04 Jun, 2021 03:39 PM

    Dmitry Semenov's Avatar

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac