Topic: how to display images from Amazon S3

I store all my images on Amazon's AWS service.

Do you have any examples of how I can get SimpleViwer-Pro V2 to pull the images and display them.

Thanks
Jim

Re: how to display images from Amazon S3

Edit the gallery.xml so that it points to the images and set up a crossdomain.xml.

Mike Richards
SimpleViewer Support Team.

Re: how to display images from Amazon S3

Works great, thanks.

Re: how to display images from Amazon S3

I have made a few more customizations.

I am loading the images using gallery.php (as xml file) so I can pull them from a database.

The only problem I'm having is it seems to hang on the second thumbnail
and the main image doesn't load. Once you start clicking on a thumbnail, then
some images load.

http://www.jimmacdonald.biz/web/index.html
http://www.jimmacdonald.biz/web/gallery.php

Any ideas why this is happening?

Re: how to display images from Amazon S3

Looks like you are hitting some cross domain security issues since the SWF is on a different domain than the images. See here for details on Flash loading images from amazon s3: http://www.neurofuzzy.net/2008/08/27/fl … amazon-s3/

One solution would be to host the SWF file on S3.

Felix Turner
SimpleViewer Support Team.

Re: how to display images from Amazon S3

Yes, that was the problem, but I used a different crossdomain.xml to make it work.

I still host the SWF on my domain though.

I used the code from step 9 on this page and it loads incredibly fast now:
http://developer.amazonwebservices.com/ … nalID=2011


Thanks for your help.

Jim

Last edited by mjim (2010-03-09 06:53:27)