incorrect thumbnail size in second instance of image module

Phoca Gallery - image gallery extension
jacek_arwal
Phoca Enthusiast
Phoca Enthusiast
Posts: 57
Joined: 16 Sep 2009, 09:45
Location: Opole, Poland
Contact:

incorrect thumbnail size in second instance of image module

Post by jacek_arwal »

You can see this error on http://www.rajder.arwal.com.pl. When there is only 1 instance of phoca image module ( "nowe filmy" ) thumbnails "nowe filmy" are medium ( size is set to automatic , but also when set to medium is OK ). But when there are two instances ( "losowe zdjęcia" , "nowe filmy" ) thumbnails in "nowe filmy" are small regardless of module setiings. Thumbnails in "losowe zdjęcia" are small ( module is set to mosaic ) and this is OK. Please look at attached pictures - this is OK Image ( you can see it on all pages except main )
And on main page thumbnails are incorrect Image. It was checked on 2 templates so it looks as module error.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: incorrect thumbnail size in second instance of image mod

Post by Jan »

Hi, do you mean incorrect thumbnail size or box site, it seems like the thumbnails are the same but the boxes are different :idea:

Jan
If you find Phoca extensions useful, please support the project
jacek_arwal
Phoca Enthusiast
Phoca Enthusiast
Posts: 57
Joined: 16 Sep 2009, 09:45
Location: Opole, Poland
Contact:

Re: incorrect thumbnail size in second instance of image mod

Post by jacek_arwal »

Boxes are smaller . Thumbnails where there is one module are 100 pixels and when there are 2 modules they are 48 pixels ( I am talking only about thumbnails in "nowe filmy" module on the left )
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: incorrect thumbnail size in second instance of image mod

Post by Jan »

Hi, so there can be two possible options:

- the thumbnails were done with different thumbnail settings - one group with 100px, second with 48
- some css or some code resizes the thumbnails directly on the site

Are you able to display real size of the thumbnails on your site - e.g. Web Developer extension for Firefox can display such information - to get info if the thumbnails are really small or if they are resized by html/css features.

Jan
If you find Phoca extensions useful, please support the project
jacek_arwal
Phoca Enthusiast
Phoca Enthusiast
Posts: 57
Joined: 16 Sep 2009, 09:45
Location: Opole, Poland
Contact:

Re: incorrect thumbnail size in second instance of image mod

Post by jacek_arwal »

They were resized on the site. From developer tools I have an information :

<img src="/images/phocagallery/Filmy/thumbs/phoca_thumb_m_0hQsyYxvMTo.jpg" alt="rafting Slowacja 201308 krotki" height="104" width="104">

So it is correct but they are displayed 48x48 pixels.
jacek_arwal
Phoca Enthusiast
Phoca Enthusiast
Posts: 57
Joined: 16 Sep 2009, 09:45
Location: Opole, Poland
Contact:

Re: incorrect thumbnail size in second instance of image mod

Post by jacek_arwal »

I checked some more things so I think that this is module issue.

Module "nowe filmy" , type default , thumbnail size : medium
Module "losowe zdjęcia" , type mosaic , thumbnail size : small
1. First screen - this is one module "nowe filmy" , thumbnails and boxes are OK , template is Beez 5.
Image
2. Second screen - there are 2 modules "losowe zdjęcia" and "nowe filmy". Module "nowe filmy" - all boxes are not in correct size ,1 thumbnail is not corrrect size , pictures are overlapping, template is Beez 5
Image
3. Third screen - there are 2 modules "losowe zdjęcia" and "nowe filmy". Module "nowe filmy" - all boxes are not in correct size ,1 thumbnail is not corrrect size , pictures are overlapping, template is jsn epic pro
Image
4. Forth screen - all boxes not correct size , thumbnails not correct size , template css is modified, template is jsn epic pro
Image

css modification in template css ( added at the end of file )
#phocagallery-module-ri img {
width: 100%;
}
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: incorrect thumbnail size in second instance of image mod

Post by Jan »

Hi, testing now, see no problem with different instances, see image:

Image

Are you using the same type of the module, e.g. mosaic type is different to standard one.

Jan
If you find Phoca extensions useful, please support the project
jacek_arwal
Phoca Enthusiast
Phoca Enthusiast
Posts: 57
Joined: 16 Sep 2009, 09:45
Location: Opole, Poland
Contact:

Re: incorrect thumbnail size in second instance of image mod

Post by jacek_arwal »

The problem that I am using diffrent types. "Losowe zdjęcia" is mosaic - small thumbnails and "Nowe filmy" is normal ( auto or medium thumbnails ).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: incorrect thumbnail size in second instance of image mod

Post by Jan »

Hi, yes, both have different output.
If you find Phoca extensions useful, please support the project
jacek_arwal
Phoca Enthusiast
Phoca Enthusiast
Posts: 57
Joined: 16 Sep 2009, 09:45
Location: Opole, Poland
Contact:

Re: incorrect thumbnail size in second instance of image mod

Post by jacek_arwal »

Look at your example. In your example thumbnails in both instances are the same size - small. When I make both instances with small thumbnails it also works.

The problem is when you make diffrent settings for instances.

In my case thumbnails in both instnaces are set to diffrent sizes. And in module "Nowe filmy" boxes are small - they should not ,first thumbnail is small ( it should be medium ), all thumbnails are overlapping.
Post Reply