Page 1 of 1
Image size problems
Posted: 03 Jul 2008, 13:34
by Peet82
Hi Jan!
It's me again
The template's building is on it's good way, some days and it will be ready.
Now, I've found something interesting, maybe you seen any problems like this before.
My landscape pictures are 640x480, and the portraits are 480x600, and my front-end modal box size is now 750x750 for a try.
In the modal box, I see the landscape pictures fine, in 640x480, but in portrait pictures the size reduces to 360x480
You should take a look at:
http://sweetydance.hu/index.php?option= ... p&Itemid=4
Do you have any idea?
Thank You!
Re: Image size problems
Posted: 04 Jul 2008, 15:08
by Jan
Hi, because of the same height of boxes, you should get the same height for both (landscape, portrait) images, so the portrait image must be resized to get the same height as landscape... there is no deformation of the image, so new size must be: 360x480 not 480x480 (image will be deformed)
Jan
Re: Image size problems
Posted: 02 Aug 2008, 18:14
by Peet82
Jan wrote:Hi, because of the same height of boxes, you should get the same height for both (landscape, portrait) images, so the portrait image must be resized to get the same height as landscape... there is no deformation of the image, so new size must be: 360x480 not 480x480 (image will be deformed)
Jan
Hi Jan!
Sorry for replying a little late, I was on a little-big vacation
So my problem is still here.
I'am an official photographer, I know about the sizing, but I think you maybe missunderstand my problem.
My resized pictures are totaly correct on my local PC,
landscape: 640x480 (WxH)
portrait: 480x640 (WxH)
...but...
After I upload them via FTP to my site, and make the galery from the phoca admin panel, I see the pictures on frontend in the wrong size.
Landscapes are OK [640x480 (WxH)] in the modal box, but I don't know why, the portrait photos are auto resized to 360x480 (WxH).
This is very confusing, and makes the photos messy.
I set the modal box and the big image size's size far enough (750x750) in the admin panel.
Please help me...
Thank You!
Re: Image size problems
Posted: 02 Aug 2008, 18:38
by Jan
Hi, the detail box or box for images has specifed height e.g. 480 ...
So if you add image,
- e.g.: 640 x 480, you get: 640 x 480
- e.g.: 480 x 640, there is still only 480 for the height of the box, so Phoca Gallery will resize the image to: 360 x 480
this means:
640W x 480H ==> 480H (image)
== 480H (box) ... image can be displayed in the box ...
OK
480W x 640H ==> 640H (image)
!= 480H (box) ... image cannot be displayed in the box ...
FALSE so we must do resizing:
360w x 480H ==> 480H (image)
== 480H (box) ... image can be displayed in the box ...
OK
This is very confusing, and makes the photos messy
... It is not confusing, it is only math
You can change it, if you e.g. create two categories ... one with box height 480 for landscapes, one with box height 640 for portraits...
If the boxes should have the same height, there is no way (except cropping images or making deformities) how we can knock down the math ...
Re: Image size problems
Posted: 02 Aug 2008, 19:14
by Peet82
Thanks!
I see what you say, and I know it is math, but in Phoca G, no way to make it under 1 category?
I see many galery systems, where the "modal box" 's size changing if a smaller or bigger picture (landscape or portrait) will be shown, but not make any size modification on the pictures. It is also not clear, why the portrait picture doesn't fit to the box if I set a higher value to it's size.
Re: Image size problems
Posted: 02 Aug 2008, 20:17
by Jan
no in one category
other galleries system --> because other galleries use
modal box IMAGE, but Phoca Gallery use
modal box IFRAME because of Phoca Gallery features ...
Jan
Re: Image size problems
Posted: 04 Aug 2008, 21:11
by Peet82
Thank You, this problem is solved!
Just one other question.... I have more than 100 pictures in 1 gallery... auto thumbnails are generated for the first 100, and after I have to manualy go to the gallery, and after the auto generating continues.
But my big question is... on the website, I can see the first 100 pictures. I can set Joomla to make page or item number selection, but I hate this "selecting" function.
I want to see all images after I click on a gallery, I don't want my users to clicking from page to page.
Can you help me about this? Some joomla core modification, or on Phoca Gallery?
Thx again!
Re: Image size problems
Posted: 04 Aug 2008, 22:28
by Jan
it is a part of Joomla framework... but I don't recommend doing some changes here... if you will disable the pagination, it can 'kill' your server
... seriously, it can slow down your server because of getting extensive sql outcomes by every user who visits your page...
Jan
Re: Image size problems
Posted: 05 Aug 2008, 08:28
by Peet82
I have maximum 200 pictures in 1 gallery... I don't mind if here is a framework limit, just I need 200 instead of 100 :-/
Can you help me, where to change is?
Re: Image size problems
Posted: 05 Aug 2008, 14:15
by Jan
No
, I wanted to add specific pagination to the Phoca Gallery, but there were some problems, so this is still as feature request ... because I still don't know what exactly should be changed .. so I cannot help you because I bymyself don't know how to change it
Jan