Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Reserving space for images in Zentools2 gallery

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi Paul

Is there any way to reserve space for the images in a zentools2 module gallery in order to prevent reflow on the page during loading of the images?

We can do this for images that are individually embedded in an article by using html/css such as:
<div class="image-reflow-container ratio-4-1">imagehere</div>
and then various css classes are associated with this html in the custom.css file.

However if we add these classes " image-reflow-container ratio-4-1" in the advanced settings - Module Class Suffix box in a zentools2 module it seems to apply to the images as a whole as opposed to each individual image.

It is possible to reserve space for text under the images by adding html such as that mentioned above but not for the actual image as there is nowhere, as far as I can see, that would allow any html / css to be targeted at each individual image in a zentools2 gallery module.

Thanks for your help.

Brian
  • Brian's Avatar
  • Brian
  • 12 Month Developer
  • 40 posts
  • 10 Thanks
  • Karma: 1
Last Edit: 3 years 1 month ago by Brian. Reason: to add code around div
The administrator has disabled public write access.
Hi Brian,

Not really but do you have lazy load enabled in the template?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul

No we haven't tried lazy load. We'll have a look at this option to see how it performs.

Thank you

Brian
  • Brian's Avatar
  • Brian
  • 12 Month Developer
  • 40 posts
  • 10 Thanks
  • Karma: 1
The administrator has disabled public write access.
Not sure if this will do the trick but try with it on and with it off

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
And Happy Christmas :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul. And the same to you. I hope you manage to have some time off over the festive period.
  • Brian's Avatar
  • Brian
  • 12 Month Developer
  • 40 posts
  • 10 Thanks
  • Karma: 1
The administrator has disabled public write access.
Fingers crossed on that

Got lots of cooking to do - the problem with being a trained chef :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers