Page 1 of 3

[CDB] View exif data

Posted: Sun May 29, 2016 6:32 pm
by canonknipser
Extension Name: View exif data
Author: canonknipser
based on the 3.0.x-mod NV Exif Data by nickvergessen

Extension Description: Shows exif data for images (jpg- and tiff format) posted as attachment
Extension Version: 1.0.2

Requirements:
  • PHP exif library installed
  • phpBB 3.1.6-RC1 or higher for proper events
  • PHP 5.3.3 or higher
Features:
  • show some exif data of attached images (currently jpg- andd tiff-images only!)
  • if images contain GPS-data, show a link to google maps
  • Languages:
    • english en
    • german (casual) de


Demo URL: http://www.canonknipser.com/viewforum.php?f=2


Extension Download: Link to RC

Image

If you like this extension, feel free to donate my work

Changelog: Note: This extension is still a release candidate, which means it is not validated by the phpBB extension team and according to phpBB-rules should not be used on a live board.

Re: [BETA] View exif data

Posted: Mon May 30, 2016 6:57 am
by Hills
Brilliant, I have been wanting this for a long time!

Re: [BETA] View exif data

Posted: Mon May 30, 2016 12:33 pm
by lopoto
THX. working well. :P

Re: [BETA] View exif data

Posted: Mon May 30, 2016 1:23 pm
by Hills
lopoto wrote:THX. working well. :P
I agree same on my forum 8-)

Re: [BETA] View exif data

Posted: Mon May 30, 2016 4:36 pm
by canonknipser
Thank you for your feedback.

Still working on it, so i changed the link in to first post from master branch (which can be broken in between) to current "stable" beta branch -> https://github.com/canonknipser/viewexi ... 0-beta.zip ;)

And just set up a testboard, where you can see it working without installing at your board. No registration required. -> http://canonknipser.com/viewforum.php?f=2

Link also in first post.

Re: [BETA] View exif data

Posted: Mon May 30, 2016 6:27 pm
by leschek
Interesting extension, but I'm not sure if everyone (I mean forum members) wants to see exif data, so I would like to ask if there is (or could be) option to show/hide exif data.

Re: [BETA] View exif data

Posted: Mon May 30, 2016 8:06 pm
by canonknipser
Currently, there is no option for a user to switch on / of exif data. Maybe in a later version a acp (e.g. by-forum on/off, selected specific exif data to show) and / or ucp (e.g. show / hide exif for displayed attachments, allow / forbid exif for posted attachments) will be added.
The only option at the moment is for admins to enable / disable the ext complete.

I put your suggestion to the github issue tracker -> https://github.com/canonknipser/viewexif/issues/2

Re: [BETA] View exif data

Posted: Mon May 30, 2016 9:03 pm
by leschek
Thank you for reply. I was thinking about something more simple - link on image to show exif on click or hover (something like this, but it doesn't have to be jQuery or exif over the image).

Re: [BETA] View exif data

Posted: Mon May 30, 2016 9:57 pm
by ViolaF
Is this ext based on the mod of nickvergessen?
viewtopic.php?t=1107475

Re: [BETA] View exif data

Posted: Tue May 31, 2016 3:45 am
by RomaamoR
Why reinvent the wheel ? It has long been such an extension is.

Re: [BETA] View exif data

Posted: Tue May 31, 2016 10:34 am
by canonknipser
ViolaF wrote:Is this ext based on the mod of nickvergessen?
viewtopic.php?t=1107475
Oh, yes, you are right. Missed that one. I only checked the 3.1-fora when looking for such a extension.

I found parts of the source which i used in my extension in a 3.0.x board source. This board i maintained a while ago (now this board is abandoned and gone), the former owner did not leave any comments about and from the mods he used in his sources.

I was not aware that the code changes he made were based on nickvergessen's mod.

I will put the cretentials in the first post and in the extensions readme.
RomaamoR wrote:Why reinvent the wheel ? It has long been such an extension is.
Can you clarify that? I didn't find any extension in the extensions database or in extension development forum to show exif data for attachments.
The only extension i found is the gallery extension; which will show also exif data. But if a board owner has no need for the gallery, he has no exif data.

Re: [BETA] View exif data

Posted: Wed Jun 01, 2016 8:29 pm
by canonknipser
extension updated to second beta
- some style changes from simple lines to nicer looking table-style
- added a show-hide-option for exif data (defaults to hidden)
- added camera manufacturer

Download link in first post, extension also updated at my testboard

Re: [BETA] View exif data

Posted: Wed Jun 01, 2016 9:01 pm
by 3Di
If I correctly recall, I lurked at your code once you posted this, only JPG images are affected.. am I right?

Re: [BETA] View exif data

Posted: Thu Jun 02, 2016 4:46 am
by canonknipser
3Di wrote:If I correctly recall, I lurked at your code once you posted this, only JPG images are affected.. am I right?
Yes, but reading the first post would have given that information too ;)
canonknipser wrote: Extension Description: Shows exif data for jpg-images posted as attachment
...
  • show some exif data of attached images (currently jpg-images only!)
...
Its because using the php exif library, which allows currently only reading exif from jpg and tiff images. Maybe in the future i will switch to exiftool, which supports a wider range of file.

Re: [BETA] View exif data

Posted: Thu Jun 02, 2016 5:27 am
by RomaamoR
Can you clarify that?
Preview attached images
http://www.phpbb-work.ru/preview-attach ... t-t91.html