WordPress.org

Support

Support » How-To and Troubleshooting » Picture Gallery Question

Picture Gallery Question

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Picture Gallery Question’ is closed to new replies.
Skip to toolbar