WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Exif & Zoom

Displays Images (JPG), the corresponding Exif (if available) and provides zoom functionality (based on Lightbox).

Usage

Using this simple token in your post: [exzo url="" title="title"]image.jpg[/exzo] while running the plug-in will provide the standard output (title, image and exif). 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.

As of version v0.b6.5 it's possible to use the token [exif img="image.jpg] to display the Exif only.

As of version v0.b7.2 it's possible to show the image and suppress the exif output using [zonoex url="" title=""]image.jpg[/zonoex]

Templates

As of v0.b6 you can write your own template for the Title and the Exif section. For example the template for my title looks like this:

Title     %title%

Notice the token words %tableWidth% and %title%. See the next section for a small token overview.

Usable Tokens

There's quite a few tokens that are theoretically possible. Some are dependent on the values set in the admin panel, others are basic EXIF and yet others are EXIF written by software like Photoshop.

admin panel tokens

  • %title% - will be substituted for the tile of the image
  • %tableWidth% - width of the table for title/exif-table container (function of image size, border and minimal table size)
  • %tableWidth+/-n% - basic algebraic manipulation of the table width (adding OR substraction n pix from the table width)
  • %PERMALINK% - will get substituted by the permalink of the post/page of the picture

standard EXIF

the following tokens are standard EXIF tags. Most are self explanatory - I've still added the value of each tag from my sample picture.

  • %APERTURE% - f/6.3
  • %ARTIST% - Thomas M. Bösel
  • %CAM% - D200
  • %COLOR_SPACE% - Uncalibrated
  • %COMPRESSION% - Uncompressed
  • %CONTRAST% - Normal
  • %COPYRIGHT% - Visual Magic (Photographer)
  • %DATETIME% - 2007.01.01 16:26:50.57+01:00
  • %DATE_TIME_DIGITIZED% - n.a.
  • %DATE_TIME_ORIGINAL% - n.a.
  • %DIGITAL_ZOOM_RATIO% - Auto white balance
  • %EXPOSURE_BIAS_VALUE% - 0.0
  • %EXPOSURE_MODE% - Auto exposure
  • %EXPOSURE_PROGRAM% - Normal program
  • %FLASH% - Flash did not fire.
  • %FNUMBER% - f/6.3
  • %FOCAL% - 26 mm
  • %FOCAL_LENGTH_IN_35MM_FILM% - 39
  • %GAIN_CONTROL% - Normal
  • %IMAGENUMBER% - 7505
  • %ISO% - 100
  • %LENS% - 17.0-55.0 mm f/2.8
  • %LIGHT_SOURCE% - Unknown
  • %MAKE% - NIKON CORPORATION
  • %MAX_APERTURE_VALUE% - 30/10
  • %METERING_MODE% - Pattern
  • %MODEL% - NIKON D200
  • %ORIENTATION% - top - left
  • %PHOTOMETRIC_INTERPRETATION% - RGB
  • %PIXEL_X_DIMENSION% - 500
  • %PIXEL_Y_DIMENSION% - 281
  • %RESOLUTION_UNIT% - Inch
  • %SATURATION% - High saturation
  • %SCENE_CAPTURE_TYPE% - Standard
  • %SCENE_TYPE% - Directly photographed
  • %SENSING_METHOD% - One-chip color area sensor
  • %SHARPNESS% - Hard
  • %SHUTTER% - 1/160 s
  • %SHUTTER_SPEED_VALUE% - 7.321928 sec. (APEX: 12)
  • %SOFTWARE% - Adobe Photoshop CS2 Macintosh
  • %SUBJECT_DISTANCE_RANGE% - Unknown
  • %WHITE_BALANCE% - Auto white balance
  • %X_RESOLUTION% - 300
  • %Y_RESOLUTION% - 300

As this is but a small subset of all possible tokens, see webpage for a complete list.

PS CS2 EXIF

Here are some EXIF grabbed from the PS XML inside the Exif aux field. These might vary if you are not using PS and are hence provided with limited support.

  • %ApertureValue% - 5310704/1000000
  • %ColorMode% - 3
  • %ColorSpace% - -1
  • %Compression% - 1
  • %Contrast% - 0
  • %CreateDate% - 2007-01-03T15:49:05+01:00
  • %CreatorTool% - Adobe Photoshop CS2 Macintosh
  • %CustomRendered% - 0
  • %DateTimeDigitized% - 2007-01-01T16:26:50.57+01:00
  • %DateTimeOriginal% - 2007-01-01T16:26:50.57+01:00
  • %DigitalZoomRatio% - 1/1
  • %ExposureBiasValue% - 0/6
  • %ExposureMode% - 0
  • %ExposureProgram% - 2
  • %ExposureTime% - 1/160
  • %FNumber% - 63/10
  • %FileSource% - 3
  • %Fired% - False
  • %FocalLength% - 260/10
  • %FocalLengthIn35mmFilm% - 39
  • %Function% - False
  • %GainControl% - 0
  • %History% - n.a.
  • %ICCProfile% - Adobe RGB (1998)
  • %ImageLength% - 1925
  • %ImageNumber% - 7505
  • %ImageWidth% - 3423
  • %Lens% - 17.0-55.0 mm f/2.8
  • %LensInfo% - 170/10 550/10 28/10 28/10
  • %LightSource% - 0
  • %Make% - NIKON CORPORATION
  • %MaxApertureValue% - 30/10
  • %MetadataDate% - 2007-01-03T15:49:05+01:00
  • %MeteringMode% - 5
  • %Mode% - 0
  • %Model% - NIKON D200
  • %ModifyDate% - 2007-01-03T15:49:05+01:00
  • %Orientation% - 1
  • %PhotometricInterpretation% - 2
  • %PixelXDimension% - 500
  • %PixelYDimension% - 281
  • %PlanarConfiguration% - 1
  • %Rating% - 1
  • %RedEyeMode% - False
  • %ResolutionUnit% - 2
  • %Return% - 0
  • %SamplesPerPixel% - 3
  • %Saturation% - 2
  • %SceneCaptureType% - 0
  • %SceneType% - 1
  • %SensingMethod% - 2
  • %Sharpness% - 2
  • %ShutterSpeedValue% - 7321928/1000000
  • %SubjectDistanceRange% - 0
  • %WhiteBalance% - 0
  • %XResolution% - 3000000/10000
  • %YResolution% - 3000000/10000
  • %format% - image/jpeg

License

This WordPress plug is released under the GPL and is provided with absolutely no warranty (as if?). For support leave a comment and we'll see what the community has to say.

Version History

  • 14.nov.2008 - v0.b7.3 - several bugfixes > - bugfix: GPS data now fetched correctly [GPS is not part of the EXIF block within IFD0 ... duh] > - bugfix: memorey leak fixed [now erasing all exif before closing] > - bugfix: text encoding error fixed [causing WordPress to break with some header error] > - new default: GPS location now in default layout [added geotagged image as well]
  • 23.oct.2008 - v0.b7.2 - new feature: show image only [using token "zonoex"] > - bugfix: rare bug while using both WP and user defined thumbs squashed
  • 15.oct.2008 - v0.b7.1 - new feature: thumbnail handling optimized
  • 01.oct.2008 - v0.b7 - new option: thumbnail choice
  • 06.jun.2008 - v0.b6.7 - new feature: compatible to most gallery plugins
  • 05.jun.2008 - v0.b6.6 - bugfix: Date/Time issue solved
  • 03.jun.2008 - v0.b6.5 - new feature: all PEL tokens now available > - bugfix: iPhone support > - bugfix: Date/Time issue addressed
  • 02.jun.2008 - v0.b6.4 - new feature: show Exif only
  • 06.mar.2008 - v0.b6.3 - new option: customisable thumbnail extension
  • 13.feb.2007 - v0.b6.1 - new option: customisable alignment [Off | Left | Center | Right] > - pepped up the admin panel > - optimised code
  • 12.feb.2007 - v0.b6 - Major (complete) rewrite > - Admin panel > - User definable templates > - Token based access to Exifs > - "Live preview" in admin panel > - new option: max thumbnail width > - new option: max thumbnail height > - new option: min table width > - new option: Title [Off / On / Force On] > - new option: Exif [Off / On / Force On] > - new option: overlay strings [for linked & static text] > - new option: error strings [no title / empty exif tag]
  • 02.feb.2007 - v0.5.4 - Bugfix [Corrected Transitional XHTML Code]
  • 26.jan.2007 - v0.5.3 - WordPress 2.1 Compatibility Update [adapted to new table wp_post table]
  • 21.jan.2007 - v0.5.2 - Bugfix [bug in _getImagePath squashed]
  • 15.jan.2007 - v0.5.1 - Bugfix [incorrect camera maker readout]
  • 14.jan.2007 - v0.5 - got rid of Perl by using the PEL-PHP-Library
  • 08.jan.2007 - v0.4 - first public release

Requires: 2.1 or higher
Compatible up to: 2.6.3
Last Updated: 2008-11-14
Downloads: 7,099

Ratings

3 stars
3.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
0,2,0
100,1,1
100,1,1
0,1,0