color of vertical pictures (portrait) don't match

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: color of vertical pictures (portrait) don't match

Post by Jan »

Hi, somewhere here in the forum some user has recognized that the java upload script has problems with some specific cameras (colors not the same), try to test some other image (e.g. downloaded from web) (maybe this can be caused by this problem) :idea:
If you find Phoca extensions useful, please support the project
Dirk67
Phoca Member
Phoca Member
Posts: 45
Joined: 13 May 2009, 14:53

Re: color of vertical pictures (portrait) don't match

Post by Dirk67 »

Try to change the line:
from:

Code: Select all

<param name="pictureTransmitMetadata" value="true" />
to:

Code: Select all

<param name="pictureTransmitMetadata" value="false" />
within the files:
../components/com_phocagallery/views/category/tmpl/default_upload.php
../components/com_phocagallery/views/user/tmpl/default_upload.php
../administrator/components/com_phocagallery/front/views/category/tmpl/default_upload.php
../administrator/components/com_phocagallery/front/views/user/tmpl/default_upload.php
../administrator/components/com_phocagallery/views/phocagalleryi/tmpl/default_javaupload.php
../administrator/components/com_phocagallery/views/phocagallerym/tmpl/form_javaupload.php

I found it here:
--> http://jupload.sourceforge.net/howto-cu ... parameters
where the author is explaining the parameter "pictureTransmitMetadata"
This parameter controls whether the applet transmit metadata of the original picture. This may prevent personal information to be thrown on the net.
Note 1: This parameter is especially important for picture coming from the Canon EOS 20D, 30D and 40D: pictures shooted in portrait mode contain metadata that are incompatible with Java 1.6.0_3! The colors of transformed pictures become strange... Since 3.3.0: default to false, to avoid this annonying (and currently not explained) problem.
Note 2: As of 3.2.0, this parameter blocks metadata only for pictures that are updated by the applet. Metadata from picture transmitted 'as is' are not removed. This is corrected in 3.3.0.
bole
Phoca Member
Phoca Member
Posts: 28
Joined: 26 Mar 2009, 00:23

Re: color of vertical pictures (portrait) don't match

Post by bole »

Jan,

Could you make this an option in the settings? We've got the same problem over here, but editting in the code gives problems whith all the updates...
bole
Phoca Member
Phoca Member
Posts: 28
Joined: 26 Mar 2009, 00:23

Re: color of vertical pictures (portrait) don't match

Post by bole »

or even better.... update to the latest version of JUpload:
This parameter controls whether the applet transmit metadata of the original picture. This may prevent personal information to be thrown on the net.
Note 1: This parameter is especially important for picture coming from the Canon EOS 20D, 30D and 40D: pictures shooted in portrait mode contain metadata that are incompatible with Java 1.6.0_3! The colors of transformed pictures become strange... Since 3.3.0: default to false, to avoid this annonying (and currently not explained) problem.
Note 2: As of 3.2.0, this parameter blocks metadata only for pictures that are updated by the applet. Metadata from picture transmitted 'as is' are not removed. This is corrected in 3.3.0
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: color of vertical pictures (portrait) don't match

Post by Jan »

Hi, the jupload version is 4.6.0 :idea:

Jan
If you find Phoca extensions useful, please support the project
bole
Phoca Member
Phoca Member
Posts: 28
Joined: 26 Mar 2009, 00:23

Re: color of vertical pictures (portrait) don't match

Post by bole »

Hmmmm :(

Didn't notice that at all... However, disabling the option mentioned above solved the issue...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: color of vertical pictures (portrait) don't match

Post by Jan »

:idea:
If you find Phoca extensions useful, please support the project
Macek333
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Jan 2011, 05:22

Re: color of vertical pictures (portrait) don't match

Post by Macek333 »

In version of Jupload 5.0.1 is problem still not solved. One way is modifing source code of Phoca....

pictureTransmitMetadata = false

:x
Post Reply