Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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
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. –  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. –  w3d Sep 1 '11 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.

share|improve this answer

Your Answer

 
discard

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.