Search  
Search Options

XML PHOTO GALLERY

HomeBrowse CategoriesFlashApplications and UtilitiesImage ViewersXML Photo Gallery
Full_screen_preview

XML PHOTO GALLERY

XML image gallery / XML photo gallery / XML picture gallery

An easy to update XML driven photo gallery. With the XML file you can change the number of photo’s displayed, image paths, image formats and text captions. All code in self-contained with in one movie clip so easy to drag and drop into your projects. Also comes with full screen support and will allow for any stage size.

Help file & comments in the code included.

Did you find this file useful? Also see:

What’s NEW from Digital Science:

FEATURED from Digital Science:

Click here to see more files by Digital Science | View Website

Posted 11 months ago

@robaczek, you can’t put a URL on the big picture as it already has a button which triggers it to close. You’ll need to put the URL button where the caption is possibly.

Posted 9 months ago

that’s fine, the placement of the button is not important, but the code would be appreciated, so that when I buy it I can implement it straight away ;) BTW , thx for quick replay! :)

Posted 9 months ago

I’m having a small difficulty – I need to deploy this at 578px wide.

I’ve changed the size in the HTML , and also set stageW = 578 in symbol gallery_mc, frame 2. I also have to change the Flash document size to 578px wide in order to prevent the thumbnails hanging off the left side of the canvas.

However, when I load the HTML page to view the movie, the background doesn’t fill the entire stage. The thumbnails tile correctly over the 578px width, but the background image is offset to the right by about 100px.

What have I missed doing? I can provide a demo – contact me directly if needed.

Posted 9 months ago

Ok,

Found my own solution and as the creator is too busy to get back to anyone at the moment here it is for anyone that needs it…
for (i=0; i<totalPhotos; ++i) {
    //Initial onLoad variables
    this.photo_mc.duplicateMovieClip("photo_mc"+i, i);
    this["photo_mc"+i]._rotation = 10-random(20);
    loadMovie(thumb[i], this["photo_mc"+i].thumbHolder);
    this["photo_mc"+i].photo = photo[i];
    this["photo_mc"+i].txt = txt[i];
    this["photo_mc"+i].destScale = 100;
    this["photo_mc"+i].originRotation = this["photo_mc"+i]._rotation;
    //this["photo_mc"+i].originX = random(stageW-this.photo_mc._width);
    //this["photo_mc"+i].originY = random(stageH-this.photo_mc._height);
    //this["photo_mc"+i].destX = this["photo_mc"+i].originX;
    //this["photo_mc"+i].destY = this["photo_mc"+i].originY;

this.photo_mc1.destX = 0;
this.photo_mc1.destY = 0;
this.photo_mc1.originX = 0;
this.photo_mc1.originY = 0;

this.photo_mc2.destX = 50;
this.photo_mc2.destY = 0;
this.photo_mc2.originX = 50;
this.photo_mc2.originY = 0;

(continue like this for all the images you have)

Luke

Posted 9 months ago

hi, I’m very interested in buying this gallery! But i’ve seen that all the “big” images have the same size! I would do that when I clic on the thumb, gallery will open the image at original size! It’s possible with this gallery ?

I’m sorry for my english. mauro

Posted 9 months ago

munchdesign – what exactly is your solution for, since you were asking about solutions for 3 different problems? ;-)

Posted 9 months ago

Killer stuff. Keep up the good work. Thanks for answering the questions. This helps out very much when tailoring the FLA .

Posted 9 months ago

mauromazzei – you can’t have it that way, all your pictures must have the same resolution, which if that’s not hard enough must be a % of a thumbnail :) So, if your thumbs are 100×80 you can set the big ones to be 600% = 600×480.. Otherwise works like a charm, well worth the money ;)

Posted 9 months ago

This looks fantastic! Going to recommend it to a client today

Posted 8 months ago

i admire you

Posted 8 months ago

DigitalScience,

How would I make all of the photos hide instead on just the one ??? For example, here is where you tell the one photo to hide:

//Hides initital photo this.photo_mc._visible = false; stop();

Any help would be greatly appreciated.

Thanks!

Sankoesi

Posted 8 months ago

@robaczek – my solution is for setting the position of the thumbs, my other questions were too much trouble and beyond the scope of this file. I did get some response to email but ended up having to find my own solution due to time limitations – clients are like that.

Fair enough, this is a great piece of source code, if you do want to do something slightly different then make sure you have the skill set to modify the code on your own.

Luke

Posted 8 months ago

Hi, thank you for your work.

How can I set the size for the image. The point is that I´m working with a stage of 325×450 so I ned to ajust the size of the big image. The thumbs works well but the big image is too big and I can´t fine the way to reduce to fit weel in something like 310×400.

Thanks for you help,

Miguel

Posted 6 months ago

Hi, About text! Is possible to change the font color of the caption? Is possible to not include the captions?, I try to delete the “ in the .xml file but not wortks.

Thanks,

Miguel

Posted 6 months ago

HELP . We are building a small gallery, but the thumbnail images all have steps because of the angle image in flash problem. Meaning, if there is a hard edge in the image and that image is turned, it creates stairs instead of a head line.

Is there a way to set the thumbnails to smooth jpg(s)?

Posted 5 months ago

This could use some better documentation I think. It is hard for a nebie like me to find where to edit things.

Posted 5 months ago

Hey, wonderfull quality script! Man! I have buyed your photo Gallery XML , and I think it’s very simple to use. That works very fine! I have only one question: Can I load diferent imaze size? Can Photo_mc resize dinamically to show different size of image when I click a thumbnail? Thanks and Sorry for my english!!! Ciao from Spain!!!!!!

Posted 5 months ago

Hi, I have three questions in order to consider it for purchase.

1. Is it possible to remove the white frame area completely (the polaroid look) around the image? So they would look like a regular set of photos instead of polaroid style.

2. Also is it possible to use vertical or horizontal images based on their original orientation? In the sample all of the loaded ones are horizontal images.

3. Is the source FLA file available in ActionScript 3 version or only ActionScript 2?

I hope you can reply soon, I am looking forward to your response. Thanks

Posted 5 months ago

Hey all, some of you might have noticed that I haven’t been around much in the last few months due to other commitments but just letting you know that I will be going through all of your comments and will get back you in a timely manner. Thanks for your patience.

Posted 4 months ago

Hi- i have a question regarding the type. Am I able to change the font of the captions on the pictures? or is it text that is not embedded, and therefore cannot be changed? I’m having trouble locating where I would, either in the .fla or xml, i would be able to change it….any help would be appreciated!

Thanks!

Posted 4 months ago

hey roxkiki its embedded so you can change the font . But!: i have the xml file in UTF -8, I embedded special characters, but if I write special characters in the xml with , the swf isn’t showing them…

can anyone help me,??

Posted 4 months ago

Hi Ayad, concerning the special characters in XML ….in properties, next to the single, or multi line box, change your setting to “render text as html”.

I am following this thread, considering whether to buy it or not by reading the problems and comments of others to see if I will have to do a ton of more programming to use it after I buy it.

good luck.

Posted 2 months ago

When I post my swf file in my webpage I get double images. Any ideas why? I dont have the images listed twice inside the content xml page and dont have dublicate images.

Posted about 1 month ago

Hi

I would like to change the text align of the description to left. I try this mytext.textAlign = “left” but it doesn’t work.

Sommeone can help ?

Thank you

Posted 25 days ago

I would like to know how I can create a re-scatter button . At the moment I just call a gotoAndPlay for the gallery_mc . However my problem is that Images that have been viewed already stay there and become duplicates in the way. Thanks – Terry

Posted 4 days ago

Has anyone adjusted the file to load the images in a grid pattern, rather than all random? If so is there a way for digitalscience to incorporate that in a new help file?

Posted 4 days ago