I’m turning off comments due to the amount of spam. Also, I’m no longer supporting this plugin. Time to move on.

Let me publish my first plugin: EasyPermGals.

EasyPermGals is based on easygals by Walter Vos. Where easygals allows you to manually activate the automatic gallery feature on a per-post/per-Page basis, EasyPermGals does this automatically. Each and every post or Page is checked for attached images which are then displayed in a neat gallery underneath.

Lightbox, if installed, may be used to view the full-size images.

After a feature request (along with a donation), I added the option to switch between manual and automatic thumbnail attachment. This allows you to define, exactly where the thumbnails are supposed to be embedded. Another request was the ability to call the automatic gallery within the theme files, so I added this as well. And since I like posts and Pages to have pretty header images, you can now upload an image, tag it with a title that includes [header] or [exclude], and the image will be shown in above the post/Page content. Obviously, [exclude] will ignore the image and not show a thumbnail in the list. This lets you use images inside your posts instead showing up in the gallery.


  • Admin options for lightbox support and style rules
  • Customizable code-bit to help optimize embedding
  • works for posts and Pages (something that was important to me)
  • Full-Auto and manual mode


See it in action throughout this site. An example of the images that are attached to a post can be seen here, and this is what it’s like when it’s a Page, that has images attached to it.

Actually, there are 2 images attached to this post

Installation is simple:

  1. Download EasyPermGals
  2. Unzip
  3. upload easypermgals.php to yoursite/wp-content/plugins directory
  4. activate
  5. customize

Like it?

Then write me an email or post a comment and tell me so, or


May 3, 2010 – **Version 1.9.2**

* Added a [noeasypermgals] option. Now, if you want to use the full-auto feature but turn it OFF for a reason, you can put this code anywhere in your post’s or Page’s content and the gallery won’t display.

December 24, 2009 – **Version 1.9.1**

* Thanks to Frank for pointing out an error due to incorrect encoding of the file. Should now be fixed.

December 22, 2009 – **Version 1.9**

* Added No-Tooltip as option. My solution to prevent ugly mouse-over tooltips did not work with all lightbox installations so I made it optional.
* Tested with WP 2.9

Febuary 18, 2009 – **Version 1.8.1**

* removed the „title“ tags for the header and thumbnail images. A lot of users mass-upload and end up with weird titles in their pictures, which don’t look pretty when you get those yellow tooltips.
* added width and height to the header image since one of my own themes didn’t like not knowing image dimensions 🙂
* realized I need to rewrite the whole thing. It’s totally inefficient and has numerous bugs, like when you have a header image attached, it will still output the „before“ and „after“ stuff you can set in the options. If this is bothering anyone, please donate. Donations motivate me to fix things 😉

November 25, 2008 – **Version 1.8**

* more template tags. I previously loaded the full size image and displayed it in a reduced size … now you can extract the medium sized pic as well.

* some bugfixes, like the missing border=0 definitions in the image tags etc.

October 27, 2008 – **Version 1.7**

* template tag with options … I needed header thumbnails 🙂

October 27, 2008 – **Version 1.62**

* Needed to call the header without the img tags, so I added a template function. This allows me to resize it to whatever I need, use as background image or whatever.
* Some other bugfix, I forgot what it was

September 7, 2008 – **Version 1.6.1**

* Found a major bug that caused malfunction when using [easypermgal] or [nogal] in the non-full-auto-mode. Works now.

August 28, 2008, later in the evening – **Version 1.6**

* Added the ability to use easypermgals in your themes. will return the list of thumbnails, will give you the header image. Actually per request from Sören

August 28, 2008 – **Version 1.5**

* Added the possibility to use [header] or [exclude] in the image title to make the image not show up automatically. The plan is to make EasyPermGals add an image that is titled with a [header] bit to show up above the post

August 19, 2008 – **Version 1.4**

* Was missing image titles, captions and descriptions … lightbox now shows captions

April 24, 2008 – **Version 1.3**

* Added the option to switch between manual and automatic mode.

April 11, 2008 – **Version 1.2**

* Admin options extended. You can now set the separating character as well as the bit of code that you may need to add before and after the EasyPermGals container.
* Also made the options menu prettier

April 10, 2008 – **Version 1.1**

* made EasyPermGals compatible with WordPress 2.5

* EasyPermGals now returns null if no image attachments exist
* released it to the world.

Remember, if you like it, send me an email, or post a comment, or

54 Gedanken zu „WordPress Plugin: EasyPermGals

  1. Hello,
    I am having the same problem as a few others had where it says I cannot modify the header information. I tried uninstalling the plug-in and reinstalling. When i did, I got this message on the plug-ins page
    „The plugin generated 3 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    When I create a new post and type something in the Title, I get this
    Warning: Cannot modify header information – headers already sent by (output started at /home/content/38/6090538/html/Handcrafted Car Audio/blog/wp-content/plugins/easypermgals/easypermgals.php:1) in /home/content/38/6090538/html/Handcrafted Car Audio/blog/wp-includes/classes.php on line 1601
    Any thoughts? I really want to get this to work, it’s the last piece of my puzzle. Thank you.

  2. bump.

    „The plugin generated 3 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.“

    subsequently, getting errors on all admin actions:
    Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/easypermgals/easypermgals.php:1) in /wp-includes/pluggable.php on line 934

  3. FIXED!

    The problem I previously commented on and described in #51 is because the page was encoded in UTF-8 and should be resaved as ANSI.



Kommentare sind geschlossen.