I'd like to display some photos with flickr on my website which could change dynamically

<iframe align=center src=http://www.flickr.com/slideShow/index.gne?user_id=my_id&tags=Grenoble frameBorder=0 width=500 scrolling=no height=500></iframe>

In this example my tag is Grenoble (a city). What I'd like is to be able do change that tag (to New York or Chicago for example) even if I don't have pictures with this tag.

(The aim of this is to display photos according to a city variable).

  • 2
    Does flickr.com/slideShow/index.gne?user_id=my_id&tags=Grenoble display anything. Have you tried putting quotes around the attribute, e.g. align="center" src="http..." etc. Sep 1, 2011 at 14:36
  • What server side programming language are you using?
    – John Conde
    Sep 1, 2011 at 14:41
  • My mistake. My question wasn't clear enough. I've edited my post.
    – Bruno
    Sep 1, 2011 at 14:43
  • As @paulmorriss says, you must put quotes around your attribute values. Without the double quotes, the '/' (forward slash) in the src URL will break the HTML.
    – MrWhite
    Sep 1, 2011 at 14:45

1 Answer 1


You will have far more success if you use the Flickr API. That page also has working code in many different server side programming languages to help get you off to a good start.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.