Shape 5

General Category => Suggestions => : castortroy October 10, 2016, 01:42:24 AM



: LazyLoad and kunena 5 smileys (template Forte for Joomla)
: castortroy October 10, 2016, 01:42:24 AM
Hi :)

I'm using this nice template, but I notice a little problem with that function: it need to roll first (just a bit) to show images on screen ; so while using kunena 5.0.1 and a user would called a smiley, the pop-up which normally shows them is blank, the user has to scroll up/down the screen then they appear.

Is it possible to show directly what is on screen?

thank you for your work!


: Re: LazyLoad and kunena 5 smileys (template Forte for Joomla)
: mikek October 10, 2016, 07:25:53 AM
Hello,

I'm not sure what you mean, that is how lazy load is supposed to work; the images don't show until the user interacts with scrolling the page.


: Re: LazyLoad and kunena 5 smileys (template Forte for Joomla)
: castortroy October 10, 2016, 10:39:23 AM
That is! But I think that lazyload has to except images which are already on screen:/

But it would be cool to have more options, as the extension https://extensions.joomla.org/extension/lazy-load-for-joomla (https://extensions.joomla.org/extension/lazy-load-for-joomla) where we can disable lazyload for a component.

Unfortunately, and apparently, this extension don't work with this template. Looks like template define if or not lazyload is launch, and decide for the extension too (without his possibilities).

and thank you to be enough patient with me :)


: Re: LazyLoad and kunena 5 smileys (template Forte for Joomla)
: mikek October 10, 2016, 07:00:07 PM
Hello,

The script has two options: the first is to apply it to all images on the page, which would apply to all components and content. The second is to only apply it to images that use the lazy load class on them, which would mainly only work for custom content where you can control the class names.


: Re: LazyLoad and kunena 5 smileys (template Forte for Joomla)
: castortroy October 23, 2016, 09:47:14 AM
Sorry for the time!

I do not know code, Is it possible to desactive lazyload function of the template in order to use an extension one?

If I disable in template, it disable too the extension.

thx :)


: Re: LazyLoad and kunena 5 smileys (template Forte for Joomla)
: mikek October 24, 2016, 10:20:23 AM
Hello,

You can disable lazy load from the Javascript tab in the template's configuration.


: Re: LazyLoad and kunena 5 smileys (template Forte for Joomla)
: castortroy October 30, 2016, 08:17:41 AM
I know but it would seem that template has higher priority than the joomla lazyload extension  ; so, or I disable in template, it disable the joomla extension too.  ???

Hello,

You can disable lazy load from the Javascript tab in the template's configuration.


: Re: LazyLoad and kunena 5 smileys (template Forte for Joomla)
: mikek October 31, 2016, 07:19:06 AM
Hello,

I don't know what you mean, we don't have an extension for lazy load. The template function is turned off where I stated above. If you are using a third party extension for this same kind of feature we don't provide support on that.


: Re: LazyLoad and kunena 5 smileys (template Forte for Joomla)
: castortroy November 01, 2016, 07:27:18 AM
Sorry to forget some info, yes its about a third party extension ; which complete the lack of template lazyload function.

1) In the futur, could we have more functions for LazyLoad as component/*.gif exceptions ?

2) Is it possible to disable, in the template code, the detection of LazyLoad (on or off) ?

Thx :)


: Re: LazyLoad and kunena 5 smileys (template Forte for Joomla)
: mikek November 01, 2016, 07:42:48 AM
Hello,

1. We do not have any plans of adding more features to this.

2. I've stated above several times that you can disable this under the Javascripts tab.


: Re: LazyLoad and kunena 5 smileys (template Forte for Joomla)
: castortroy November 01, 2016, 09:21:16 AM
Damned, ok.

I already know that we have this possibility in template configuration ; I thought it was possible to make undetectable the template function in order to use the third party extension, by manipulate some files  :-\