PDA

View Full Version : A gallery I made... any cool ideas?



StarXploser
November 14th, 2005, 12:08 AM
< REQUIRES FLASH 8 ! >

(I posted this in the actionscript forum already, so maybe someone can delete it over there)

Hi,
today I was bored so I decided to code a gallery from scratch, after a few hours of coding i got thit:

http://www.younes-design.com/test/index.html

SOURCE > www.younes-design.com/test/main.fla (http://www.younes-design.com/test/main.fla)

It's not very smooth or anything, nothing fancy.
For some reason I added some kind of a swap function to swap the images and reorder them the way you want them to be. However, I don't remember why I did it in the first place. Use the little handle on the left side of each picture to swap them.

Does anyone have any cool idea that would use this swapping funtion?

maybe I could use it to change the order of the pictures in the mySQL database. ( swap the pics and hit the "save" buttons ). because some of my customer always want to control the ordering of the pics at any moment.

Any idea would help.


ps: I'm gonna use PHP with this but right now the array of pics is entered in there manually.

phpArray = new Array("j1.JPG","j2.JPG","j3.JPG",...,"j12.JPG");

put your JPGs in a folder called "images" and put the thumbnails in "images/thumb"
obviously, PHP would create thumbs automatically but I'll do that tomorrow.

note: the coding is very messy, sorry about that.

jimhere
November 14th, 2005, 09:10 AM
As you say, if there is a way to Save the new order, that would be good. Kinda like the new Aperture (http://www.apple.com/aperture/).

Plus I like the frame draw-in.

Lujerker
November 14th, 2005, 02:30 PM
nice gallery ... congrats ... :snug:

scooterdie
November 16th, 2005, 02:59 AM
Awesome! A Few Suggestions,

1. Make the preloader for the pictures static (i know it's boring but it just works)

2. Maybe have a tooltip when the picture is done loading that says "click anywhere to close"

3. Defenately add the php support!

4. I think having a show/hide button to show or hide all the captions would be awesome!

Good Job, I look forward to seeing any changes you make.

-Davy

icio
November 16th, 2005, 06:39 AM
That's really smooth, but I think that you should decrease the height of the movie, because it doesn't fit into my screen :(

I'm running on 1024x768 at the moment.

GreenLantern
November 16th, 2005, 06:41 AM
Very nice! :thumb:

mystic82
November 16th, 2005, 08:00 AM
Very nice! I would definitly use this gallery if you added the php/xml function asap :)

StarXploser
November 16th, 2005, 03:00 PM
great, I'll keep working on it then :)
I'll post the FLA when i'm done. (I'm very busy this week, but I'll post it ASAP :) )