[bug] JAVA-Uploader width and heigth swapped viceversa ?

Phoca Gallery - image gallery extension
Dirk67
Phoca Member
Phoca Member
Posts: 45
Joined: 13 May 2009, 14:53

[bug] JAVA-Uploader width and heigth swapped viceversa ?

Post by Dirk67 »

Hi,
you can read the following code in 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

Code: Select all

            <param name="maxPicHeight" value="<?php echo $this->tmpl['javaresizewidth'] ?>" />
            <param name="maxPicWidth" value="<?php echo $this->tmpl['javaresizeheight'] ?>" />
I think the width and height are swapped (?)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [bug] JAVA-Uploader width and heigth swapped viceversa ?

Post by Jan »

Hi, what you mean with swapped?

Jan
If you find Phoca extensions useful, please support the project
Dirk67
Phoca Member
Phoca Member
Posts: 45
Joined: 13 May 2009, 14:53

Re: [bug] JAVA-Uploader width and heigth swapped viceversa ?

Post by Dirk67 »

Jan wrote:Hi, what you mean with swapped?

Jan
<param name="maxPicHeight" value="<?php echo $this->tmpl['javaresizewidth'] ?>" />
<param name="maxPicWidth" value="<?php echo $this->tmpl['javaresizeheight'] ?>" />
:wink:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [bug] JAVA-Uploader width and heigth swapped viceversa ?

Post by Jan »

Yes, I see it now. Thank you, I will fix it in 2.5.0 beta.

Thank you for this information.

Jan
If you find Phoca extensions useful, please support the project
Post Reply