Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #430589

    Hi,

    some question about the lightbox, I have many photos on my page

    1. whats the right way to configure the lightbox when I have a normal blog post with more then 1 photo ?
    I want to click on one picture and the lightbox show the photo and go to another etc.

    2. only on the first picture shows the caption
    How can I set up the lightbox to show all the caption text on the different pictures?

    Thx, for some help and have a nice evening.
    FotoTobi

    #431404

    Hi FotoTobi!

    Are you using our regular image shortcode? If so then when you select the image type out some text in the title attribute and it should display in the popup. They should automatically be linking together in the popup as well.

    If that’s not correct then send us a link to the exact page so we can see what shortcodes / content your using.

    Cheers!
    Elliott

    #432416

    Hi Elliot,

    thx for your reply.
    http://www.tobiasgrimm.de/foto-adventskalender-23-dezember
    I use the normal wordpress shortcode to insert a picture and ad there a caption.
    Look at the Link, on the first picture it works but not on the others why? Can you help?

    • This reply was modified 9 years, 8 months ago by FotoTobi.
    #432710
    This reply has been marked as private.
    #433150

    Hey!

    Ok so it looks like your not using any shortcodes but your using the WordPress “Add media” button correct? If you switch to the text editor instead of the visual editor then you should see the code which should look something like this.

    [caption id="attachment_113" align="alignnone" width="300"]<a href="http://www.yoursite.com/img.png"><img class="size-medium wp-image-113" src="http://www.yoursite.com/img.png" width="300" height="200" /></a> Caption text[/caption]
    

    You’ll need to add title, alt, and rel attributes to the link so it looks like this.

    [caption id="attachment_113" align="alignnone" width="300"]<a title = "title text" alt = "alt text" rel = "lightbox" href="http://www.yoursite.com/img.png"><img class="size-medium wp-image-113" src="http://www.yoursite.com/img.png" width="300" height="200" /></a> Caption text[/caption]
    

    And they will open up in the magnific popups now and display the title text you have set.

    Or you could use our image shortcodes which does all of this automatically.

    Best regards,
    Elliott

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.