post: | WordPress-Plugin: ExZo v0.4 | mod: |
14.Jan.07 | 16.Jan.08 |
The Short
If you are already familiar with this and this, jump straight to the download section below.The Long Story
DISCLAIMER: This is not for the faint-hearted! Please read requirements before starting. |
The Good News
Using these simple tags:[exzo url="" title="" id=""]image.jpg[/exzo]
while running the plug-in will provide this output
Title | The Dream |
Cam&Lens | D200 (NIKON) & 17.0-55.0 mm f/2.8 | Shutter: | 1/160 s | |||
Create Date: | 01.jan.2007 16:26:50 | Aperture: | f/6.3 | |||
Location: | 44° 10' 2.7" N, 8° 20' 33.3" E, 5m | ISO: | 100 | |||
Image Number: | 7505 | Focal Length: | 26 mm |
inline-uploading.php
appropriately, you wouln’t have to type anything if you use the inline uploading feature of WordPress.
The Good News » What It Does (more details)
You have some options while using this filter. If you supply an url, the image will be linked to that url (all except the magnifying glass at the upper left, which will always enlarge the picture if possible). If no url is supplied (i.e.url=""
), the whole image will be linked to the larger image (if available). If there’s no thumbnail file the zoom function will be disabled (you’ll see no loupe) and the whole picture is either linked to the url (if supplied) or static with no interaction.Further Options: by setting the appropriate values, you can determine whether missing title or Exif will be display or not:
$SHOW_EXIF=2; // 0 = OFF, 1 = ON, IF AVAILABLE, 2 = ALWAYS ON
$SHOW_TITLE=2; // 0 = OFF, 1 = ON, IF AVAILABLE, 2 = ALWAYS ON
You might also want to change these two to suit your needs:
$AUTHOR_EMAIL='tmb@vimagic.de';
$AUTHOR_TEXT='tmb@vimagic.de';
Finally, if you use
TMB_PERM
as url, the picture will be linked to the perma-link of the blog entry.
The Bad News aka Requirements
Due to my lacking php skills I wasn’t able to access the Exif without using the PerlImage::ExifTool
module. Which of course means, that if you want this plug-in to work Setup
Once you are through the above mentioned steps of 1) checking that you have a working Perl environment on your web server 2*) installing the Image::ExifTool module and 3*) installing the Zend Technologies Perl extension for PHP, you can download the plug-in here. Unpack into the appropriate directory, activate and pray to the WordPress Gods, that it won’t delete your whole blog (when was your last backup?) * might require root privileges on you webserver.Setup » Modifying the inline-uploading.php
If you are using the WordPress web environment to write post and or upload pictures, you might want to modify thewordpress/wp-admin/inline-uploading.php
file. See lines 248-255 as well as lines 441-442 of my file (2.0.5 version). Remember two things:
1) always backup before changing file
2) you’ll need to reapply the changes with each version change of WordPress.Note: beware of the changes in lines 87-100 as well. If you want to modify the image size for your thumnails you can do so here.
Hey,
I love what you’e doing!
Don’t ever change and best of luck.
Raymon W.
Thank You
Hi,
I found your blog via google by accident and have to admit that youve a really interesting blog 🙂
Just saved your feed in my reader, have a nice day 🙂