Jump to content
5 posts in this topic

Recommended Posts

ok, so here's the scenario: I need a flash gallery that will show a main photo, and several thumbnails underneath it. This is simple enough, but here's the catch: I need it to load all the photos from the directory the SWF is in; in other words, there can be no hardcoding of filenames.

 

So, for example, I've got a folder full of photos. I stick the SWF in it, launch it, and I've got a gallery (it loads the photos in its directory automatically).

 

Any ideas would be greatly appreciated.

Link to comment
https://www.insanelymac.com/forum/topic/70006-flash-gallery-question/
Share on other sites

yes, the site is based around php. but i need the creation of slideshows to be fully automatic. it's a newspaper website, so i want it to be that when an editor uploads photos for an article, it creates a new folder with those photos and a copy of the swf, then puts a container with the swf in the article page. the last part is easy, as is making the new folder with the photos and swf, but its' the creation of the swf itself that is difficult for me.

 

i'm open to other options as well, however. javascript?

Are PHP sessions being used? Are pictures upload during the same session?

 

You could put the image names into a session array, have the array print thumbnails of the images into overlapping div layers, then use javasacript to toggle between shots. This would do away with the Flash entirely... something far from necessary for said application.

×
×
  • Create New...