Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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).

share|improve this question
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. – paulmorriss Sep 1 '11 at 14:36
What server side programming language are you using? – John Conde Sep 1 '11 at 14:41
My mistake. My question wasn't clear enough. I've edited my post. – Bruno Sep 1 '11 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. – w3dk Sep 1 '11 at 14:45

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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