[CDB] View exif data

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: [BETA] View exif data

Post by canonknipser »

I didn't look at other sides than here(home of phpBB). It's hard to find extension if they are published only on "local" support sides - and i don't understand russian at all ;)
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [BETA] View exif data

Post by 3Di »

canonknipser wrote:
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 ;)
I better understand codes sometime, that's why I didn't. :)

Thanks.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: [RC] View exif data

Post by canonknipser »

RC submitted to CDB;
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
User avatar
remoss
Registered User
Posts: 97
Joined: Wed Jul 08, 2015 2:12 pm
Location: The Netherlands
Name: René
Contact:

Re: [RC] View exif data

Post by remoss »

Should it also work with external images between img tags? Can't get it to work :(
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: [RC] View exif data

Post by canonknipser »

As described in the very first post
Shows exif data for images (jpg- and tiff format) posted as attachment
it works only for attachment, not for images posted between image-tags.

So,
remoss wrote:Can't get it to work
is the expected behaviour. It's because of using the php-function exif_read_data - the file-name passed to this function can't be a url.
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
User avatar
remoss
Registered User
Posts: 97
Joined: Wed Jul 08, 2015 2:12 pm
Location: The Netherlands
Name: René
Contact:

Re: [RC] View exif data

Post by remoss »

I did read the first post, but was hoping it would work, so i must try it ;)

I have a php script for this purpose and will continue using that, thank for your answer!
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: [RC] View exif data

Post by canonknipser »

Extension updated to Revision 1.0.1 and submitted to the extension DB; fixed issues found by the validation team.

Link in first post updated
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
User avatar
girello
Registered User
Posts: 169
Joined: Tue Mar 30, 2010 8:53 am
Location: italia
Contact:

Re: [RC] View exif data

Post by girello »

Hello
sorry to bother you, I took your extension for exif, but I have a problem that you can view at the following link:

http://www.photolandia.net/viewtopic.ph ... 318#p91318

the error is:

[phpBB Debug] PHP Warning: in file [ROOT]/ext/canonknipser/viewexif/event/main_listener.php on line 165: htmlspecialchars() expects parameter 1 to be string, array given

Can help me pls? tnx
http://www.photolandia.net
version phpbb 3.2
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: [RC] View exif data

Post by canonknipser »

Hi girello,
to check what's going wrong I need to download the problematic image to my personal computer. Am I allowed to do so?
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
User avatar
girello
Registered User
Posts: 169
Joined: Tue Mar 30, 2010 8:53 am
Location: italia
Contact:

Re: [RC] View exif data

Post by girello »

Yes
http://www.photolandia.net
version phpbb 3.2
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: [3.1][3.2][RC] View exif data

Post by canonknipser »

New version online - fixed issue with some images from samsung mobile phones

Link in first post updated, new revision submitted to cdb

For details see changelog at https://github.com/canonknipser/viewexi ... ANGELOG.md
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
User avatar
girello
Registered User
Posts: 169
Joined: Tue Mar 30, 2010 8:53 am
Location: italia
Contact:

Re: [3.1][3.2][RC] View exif data

Post by girello »

GOOODDDD! tnx mate ;)
http://www.photolandia.net
version phpbb 3.2
sybouch
Registered User
Posts: 3
Joined: Thu Jan 26, 2017 9:02 pm

Re: [3.1][3.2][RC] View exif data

Post by sybouch »

hi Canonknipser, this is the french translation for your ext, if you are agree with... ;)
and i suggest to add "cursor:pointer" in div.ck_ve_exifblock in viewexif.css to have hand cursor on hide/show

Code: Select all

<?php
/**
 *
 * This file is part of the phpBB Forum Software package.
 *
 * @copyright (c) phpBB Limited <https://www.phpbb.com>
 * @license GNU General Public License, version 2 (GPL-2.0)
 *
 * For full copyright and license information, please see
 * the docs/CREDITS.txt file.
 *
 */

if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

$lang = array_merge($lang, array(
	'CK_VE_EXIF_CAPTION'				=> 'Données-EXIF',
	'CK_VE_EXIF_APERTURE'			=> 'Ouverture',
	'CK_VE_EXIF_CAM_MODEL'			=> 'Modèle',
	'CK_VE_EXIF_CAM_MAKE'			=> 'Marque',
	'CK_VE_EXIF_DATE'				=> 'Image prise le',

	'CK_VE_EXIF_EXPOSURE'			=> 'Vitesse',
	'CK_VE_EXIF_EXPOSURE_EXP'		=> '%s Sec',// 'CK_VE_EXIF_EXPOSURE' unit
	'CK_VE_EXIF_EXPOSURE_BIAS'		=> 'Compensation exposition',
	'CK_VE_EXIF_EXPOSURE_BIAS_EXP'	=> '%s EV',// 'CK_VE_EXIF_EXPOSURE_BIAS' unit
	'CK_VE_EXIF_EXPOSURE_PROG'		=> 'Mode exposition',
	'CK_VE_EXIF_EXPOSURE_PROG_0'	=> 'Non défini',
	'CK_VE_EXIF_EXPOSURE_PROG_1'	=> 'Manuel',
	'CK_VE_EXIF_EXPOSURE_PROG_2'	=> 'Normal',
	'CK_VE_EXIF_EXPOSURE_PROG_3'	=> 'Priorité ouverture',
	'CK_VE_EXIF_EXPOSURE_PROG_4'	=> 'Priorité vitesse',
	'CK_VE_EXIF_EXPOSURE_PROG_5'	=> 'Créatif (profondeur de champ élevée)',
	'CK_VE_EXIF_EXPOSURE_PROG_6'	=> 'Action (vitesse élevée)',
	'CK_VE_EXIF_EXPOSURE_PROG_7'	=> 'Portrait(arrière plan flou)',
	'CK_VE_EXIF_EXPOSURE_PROG_8'	=> 'Paysage (arrière plan net)',

	'CK_VE_EXIF_FLASH'				=> 'Flash',

	'CK_VE_EXIF_FLASH_CASE_0'		=> 'Flash non déclenché',
	'CK_VE_EXIF_FLASH_CASE_1'		=> 'Flash déclenché',
	'CK_VE_EXIF_FLASH_CASE_5'		=> 'lumière de retour non détectée',
	'CK_VE_EXIF_FLASH_CASE_7'		=> 'lumière de retour détectée',
	'CK_VE_EXIF_FLASH_CASE_8'		=> 'Allumé, Flash non déclenché',
	'CK_VE_EXIF_FLASH_CASE_9'		=> 'Flash déclenché, mode forcé',
	'CK_VE_EXIF_FLASH_CASE_13'		=> 'Flash déclenché, mode forcé, lumière de retour non détectée',
	'CK_VE_EXIF_FLASH_CASE_15'		=> 'Flash déclenché, mode forcé, lumière de retour détectée',
	'CK_VE_EXIF_FLASH_CASE_16'		=> 'Flash non déclenché, mode forcé',
	'CK_VE_EXIF_FLASH_CASE_20'		=> 'Eteint, Flash non déclenché, lumière de retour non détectée',
	'CK_VE_EXIF_FLASH_CASE_24'		=> 'Flash non déclenché, mode automatique',
	'CK_VE_EXIF_FLASH_CASE_25'		=> 'Flash déclenché, mode automatique',
	'CK_VE_EXIF_FLASH_CASE_29'		=> 'Flash déclenché, mode automatique, lumière de retour non détectée',
	'CK_VE_EXIF_FLASH_CASE_31'		=> 'Flash déclenché, mode automatique, lumière de retour détectée',
	'CK_VE_EXIF_FLASH_CASE_32'		=> 'Aucune fonction flash',
	'CK_VE_EXIF_FLASH_CASE_48'		=> 'Eteint, aucune fonction flash',
	'CK_VE_EXIF_FLASH_CASE_65'		=> 'Flash déclenché, mode réduction yeux rouges',
	'CK_VE_EXIF_FLASH_CASE_69'		=> 'Flash déclenché, mode réduction yeux rouges, lumière de retour non détectée',
	'CK_VE_EXIF_FLASH_CASE_71'		=> 'Flash déclenché, mode réduction yeux rouges, lumière de retour détectée',
	'CK_VE_EXIF_FLASH_CASE_73'		=> 'Flash déclenché, mode forcé, mode réduction yeux rouges',
	'CK_VE_EXIF_FLASH_CASE_77'		=> 'Flash déclenché, mode forcé, mode réduction yeux rouges, lumière de retour non détectée',
	'CK_VE_EXIF_FLASH_CASE_79'		=> 'Flash déclenché, mode forcé, mode réduction yeux rouges, lumière de retour détectée',
	'CK_VE_EXIF_FLASH_CASE_80'		=> 'Eteint, réduction yeux rouges',
	'CK_VE_EXIF_FLASH_CASE_88'		=> 'Auto, Did not fire, mode réduction yeux rouges',
	'CK_VE_EXIF_FLASH_CASE_89'		=> 'Flash déclenché, mode automatique, mode réduction yeux rouges',
	'CK_VE_EXIF_FLASH_CASE_93'		=> 'Flash déclenché, mode automatique, lumière de retour non détectée, mode réduction yeux rouges',
	'CK_VE_EXIF_FLASH_CASE_95'		=> 'Flash déclenché, mode automatique, lumière de retour détectée, mode réduction yeux rouges',

	'CK_VE_EXIF_FOCAL'				=> 'Distance focale',
	'CK_VE_EXIF_FOCAL_EXP'			=> '%s mm',// 'CK_VE_EXIF_FOCAL' unit

	'CK_VE_EXIF_ISO'				=> 'Sensibilité ISO',

	'CK_VE_EXIF_METERING_MODE'		=> 'Mode de mesure',
	'CK_VE_EXIF_METERING_MODE_0'	=> 'inconnue',
	'CK_VE_EXIF_METERING_MODE_1'	=> 'Evaluative',
	'CK_VE_EXIF_METERING_MODE_2'	=> 'Pondérée centrale',
	'CK_VE_EXIF_METERING_MODE_3'	=> 'Spot',
	'CK_VE_EXIF_METERING_MODE_4'	=> 'Multi-Spot',
	'CK_VE_EXIF_METERING_MODE_5'	=> 'Evaluative',
	'CK_VE_EXIF_METERING_MODE_6'	=> 'Sélective',
	'CK_VE_EXIF_METERING_MODE_255'	=> 'Autre',

	'CK_VE_EXIF_NOT_AVAILABLE'		=> 'non disponible',

	'CK_VE_EXIF_WHITEB'				=> 'Balance des blancs',
	'CK_VE_EXIF_WHITEB_AUTO'		=> 'Automatique',
	'CK_VE_EXIF_WHITEB_MANU'		=> 'Manuelle',

	'CK_VE_SHOW_EXIF'				=> 'voir/cacher',
	'CK_VE_CLICK_HERE'				=> 'Cliquer ici',
	'CK_VE_NAME_MAPSERVICE'			=> 'Google Maps'
));
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: [3.1][3.2][RC] View exif data

Post by canonknipser »

Thank you very much for your translation. My knowledge on french is very poor, so I assume your translation is correct ;)
I added a zip file with your french translation to my personal download site: http://canonknipser.com/viewtopic.php?f=2&t=20&p=26#p26
Once the extension is submitted to CDB, I will add it to the support area over there also.


For your suggestion about changing the cursor, i'll try to put in the next release - never thought of that before, but you are right, it's the standard behaviour of phpBB on hyperlinks, buttons etc.
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
sybouch
Registered User
Posts: 3
Joined: Thu Jan 26, 2017 9:02 pm

Re: [3.1][3.2][RC] View exif data

Post by sybouch »

thanks very much ! ;)
Locked

Return to “Extensions in Development”