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

sagar.panpatil's Avatar


07 May, 2021 06:50 AM

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.


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

    Dmytro Semenov's Avatar


    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>

    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

    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:

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

    Dmytro 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


? 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