Flash Gallery

License

This application is developed by Reality Software and released by Flash Gallery under the Creative Commons Attribution 3.0 license, which means you can use it in any way you want provided you keep our links intact.
Don't want our links in the script? You can support this project by purchasing a paid version.

What's included

Installation tips

Step 1

Copy all files to your webserver and try running flashgallery.html. You should be able to view demo images. If it works, then move to the next step.
Note: Your server should support PHP for this script to work with local images.

Step 2

You need to embed the gallery into your webpages. You can copy and paste code from flashgallery.html or from here.
Note: You can change location of files in the following code. The path can be relative or absolute (except for img folder, which should always be relative to PHP script).

Add this to the head of your webpage:
<!-- Location of javascript. -->
<script language="javascript" type="text/javascript" src="swfobject.js" ></script>


Add this to the body of your webpage, where you want gallery to appear:
<!-- Div that contains gallery. -->
<div id="gallery" align="center">
<h1>No flash player!</h1>
<p>It looks like you don't have flash player installed. <a href="http://www.macromedia.com/go/getflashplayer" >Click here</a> to go to Macromedia download page.</p>
</div>

<!-- Script that embeds gallery. -->
<script language="javascript" type="text/javascript">
var so = new SWFObject("flashgallery.swf", "gallery", "800", "600", "8"); // Location of SWF file. You can change gallery width and height here (using pixels or percents).
so.addParam("quality", "high");
so.addParam("allowFullScreen", "true");
so.addParam("wmode", "transparent");
so.addVariable("content_path","img"); // Location of a folder with JPG and PNG files (relative to PHP script).
so.addVariable("color_path","default.xml"); // Location of XML file with settings.
so.addVariable("script_path","flashgallery.php"); // Location of PHP script.
so.write("gallery");
</script>


Note: You can change gallery width and height (using pixels or percents).

Add this somewhere in the body of your webpage:
<!--
Please place this link anywhere on the page that uses Flash Gallery.
You can style it anyway you want, but do not change or delete it.
Read the license! Thanks. :-)
-->
Powered by <a href="http://www.flash-gallery.org">Flash Gallery</a>

Step 3

Upload your JPG and PNG files to img folder.

Customizing gallery

You can customize gallery looks in default.xml by changing the following variables:

background_colorOverall background color (can be set to "transparent")
picture_colorMain picture border color
text_colorText color
btn_colorNext-previous buttons color (this color is always semi-transparent)
btn_arrow_colorNext-previous buttons arrows color
btn_over_colorMouseover next-previous buttons color
btn_arrow_over_colorMouseover next-previous buttons arrows color
scroll_colorScroll buttons color
scroll_arrow_colorScroll buttons arrows color
scroll_over_colorMouseover scroll buttons color
scroll_arrow_over_colorMouseover scroll buttons arrows color
thumb_colorThumbnails border color
thumb_over_colorMouseover and current thumbnails border color
textShow text (on, off)
fullscreen_iconShow fullscreen icon (on, off)
slideshow_iconShow slideshow icon (on, off)
slideshow_autostartStart slideshow on page load (on, off)
slideshow_delayDelay between slides (from 1 to 9)

Support

Please do not hesitate to contact us if you have any questions or suggestions or if you want to report a bug.