WordPress.org

Ready to get started?Download WordPress

Forums

Picture Gallery Question (3 posts)

  1. npannos
    Member
    Posted 5 years ago #

    Hello,

    Sometimes i will insert a gallery with thumbnail images by using the wordpress add an image icon. The code is as follows [gallery link="file" columns="1"]

    How could i make it so that when you click the thumbnail the picture opens in a blank window? I would also like to center the image. I understand target_"blank" opens in new window but i don't know where to add that in the code for the picture gallery.

    Thanks

  2. Shane G
    Member
    Posted 5 years ago #

    Hi,

    Whenever you have added the image path that should be:

    <a href="http://yoursitename/imagefilename">

    Replace it with:

    <a href="http://yoursitename/imagefilename">

    You can center the image in the post by setting the image alignment value to center in HTML code..

    Thanks,

    Shane G.

  3. npannos
    Member
    Posted 5 years ago #

    Thanks Shane, but those are both the exact same strings.

Topic Closed

This topic has been closed to new replies.

About this Topic