Stuart Wright
Well-known member
Thanks for this addon, which is working well on AVForums. As usual there are some people who don't like it. How difficult would it be to have an option in the user preferences to switch it off, please?
Atm, what I do is a custom field which triggers a user promotion to add them to a user group with the option enabled. This will take about 10-25 minutes to setup in the XenForo AdminCPThanks for this addon, which is working well on AVForums. As usual there are some people who don't like it. How difficult would it be to have an option in the user preferences to switch it off, please?
We have too many usergroups already, so I'm reluctant to add another just for this.Atm, what I do is a custom field which triggers a user promotion to add them to a user group with the option enabled. This will take about 10-25 minutes to setup in the XenForo AdminCP
An actual user option wouldn't be much work, but it comes down to scheduling. But it will be about a week or two before I can work on it.
It works on the attachments and images.@Xon does this work with attachments, or only images loaded using the [img] tag?
You should be apply it as CSS to add the font awesome icon, and then manually setup the CSS spinning. But there is no direct support for font awesome CSS classes.Thank you for your add-on firstly. I have some questions.
1. Any way to add font awesome animated spin icon as Loading icon of images?
2. Is possible to add that lazy loading to user avatars too ?
Thanks @Xon
By default, this add-on doesn't activate a CSS spinner. You need to implement the CSS yourself.On my case, I never really see the spinning icon anywhere. But I can tell that images are being lazy-loaded. Something wrong or that's just how it's designed recently?
Correct, it includes one it just doesn't use it@Xon Ahha! Well, I have no plan to enable any kind of spinner though. It's just that I believe I've seen a spinner GIF file included in the package somewhere before, but it was never visible on the site.
Under "Unveil effects" on the overview page is some example CSS.@Xon It seems like I do need a spinner. Huge size images take a while for me to load, and sometimes it confuse me whether there are images or not when the post is within view. Which CSS class do I need to target to apply the spinner thingy?
<script type='text/javascript'>
$(document).ready(function(){
$('.fa').addClass('lazyload');
});
</script>
.node.node_xx .forumNodeInfo .nodeIcon:after {
font-family: "FontAwesome";
content: "\e915";
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.