PixGallery for Unix
Having trouble with PixGallery? I’m a noob, but I was able to flail my way through it and get it working…
Jamie Reid who has a blog/site, http://lonelyfridge.com/ and was nice enough to let me pick and poke at his edited version of PixGallery ver 0.1.8 from here jamie_pixgallery.zip
I took Jamie’s edited version and replaced pixgallery.css and pixgallery.js with the official version http://nathanm.com/index.php/pixgallery or pixgallery 0.2.6.zip files.
I also edited this:
In pixgallery.php I commented out the “PixGallery_LayerCode”.
In pixgallery.php I commented out “add_action(’wp_footer’, ‘PixGallery_LayerCode’);”
In pixgallery.js I changed “PopupLayer.style.top = (Cursor.Y + 5) + “px”;” to
“PopupLayer.style.top = (Cursor.Y - 100) + “px”;” to make the image popup a little higher. Although, this seems to be a little unstable on first image popup.
I left all the plugin panel options defaulted, so your pictures need to be placed in: ex. /home/virtual/site24/fst/home/cote/p/images/photos/Japan
p/ is the root directory of my website/wordpress installation.
An example of my cache directory is here:
/home/virtual/site24/fst/home/cote/p/images/cache/images/photos
You may need to create your cache directories and subdirectories manually. I had some difficulties with this, but it seems to be working now. ex.
/home/virtual/site24/fst/home/cote/p/images/cache/images/photos/Japan
Again, p/ is the root directory of my website/wordpress installation, yours will be different.
Place this code in your post or page <pixgallery></pixgallery>
You may place a readme.txt file in each picture subdirectory so you may add a header to each collection.
Some problems:
Seems to breaks on images greater than 1024 regardless of what you set in the plugin control panel. All my pictures are resampled to 800×600 before uploading.
Place this code in a post for a simple image popup:
<img src=”/images/photos/Japan/DCP004572.jpg” width=”400″ class=”usePixGallery” alt=”" title=”(click to enlarge)”
onclick=”javascript:PixGallery_ImagePopupLayer(’/images/photos/Japan/DCP004572.jpg’, 800, 600, ”, this);” />
Obviously, you need to change the “/images/photos/Japan/DCP004572.jpg” to something that exists in your /images/photos/example directory.
Here is a copy of my pixgallery setup.
http://www.antifart.com/stuff/pixgallery_cote.zip
Thanks to Jamie Reid and Nathan Moinvaziri! Here is my gallery: Pictures
Here is a example of a stand alone picture (click the picture):

*UPDATE* - I no longer use Pixgalley
I now use Lightbox2 written by Lokesh Dhakar. The wordpress plugin can be found here. This plugin works very well with the popular Slickr Gallery plugin for Wordpress.
June 22nd, 2006 21:10
The picture div is loading under your site in Safari.
I’m not sure I’ve tried it with images bigger than 1024 - it made thumbnails of the few full screen shots (1920×1200) I’ve posted, but I didn’t set those to ‘pop-up’.
It took me some work to get it working the way I wanted too, but now I’m quite happy with it.
August 22nd, 2006 14:26
Hello,
I tried to install PixGallery but I’ve got somme problems to make it work.
I would be very grateful for your help.
I posted all the details on the WordPress Support forum. Here’s the address: http://wordpress.org/support/topic/57521/page/2?replies=49#post-431875
Thanks in advance!
August 22nd, 2006 20:39
Try to follow the directions exactly as outlined above. It sounds as if you are using the files from the official PixGallery and NOT the ones I posted above.