Some image not show

Phoca Gallery - image gallery extension
massikk
Phoca Member
Phoca Member
Posts: 40
Joined: 09 Nov 2019, 14:39

Re: Some image not show

Post 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.
christine
Phoca Hero
Phoca Hero
Posts: 2938
Joined: 28 Nov 2010, 17:20

Re: Some image not show

Post 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
massikk
Phoca Member
Phoca Member
Posts: 40
Joined: 09 Nov 2019, 14:39

Re: Some image not show

Post by massikk »

Additional thumbnails set to no
massikk
Phoca Member
Phoca Member
Posts: 40
Joined: 09 Nov 2019, 14:39

Re: Some image not show

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Some image not show

Post 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
If you find Phoca extensions useful, please support the project
Post Reply