vBulletin Mods

The Official vBulletin Modifications Site

EXIF Info for Album Photos
by MoMan
30 Apr 2010 03:37

2 Attachment(s)
This is a simple PHP script / vBulletin plugin that displays EXIF information for photos uploaded to the vBulletin albums system, as well as in social groups.

Please do not redistribute this elsewhere, and do leave my contact and copyright information intact at the top of the plugin source. There are no visible copyright notices in the output. The album exif modification is copyright 2010 by Adam Oest.

-PHP permission to run shell_exec (safe mode off)
-album pictures must be stored in the filesystem
-jhead must be installed on your server

1. Make sure you have jhead installed (get it from http://www.sentex.net/~mwandel/jhead/)
2. Download the attached vBulletin product and upload it through your admin cp
3. Configure the two settings in vbulletin options > album picture and social group EXIF
4. Open the album_pictureview template and add $exifdata right above $picturecomment_commentarea, or wherever else you want it to appear
5. Open the group_picture template and add $exifdata directly after $pictureinfo[username]</a></div>, or wherever else you want it to appear
6. You should be all set. Enjoy!

Demo at http://www.pentaxforums.com/forums/m...-shot4828.html

Version history:
1.0 - Initial Release
1.01 - Converted to plugin; output formatting improvements
1.02 - Further output formatting improvements
1.03 - Converted to product; further formatting improvements
1.04 - HTML validation bugfix
1.05 - All settings moved to vBulletin options, and functionality for social groups added
1.06 - New documentation


MoMan 30 Apr 2010 07:05

Attached locally- should be visible now.

MagicThemeParks 30 Apr 2010 11:41

Very cool! :up:

Thanks for sharing this. How can we make this work with the popular PhotoPlog mod?

barroca 30 Apr 2010 16:46

works with vB 4.x?

MoMan 30 Apr 2010 19:25

Exif info is built-in to photoplog (pro). If you already have that running, my script can run off of photoplog's admincp setting that provides the path to the jhead program.

If you're using the free version of photoplog, you'd have to make some small changes to the use my script with it. First, add it to the photoplog image view plugin, second, add it to the photoplog viewfile template, and third, you'd have to change the line in my program that determines the image location. I'm not going to support this, but you're more than welcome to try on your own.

I don't see why this wouldn't work with vB4.

MoMan 01 May 2010 23:15

New version- 1.01 - converted it to a plugin and improved display. Enjoy!

MoMan 02 May 2010 22:42

New version - 1.02 - formatting improvements to file date, size, and resolution

MoMan 17 May 2010 19:17

New version - 1.03 - converted to product

MoMan 19 May 2010 09:36

New version - 1.04 - bugfix

mertiliuss 19 May 2010 16:42

sorry, but I install it shows an error Phats, as configured that?


MoMan 24 May 2010 06:33

Your jhead path must be incorrect. Please download the latest version, and then go to vBulletin options and add the correct value.

New version released: 1.05
-configuration now in vBulletin options
-exif now also added to social group albums via dropdown


All times are GMT. The time now is 12:06.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.