Resizing Thumbnails

Phoca Gallery - image gallery extension
patbe60
Phoca Member
Phoca Member
Posts: 20
Joined: 09 Feb 2011, 16:22

Resizing Thumbnails

Post by patbe60 »

Hello

When I resize the middle view of images from 100x100 to a smaller size (in this case 70x90), it looks strange in IE. It seems to me that also the cell in IE will be resized and the box image is cropped. Where could I make changes that it works properly?

Image

Image

Regards
Patrik
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Resizing Thumbnails

Post by Jan »

Hi, you need to resize the background image too:
https://www.phoca.cz/documents/2-phoca-g ... ound-image

Jan
If you find Phoca extensions useful, please support the project
patbe60
Phoca Member
Phoca Member
Posts: 20
Joined: 09 Feb 2011, 16:22

Re: Resizing Thumbnails

Post by patbe60 »

Thank you, this did solve my problem.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Resizing Thumbnails

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
patbe60
Phoca Member
Phoca Member
Posts: 20
Joined: 09 Feb 2011, 16:22

Re: Resizing Thumbnails

Post by patbe60 »

Hello

I did try a lot now, but it simply doesn't work:

I created a new background image for the medium size 75x75
After I changed the settings in Options->Main->Images And Detail Window Size Settings to 70x70
After I uploaded the pics

It looks nice in FF but very ugly in IE.

Image

The pics will remain in the lower right corner in IE. In FF they are centered as expected. It only works as long as the medium size of the background image and the pics remains 100x100. But this is to big for my site (and the small size in the galery view ist to small).

It is curious that it works in the galleries overview but not in a single gallery. I don't know what to do else.
patbe60
Phoca Member
Phoca Member
Posts: 20
Joined: 09 Feb 2011, 16:22

Re: Resizing Thumbnails

Post by patbe60 »

I have found now a solution to solve this problem. As far as I can see the class "phocagallery-box-file-third" in the phocagallery.css doesn't have any influance in IE. When changing the values in the same class in phocagalleryall.css it works. The new values of "top" and "left" depend of the size of the thumbnails.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Resizing Thumbnails

Post by Jan »

Hi, IE has own css.

Jan
If you find Phoca extensions useful, please support the project
patbe60
Phoca Member
Phoca Member
Posts: 20
Joined: 09 Feb 2011, 16:22

Re: Resizing Thumbnails

Post by patbe60 »

Thank you, as far as I can see it's the phocagalleryieall.css. Is this correct?
Patrik
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Resizing Thumbnails

Post by Jan »

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