Flickr Image Shortcode

  • Unknown's avatar

    I’d really like to see a shortcode option for adding an image from flickr to a WP post. Something along the lines of
    [flickr image=????]

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    @dkadish, While it’s a nice idea, flickr has their own Community Guidelines which require you to link back to the original photo on flickr as a part of your image. Check this out. http://www.flickr.com/guidelines.gne specifically

    flickr provides the HTML code for use where the photographer has enabled sharing of their images.

  • Unknown's avatar

    Shortcodes allow you to embed complex objects that would normally require types of code you’re not allowed to use (javascript and iframes). In the case of a Flickr image, If the photographer hasn’t disabled sharing, you just click Share, copy the HTML and paste it in the HTML post editor. So what use would a shortcode be?

  • Unknown's avatar

    I was thinking more for photos that I have on my own flickr account. It would just save some copy-pasting if I could write something like [flickr image=4149125712] instead of <a href="http://www.flickr.com/photos/dkadish/4149125712/" title="IMG_4183.JPG by dkadish, on Flickr"><img src="http://farm3.static.flickr.com/2697/4149125712_e712b19b08.jpg" width="500" height="281" alt="IMG_4183.JPG" /></a> and then it would link back to the original image in the way the Flickr requests it.

  • Unknown's avatar

    I second dkadish! The shortcode should handle both. And if there’s a concern about whether or not the item is available/visible for use — hasn’t that issue already been handled with the use of video in the Flickr shortcode?

  • Unknown's avatar

    It seems we can already embed flickr images and slideshows if you have enabled auto-embeds in your Dashboard>Settings>Media settings.

    Just like dropping in a link from youtube, you can drop the link URL from a flickr photo page, making sure it is not “highlighted” as a link, save and the photo should appear in your post, linked back to its source on flickr.

  • Unknown's avatar

    Thanks, justjennifer! That’s exactly what I was looking for. Didn’t know you could do that!

  • The topic ‘Flickr Image Shortcode’ is closed to new replies.