Image not show | masonry effect

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

Image not show | masonry effect

Post by massikk »

Christine I've created new post because I've found my problem and this post is more clean.

I've solve the error of not whow images disabling different thumbnail height | Yes, masonry effect.

Now all images work, but when I look category the effect is this: https://allevamentochihuahua.com/foto-a ... uahua.html

Now I'm trying to look in code if I solve problem.. I want a masonry effect, but this add a l1 and s1 to images and some not show.
massikk
Phoca Member
Phoca Member
Posts: 40
Joined: 09 Nov 2019, 14:39

Re: Image not show | masonry effect

Post by massikk »

Solve!!!
In administrator I've disabled different thumbnail, Yes with masonry.
In /components/com_phocagallery/views/category/view.html.php
I've found this line

Code: Select all

	// Masonry effect
		if ($this->tmpl['diff_thumb_height'] == 2) {
and replace with

Code: Select all

// Masonry effect
		if ($this->tmpl['diff_thumb_height'] == 2) { 
In this case phocagallery not create a false url, but masonry is also actived!

I know that this is temporary solve and in next update I lose this mod, but now is only solution for me.. I hope that new release correct my problem.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image not show | masonry effect

Post by Jan »

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