Title: Flash Gallery
Author: ulfben
Published: <strong>27 มิถุนายน 2009</strong>
Last modified: 4 มกราคม 2012

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/flash-gallery.svg)

# Flash Gallery

 By [ulfben](https://profiles.wordpress.org/ulfben/)

[Download](https://downloads.wordpress.org/plugin/flash-gallery.1.4.1.zip)

 * [Details](https://th.wordpress.org/plugins/flash-gallery/#description)
 * [Reviews](https://th.wordpress.org/plugins/flash-gallery/#reviews)
 *  [Installation](https://th.wordpress.org/plugins/flash-gallery/#installation)
 * [Development](https://th.wordpress.org/plugins/flash-gallery/#developers)

 [Support](https://wordpress.org/support/plugin/flash-gallery/)

## Description

The Flash Gallery plugin lets you turn your ordinary galleries into awesome image
walls, with support for multiple albums per post, full screen viewing and slideshows.

It is _especially_ usefull for when you have _lots_ of images in a post, or want
to present images sorted into separate albums.
 Here’s [an example with 175 images](http://game.hgo.se/blog/gotland-game-awards-2010/).

I use the Flash Gallery primarily to controll the height of my posts. Whenever there
would be more than 4 rows of thumbnails I replace the ordinary `[gallery]` with 
a `[flashgallery]`. You can [browse through the archives here](http://game.hgo.se/cat/projects/)
to see how that works.

If you value [my plugins](https://profiles.wordpress.org/users/ulfben/), please 
help me out by [Flattr-ing them](http://flattr.com/thing/367557/Support-my-WordPress-plugins)!
Or perhaps [send me a book](http://www.amazon.com/gp/registry/wishlist/2QB6SQ5XX2U0N/105-3209188-5640446?reveal=unpurchased&filter=all&sort=priority&layout=standard&x=11&y=10)?
Used ones are fine! 🙂

_//[Ulf Benjaminsson](https://profiles.wordpress.org/users/ulfben/)_

#### Flash Gallery supports:

 * full screen viewing
 * slideshow
 * multiple albums/categories per post
 * [deep Linking](http://game.hgo.se/blog/gamescom-2010/#/gamescom-2010/dsc_7722.jpg)(
   scroll down…) 🙂
 * RSS-readers
 * mouse- & keyboard interaction
 * configurable gallery background, logo and highlight color.
 * being enabled / disabled by the visitor, at any time.
 * right-click menu with _“open image in new tab”_ and _“copy image url”_
 * complete fallback for Flash and JS-less browsers.

#### Changes in 1.4.1 (2011-12-28)

 1. Sanitize URLs (cleaner, shorter links)
 2. Keep multiple instances on same page from fighting over the URL
 3. [Rewrote scaling routine to fix edge cases](https://wordpress.org/support/topic/square-images-cropped-in-fullscreen?replies=10)
 4. Cleaned up some PHP error notifications
 5. Stopped forcing the Google CDN for SWFObject

#### Changes in 1.4 (2010-10-25)

 1. _Halved the amount of markup generated!_
 2. Fixed no-flash fallback
 3. Rewrote Flash-toggle to use query params instead of cookies
 4. Less JS, less HTML, less work – more speed all around!

#### Changes in 1.3.4 (2010-10-24)

 1. Added support for keyboard input in fullscreen
 2. _Only includes scripts if gallery is used on current page_ (performance!)
 3. Removed [black backing of thumbnails](https://wordpress.org/support/topic/plugin-flash-gallery-thumbnail-black-border?replies=1)
 4. Updated FLA to Flash CS5
 5. Flash Gallery now requires [Flash 10 or newer](http://www.adobe.com/products/flashplayer/)!
 6. Added error catching to avoid scripts blowing up on errors

[Older changelogs moved here](https://wordpress.org/extend/plugins/flash-gallery/changelog/).

The included FLA-source is a heavily modified version of [Jerald Zhan’s](http://www.zcube.sg)
stock [zGallery](http://flashden.net/item/zgallery-v1-fit-2-screen-xml-gallery/43071).

Jerald graciously allowed me to distribute the modified source for everyone to benifit
from the improvements:

 * WordPress integration
 * deep linking supports
 * scaling options (fit, fill, no scaling)
 * mouse- & keyboard interaction
 * exposing all practical settings to flashvars
 * various tweaks and fixes

Copyright (C) 2009-2012 Ulf Benjaminsson (my first name at ulfben dot com).

This program is free software; you can redistribute it and/or modify
 it under the
terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
 but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
 along with this
program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite
330, Boston, MA 02111-1307 USA

## Screenshots

 * [[
 * Full screen gallery view, with the Album-selector opened.
 * [[
 * Gallery view as seen in a post (before entering full screen mode)
 * [[
 * Single-image view.

## Installation

 1. Unzip to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use [flashgallery] instead of [gallery] in your posts.

#### Usage

Upload your images [like usual](https://wordpress.org/extend/plugins/flash-gallery/faq/),
but use the [flashgallery]-shortcode instead of [gallery].

[For configuration, see Frequently Asked Questions](https://wordpress.org/extend/plugins/flash-gallery/faq/).

## FAQ

  How do I configure Flash Gallery?

All settings are optional, and made through the shortcode syntax.

Here’s an example that will display a gallery with five rows, 650px high, and 3 
Albums with 10 images in each:

    ```
        [flashgallery orderby="ID" rows="5" height="650px" albums="Prep_10 % Exhibit_10 % Presentations_10"]
    ```

It’s nothing fancy – a title, an underscore and the number of images you want to
put in that album. Separate each album with “%”. So if there’s 100 images attached
to a post and you do;

    ```
    [flashgallery albums="First Album_50 % Second_25 % Third_25"]
    ```

You’d get three albums, “First Album” would get the first 50 images of the post,“
Second” would display the next 25 and “Third” would display the last 25.

All the regular `[gallery]` parameters still apply (‘cept for columns), and you’ve
got these extra to play with:

 * `cats = "Album1_12 % Album2_33 % Album3_66"`: **deprecated since 1.3, use `albums`
   instead**
 * `albums = "Title1_10 % Another Title_20"`: _two albums, and their image count_
 * `height = "400px"`, “100%”
 * `hidetoggle = "false"`: _true to not show the toggle gallery-link._
 * `delay = "3"`: _time to display images in slideshow, in seconds._
 * `exclude = "39,42"`: _exclude images with ID 39 & 42_
 * `rows = "3"`: _number of rows in the gallery thumbnail view._
 * `background = "background.jpg"`: _URL to high-rez background_
 * `logo = "logo.png"`: _URL to logo_
 * `transparent = "false"`: _set flash’s wmode_
 * `scaling = "fill"`, “fit” or “noscale”: _how images are scaled when displayed(
   default: fit)_
 * `thumbsize = "110"`: _size (in pixels) of thumbnails_ **ignored. gallery auto-
   senses thumbsize since 1.3**
 * `color = '0xFF0099'`: _color of the interface highlights_
 * `usescroll = 'true'`: _enable browsing by scrollwheel_
 * `showtitles = 'false'`: _display picture title over thumbnail_
 * `allowdownload = 'true'`: _give option to download image from right-click menu_
 * `rowmajor = 'false'`: _arrange thumbs in column order or row order? (eg. top-
   to-bottom or left-to-right)_
 * `animate = 'true'`: _let thumbs fly into position_

Notice that color is a hexadecimal value with the `0x`-prefix, not `#` as is common
in CSS and web development.

  My thumbnails overlap / look wierd / behaves badly

Flash Gallery assumes you’ve got square thumbnails – same width as height. Make 
sure you’ve checked “`Crop thumbnail to exact dimensions`” in WordPress Admin ->
Media.

You can run [Regenerate Thumbnails](https://wordpress.org/extend/plugins/regenerate-thumbnails/)
to apply your new settings to all images you’ve uploaded.

  Where’s the FLA-source?

[In the development version](https://wordpress.org/extend/plugins/flash-gallery/download/).

  How do I create WordPress galleries?

Use the built-in media uploader to create and insert galleries in your posts. See
[the screencast](https://wordpress.org/development/2008/03/wordpress-25-rc2/) (at
01:35), or [read the instructions](https://codex.wordpress.org/Using_Images#Inserting_Images_into_Posts).

  How do I ask for help?

 1. Search [the forums](https://wordpress.org/tags/flash-gallery?forum_id=10) and post
    in a relevant thread if one exists.
 2. Always tag your post with `Flash Gallery`
 3. State your problem succintly, _provide a link_!
 4. Always tag your post `resolved` and publish your solution.

  Can I help you in any way?

Absolutely! Please help me out by [Flattr-ing my plugins](http://flattr.com/thing/367557/Support-my-WordPress-plugins),
or [send me a book](http://www.amazon.com/gp/registry/wishlist/2QB6SQ5XX2U0N/105-3209188-5640446?reveal=unpurchased&filter=all&sort=priority&layout=standard&x=11&y=10)?
Used ones are fine! 🙂

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Flash Gallery” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ ulfben ](https://profiles.wordpress.org/ulfben/)

[Translate “Flash Gallery” into your language.](https://translate.wordpress.org/projects/wp-plugins/flash-gallery)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/flash-gallery/), check
out the [SVN repository](https://plugins.svn.wordpress.org/flash-gallery/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/flash-gallery/) 
by [RSS](https://plugins.trac.wordpress.org/log/flash-gallery/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### Changes in 1.4 (2010-10-25)

 1. Halved the amount of markup generated!
 2. Fixed no-flash fallback
 3. Rewrote Flash-toggle to use query params instead of cookies
 4. Less JS, less HTML, less work – more speed all around!

#### Changes in 1.3.4 (2010-10-24)

 1. Added support for keyboard input in fullscreen
 2. Will only include scripts if gallery is used on current page (performance!)
 3. Removed [black backing of thumbnails](https://wordpress.org/support/topic/plugin-flash-gallery-thumbnail-black-border?replies=1)
 4. Updated FLA to Flash CS5
 5. Flash Gallery now requires [Flash 10 or newer](http://www.adobe.com/products/flashplayer/)!
 6. Added error catching to avoid scripts blowing up on errors

#### Changes in 1.3.3 (2010-07-29)

 1. Added “hidetoggle”-parameter to hide the gallery toggle link
 2. Avoid dry runs of the filter (performance)

#### 1.3.2 (2010-07-05)

 1. Fix for 1.3.1 breaking the rich text editor.
 2. Added “delay”-parameter to set slideshow speed.
 3. Improved thumbsize detection.

#### 1.3.1 (2010-07-04)

 1.  Halfed the gallery size (113KB to 50KB!)
 2.  The gallery sleeps (consumes no CPU) when the mouse leaves.
 3.  Proper fallback for visitors lacking javascript or Flash.
 4.  “Enable / Disable”-option for visitors to revert to the ordinary gallery at any
     time.
 5.  Right-click menu now features _“open image in new tab”_ and _“copy image url”_.
 6.  Gallery auto-detects thumbnail size.
 7.  Scaling option “fit” now considers menubar, to avoid cropping the image.
 8.  Upgraded scripts to SWFObject 2 and SWFAdress 2.4
 9.  All scripts moved to site footer – allowing page to render before downloading 
     the flash gallery.
 10. [Lots of new options](https://wordpress.org/extend/plugins/flash-gallery/faq/).

#### 1.0 (2009-06-27)

 1. Initial release

## Meta

 *  Version **1.4.1**
 *  Last updated **14 ปี ago**
 *  Active installations **200+**
 *  WordPress version ** 3.3 or higher **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/flash-gallery/)
 * Tags
 * [flash](https://th.wordpress.org/plugins/tags/flash/)[gallery](https://th.wordpress.org/plugins/tags/gallery/)
   [slideshow](https://th.wordpress.org/plugins/tags/slideshow/)[Wall](https://th.wordpress.org/plugins/tags/wall/)
 *  [Advanced View](https://th.wordpress.org/plugins/flash-gallery/advanced/)

## Ratings

 2.5 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/flash-gallery/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/flash-gallery/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/flash-gallery/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/flash-gallery/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/flash-gallery/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/flash-gallery/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/flash-gallery/reviews/)

## Contributors

 *   [ ulfben ](https://profiles.wordpress.org/ulfben/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/flash-gallery/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://amzn.com/w/2QB6SQ5XX2U0N)