Page 1 of 2

incorrect thumbnail size in second instance of image module

Posted: 25 Aug 2014, 10:32
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.

Re: incorrect thumbnail size in second instance of image mod

Posted: 25 Aug 2014, 22:52
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

Re: incorrect thumbnail size in second instance of image mod

Posted: 26 Aug 2014, 08:26
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 )

Re: incorrect thumbnail size in second instance of image mod

Posted: 26 Aug 2014, 20:39
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

Re: incorrect thumbnail size in second instance of image mod

Posted: 26 Aug 2014, 21:28
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.

Re: incorrect thumbnail size in second instance of image mod

Posted: 27 Aug 2014, 16:09
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%;
}

Re: incorrect thumbnail size in second instance of image mod

Posted: 31 Aug 2014, 22:27
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

Re: incorrect thumbnail size in second instance of image mod

Posted: 01 Sep 2014, 10:13
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 ).

Re: incorrect thumbnail size in second instance of image mod

Posted: 01 Sep 2014, 22:30
by Jan
Hi, yes, both have different output.

Re: incorrect thumbnail size in second instance of image mod

Posted: 02 Sep 2014, 00:10
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.