Page 2 of 2

Re: Some image not show

Posted: 11 Dec 2019, 21:59
by massikk
Error is in administrator/components/com_phocagallery/libraries/phocagallery/file/filethumbnail.php
I don't know php, but I try to found problem.. and I've look that at line 22

Code: Select all

	public static function getThumbnailName($filename, $size)  
if I remove $size

Code: Select all

	public static function getThumbnailName($filename)  
All image url in site work, but show very small image.. therefore I've remove my edit in code.

I've try also to remove all thumbnail and regenerate it, but the error not solve... I don't know why some images have size 1, but your thumb haven't 1 in size!!

If developer can help me I can pay.

Re: Some image not show

Posted: 11 Dec 2019, 23:22
by christine
Hi,

just an idea, after checking some CSS codes. It seems, maybe? you have enabled under Options > Thumbnails > Additional Thumbnails?

"Additional Thumbnails" will be used for e.g. masonry: https://www.phoca.cz/documents/2-phoca- ... -demo-site

Kind regards
Christine

Re: Some image not show

Posted: 12 Dec 2019, 07:41
by massikk
Additional thumbnails set to no

Re: Some image not show

Posted: 12 Dec 2019, 08:07
by massikk
To solve the problem we need to understand when and why phocagallery inserts l1 instead of l and s1 instead of s.
I hope a developer can help me.

Re: Some image not show

Posted: 12 Dec 2019, 14:27
by Jan
Hi, on your site, it seems that additional thumbnails are used.

See the relationship:
https://www.phoca.cz/themes/2-phoca-gal ... parameters

So, check all the parameters, if they are not enabled:

- Different Thumbnailheight
- Additional Thumbnails
- Mosaic Effect (Categories View)

The parameters just tells Phoca Gallery to use the additional thumbnails. If they are disabled, standard thumbnails are used. If they are enabled and additional thumbnails are not created, empty image will be displayed instead.

So there are two solutions:

- use additional thumbnails BUT create them for all images
- or do not use additional thumbnails and let standard thumbnails displayed.

Jan