WordPress.org

Ready to get started?Download WordPress

Forums

Open Image In A New Window (6 posts)

  1. kitchenw
    Member
    Posted 5 years ago #

    I can't make my image link open in a new window.
    I managed to do it with a normal text link by inserting the code target="_blank", but when I insert this code to my image link, it just disappears.
    This is the site:
    Kitchenaid Stand Mixer

  2. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    You're in luck. I just saw the plugin Open Picture Window, nice one. Cheers.

  3. kitchenw
    Member
    Posted 5 years ago #

    Thanks mercime.
    I actually came across this plugin, but it opens in a new small window (like a pop-up) which could be offensive to some people.
    Perhaps I should have made it clearer in my first post. What I need is for the link to open in a new tab (and for browsers that don't support tab, a new window).

  4. tjobbe
    Member
    Posted 5 years ago #

    Have just downloaded and attempted to instal this and I got the following message when I activate it:

    Parse error: syntax error, unexpected '}' in /home/ribs4u/public_html/wp-content/plugins/ald-openimagewindow/quicktag.inc.php on line 5

  5. tjobbe
    Member
    Posted 5 years ago #

    All i did was removed line five - it was a commented line s wasn't actually needed - and it worked.

  6. SandyG
    Member
    Posted 5 years ago #

    Hello Kitchenw,

    Yuo can set as image to open in new window via below metnioned steps:

    1) Insert image in write post from add media section.
    2) Select inserted Image from post area.
    3) Click on insert/edit link [altr + shift + A].
    4) Enter Image URL and select the option upon requirement for open the image like open image in new window, open image in same window.
    5) Apply and save changes.

    Thanks,

    Sandeep Gandhi

Topic Closed

This topic has been closed to new replies.

About this Topic