View Full Version : Exif lost when uploading
Absynthe
04-19-2005, 07:01 PM
hi,
I'm using pixelpost 1.3 end when I upload a picture it lost all exifs. When I redownload it, all the exifs have disappeared. But if I upload manually it works very well.
What's wrong ? :(
Thanks for your help.
Pixelpost does not modify the image that you upload in any way. The only image it touches is the thumbnail.
- Are you using an image resize addon?
- Are you using Save for web in photoshop?
Absynthe
04-19-2005, 07:22 PM
All my uploaded pictures which width is superior than 600px are resize to 600px of width, is it normal ? is it possible to disable that ?
It is not normal that the pictures are resized. Is it an addon?
Absynthe
04-19-2005, 07:31 PM
no i have just installed PEPPER template, and two addons i have just released ( "smilies converter" and "code for robots")
Absynthe
04-19-2005, 07:40 PM
//utoks mod starts here
// chmod($uploadfile, 0644);
$imagesize = getimagesize($uploadfile);
$imagewidth = $imagesize[0];
$imageheight = $imagesize[1];
if($imagewidth>=1280){
createwallpaper(array("file" => $filnamn, "max_width" => "1280", "max_height" => "1280")); }
resizeimage(array("file" => $filnamn, "max_width" => "600", "max_height" => "1200"));
In admin/index.php
You will have to remove that hack if you want EXIF information to be preserved unless someone knows PHP image resize functions that won't discard the data.
Connie
04-19-2005, 08:07 PM
you know that this pepper-template is re-placing the original pixelpost-index.php?
I think the way this template is acting is not good, it should not modify the main index.php, it should use an addon :cry:
if you read the notes and hints for the pepper template, you must have noticed that there is explicitely a note that it is not supporting pixelpost 1.4
if you want to continue with this hack, you should understand what is done in this hack: it is resizing the file if the uploaded file is too big
by resizing the exif-data gets lost
but it is not necessary to resize the filesize if you don't upload so big images
so my suggestion:
resize the image before uploading with a tool that DOES NOT delete EXIF data
if you are on a PC, you should test IRFANVIEW and safe the resized file with the option "Keep EXIF"
Also, I was looking at your blog. I expect most of the photographers that you took the pictures from would be pretty pissed off if they discovered that you re-published their work without asking, credit, links to their work, etc. Even if an image is licensed under the Creative Common's license, you have obligations on crediting the creator and displaying their license.
What you are doing is illegal even if your intentions are good. :?
Connie
04-19-2005, 09:07 PM
I think the same:
it is not okay to take something from somebody and say: "if you don't want me to take it, tell me"
you must ask before you take somebody other's work
and not vice versa
Absynthe
04-20-2005, 08:30 AM
So,
I replace admin/index.php file by an original and now it works very well :D
raminia
04-20-2005, 09:03 AM
you must ask before you take somebody other's work
and not vice versa
Yeah! your statement in the about page is quite offensive! I agree with Connie!
Absynthe
04-20-2005, 11:02 AM
ok ok i have updated that !
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.