(X) Hide this Sign up for the upcoming webinar on WCF RIA Services Validation by Brian Noyes. March 16th, 10 am PST (check your local time)
Full info | Sign up | More webinars

More from Silverlight Show

  • Daily News Digest 03/15/2011
  • Tomorrow: Free SilverlightShow Webinar - WCF RIA Services Validation
  • SilverlightCream top picks for March 7-13, 2011
  • Yet Another Podcast with Jeremy Likness
  • Windows Client Developer Roundup 063 for 3/14/2011
Skip Navigation LinksHome / News / View News

Silverlight: Handling Cross-Domain Images and Gifs

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on May 16, 2009
(0 votes)
Peter Bromberg will show you an easy way to get around cross-domain image urls and handle gif images for Silverlight.

In my travels working with Wally McClure and  David Silverlight  on the Silverlight 3 UI client for Wally's TimedTweet Azure service, I discovered that when we bring back a Twitter Timeline, all the users' profile images point to Amazon S3 storage.  There is no crossdomain.xml or clientaccesspolicy.xml file there, so all the image url requests will be denied by  Silverlight. Obviously, for better or worse, Silverlight has been trained to know that any image that doesn't come from the same domain it was served from is a baddie, unless there is an enabling policy file there. Now of course all this extra checking means extra HTTP Requests over the wire, but hey - that's progress.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 2 and 7 and type the answer here: