Preserving IPTC/EXIF meta when resizing or adding Watermarks?
-
Hey All,
When I upload and resize an image or add a watermark, it erases all the IPTC/EXIF metadata. I did search and saw it was an issue 5 years ago; does not seem like it ever got fixed. Is there any good work around for it? We want to allow people to right-click save our images but keep the Copyright info in.
I am keeping a backup of the original files; is there a way I could re-inject the EXIF meta easily via a plugin?
I’ve already written a custom plugin that hooks to NextGEN so could potentially add code to re-inject the data if there are any PHP/NextGen functions that help do that. I’d rather not have to parse the images manually to do that…
Thanks!
Jakub
-
@koobazaur – To the best of our knowledge all of these issues have been addressed. It may be best to send us a Bug Report (http://www.nextgen-gallery.com/report-bug/ … please reference this topic) on this just in case.
We may need to see this on your site so log in (and FTP) credentials for your WordPress installation may also be needed, please include those with your Bug Report.
Thanks!
– Cais.
Cais,
Thank you for the quick response. I will ask my client if he is comfortable giving those out. In the meantime, is there any info I can provide that might narrow it down? The plugin homepage shows “GD Version : bundled (2.1.0 compatible)” and all the libraries/formats supported except FreeType.
Also, just to make sure, I am referring to the metadata embedded in the file itself; NextGEN does seem to remember it fine when I click on the Meta button in the Gallery manager, but when I right-click-save the image, it no longer has the info. We are using just regular JPGs.
Best,
JakubActually I just tested on another server and the IPTC meta was preserved. So it seems it is a server-side issue. Looking at the NGG homepage I noticed:
PHP Exif support : No
PHP IPTC support : Yes
PHP XML support : YesSo I can see why it would erase the Exif data, but it should still keep the IPTC? What would we need to add to the server to enable the EXIF support?
@koobazaur – I would suspect your best bet would be to take this up with your web host to find the best method of enabling EXIF support.
– Cais.
Hello,
Sorry for bringing this back up. We did enable EXIF ( V1.4 ) but we are experiencing the same issue. The odd thing is, the meta is preserved fine on another dev machine.
Would anything below, as reported by NGG, be a potential culprit?
Operating System : Linux (64 Bit)
Server : Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_fcgid/2.3.9
Memory usage : 7.84 MByte
MYSQL Version : 5.1.73-cll
SQL Mode : Not set
PHP Version : 5.4.33
PHP Safe Mode : Off
PHP Allow URL fopen : On
PHP Memory Limit : 2000
PHP Max Upload Size : 128M
PHP Max Post Size : 256M
PCRE Backtracking Limit : 10000000
PHP Max Script Execute Time : 300s
PHP Exif support : Yes ( V1.4 )
PHP IPTC support : Yes
PHP XML support : Yes
Graphic LibraryGD Version : bundled (2.1.0 compatible)
FreeType Support : No
T1Lib Support : No
GIF Read Support : Yes
GIF Create Support : Yes
JPEG Support : Yes
PNG Support : Yes
WBMP Support : Yes
XPM Support : Yes
XBM Support : Yes
JIS-mapped Japanese Font Support : NoI have also submitted a support ticket as you advised.
@koobazaur – Rather than splintering this conversation across multiple points lets keep with the “support ticket” for the time being.
– Cais.
The topic ‘Preserving IPTC/EXIF meta when resizing or adding Watermarks?’ is closed to new replies.