I want to build a photo gallery (slide show) something to display pictures in a series but I dont want it sucking up tons of bandwidth to pull up the images. what is a good way of going about it.
I read somethings about XML, or would there be a ActionScript, or PHP. etc. way.
Also as a note the whole site is built in flash so want to show the images in the flash form.
Why can't you use XML with your hosting service? It is just a text file that resides in a directory. Actionscript parses it and does all the work... it shouldn't have anything to do with hosting at all.
You can do it with a straight textfile with variables as well. And its a lot less coding too.
Easiest is with no textfile and have all images named sequentially. That way you can just replace old images by uploading a new with the same name and Flash will load that instead.
A couple of days ago i made one. here is the fla and the xml file. I'm not going to send you alle the images, but if you look at the code you will see what I mean. In the scripts direcory yopu only need Titles.xml. Njoy
i want to make the gallery updatable for the client, who is comuter illiterate. so, i want them to just be able to upload the file and i'll already have the script and everything in there, plus save on load time.
diedtje- i tried to download and open but it said, "failed to open the document" it says that with every download i get from Flashkit. even from the tutorials and everything. so i couldn't see it.
if it's not too much trouble. maybe you could just email me the plain .fla file. cause i got the rest. hue@we3kings.net
or maybe somebody could point me in an xml direction.
thanks.
I create custom galleries for photographers. I dont even use txt/xml files. I created a custom PHP file that recursively scans a folder and returns a flash array of every jpg that exists. I found that when you use text files, it can (after time) get messed up, and 1 or 2 images might bugger up if the user is constantly adding/deleting images. My method will accuratly display the images no matter how dynamic the website is.
This is a recent gallery I have been working on, Im adding "comments" now. But till then you can get an idea of what a user can do
<url removed>
Let me know if this is what you are looking for.
Last edited by untitledskate; 06-02-2004 at 02:55 PM.
I am making xml galleries and there is no mess up. The client never needs to touch the swf. here are two examples i recently made:
In this example there are still some textfiles missing, which I have to add, that is why some pictures giv a strange text http://www.lindawalsh.org/
Ok, someone on this board is a sicko... I posted that public link to my gallery only to find somebody erased all my images for weird gay bondage pictures... Thanks for taking advantage of a sample gallery.
On another note, there were like 50 images removed... which means somebody sat there and clicked delete file 50 times.. then procceeded to upload this weird gay porn to my server... I was being over friendly giving server access but usually the flashkit community is cool like that. If you are reading this.. get off our board and post your gay porn elsewhere!
PM if you want a link to the gallery
Last edited by untitledskate; 06-02-2004 at 03:26 PM.