The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

jQuery Flickr feed Plugin: How to open an image in new window?

  • # December 24, 2012 at 4:00 pm

    Using a jQuery Flickr Feed Plugin from

    They are using “opening image in parent window” where we can see only image and one of other option is in lightbox.

    But how can we open a flickr photo in new window while the link should be its original flickr page..

    # December 26, 2012 at 8:49 pm

    Open a link in a new window with the target attribute:

    < [a] href="//" target="_blank">Google in New Window

    Google in New Window

    For your case, you’d want to add that attribute to the template:

    limit: 14,
    qstrings: {
    id: '44802888@N04'
  • ' +
    '< [a] href="{{image_b}}" target="_blank">< [img]src="{{image_s}}" alt="{{title}}" />' + '
  • ' });

    I apologize for the braces [], as CSS-Tricks is processing the code within a code block.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed