I'm working on a photography website. I have a Javascript, PHP and CSS installation that loads images from a directory on the server and displays any image in that folder on the site in a gallery (which works nicely with an upload script I developed). However, Internet Explorer (tested with 6&7) does not support this script, for reasons best known to itself, and I'm left with a system that works perfectly on every browser other than the most dominant. So I was thinking I would use Flash for Internet Explorer and basically do the same thing I've done with the PHP/Javascript code but with Flash, instead. So I was wondering how I'd go about doing this. Basically I need the Flash file to dynamically pull all of the images from the folder and display them inside the SWF. Does anyone know how I could do this? I know I could use XML, but this would defeat the point of me setting up the simple system for the site's owner to upload images to the server and have them appear instantly. Thank you.

3 answers

This was chosen as the best answer

There is nothing about Internet Explorer that would stop your PHP script from working (it is server-side), so it is either a problem with your CSS (unlikely) or your javascript (most likely).

You should try debugging your javascript and get it to work in IE, no need to switch to Flash.

Answered almost 8 years ago by Shaun Robinson
orta 244

This looks like something you could do just as easily with a different piece of javascript. I think nearly all flash galleries require you to create an XML feed of the images.

Answered almost 8 years ago by orta

Thanks everyone. Turns out there was a bug with the script I was using. I looked at the script's website (Dynamic Drive) and they literally updated the script the day I implemented the old version (although, they haven't updated the site to say they updated it - it just says it was updated in the script itself). All good now! Thanks for your help!

Answered almost 8 years ago by blaktornado