Just reporting this issue with rendering images in pdf the 1pixel temporary for lazy loading is returning “red cross” which I assume is not finding the image.
Also is there a way to skip lazy load if its pdf creation? I am using DKPDF plugin also I have access to the image creation/output via “the_content” filter.
ex.
$output .= wp_get_attachment_image(
$attachment_id, $size, false, array(
'alt' => $alt,
'title' => $alt
)
);
If you can point me in the right direction that would be great.
Thanks
]]>Hi,
It seems avators of comments get doubled with your plugin when the browser disables JavaScript. Tested with the Twenty Fifteen theme.
It does not occur with images in posts.
Would be appreciated if this can be fixed. Thank you.
]]>Hello!
I want to load images in the background. It’s possible?
tnx
]]>on my website https://www.fl4kids.dk I have had unveil lazy load installed but I had to deactivate it as it coursed an error. When selecting in the ajax menu the product pics disappeared and only pics where shown by hoover (if second pic available). After deactivating lazy load it all works again. Any clue?
kr
Peter Nedergaard
Anyone else experiencing this? Works great in other browsers/OS. I’m running the latest version of WordPress (4.1.1). Would a roll-back help?
Thanks!
]]>Hi,
installed the plugin on heutegelernt.at
theme is pinboard from onedesigns.com
when the homepage loads, the thumbs of post 5 and 6 should be visible. (links to screenshots at the end).
They only appear when scrolling down (even one mousewheel “tick” is enough)
any workaround for this issue?
https://char.ly/p/albums/dump/v57wd.jpg
https://char.ly/p/albums/dump/247s4.jpg
How does this affect Google Adsense ads placed further down a page? Do you know if they are considered served, as they normally would be, or only if they are viewed? They are loaded asynchronously if that helps. I wonder if this is a policy violation as well. Anyway, thanks for your quick response to my previous question.
]]>Does this plugin in any way affect SEO? Would web crawlers view the content any differently or would anything be missing because of lazy load? Thanks
]]>hello !
good plugin work well but i have one site where there is a portfolio that have some filter : it sort all the thumb dynamically and when a thumb in the first load of the page is not on the screen when a clik on a filter the thumb doesnt load
is there a way to force the script to reload it self (callback)
]]>How can I disable this plugin on a couple elements that don’t need it?
]]>When using this plugin with the Roots developer theme (ver 6.5.2), and WP_DEBUG is TRUE, I get the following error:
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Unveil_Images::load_scripts() should not be called statically in /theme/wp-includes/plugin.php on line 470
Strict Standards: Non-static method Unveil_Images::get_url() should not be called statically in /theme/wp-content/plugins/unveil-lazy-load/unveil-lazy-load.php on line 30
Disabling the plugin clears the errors. Would love to use this plugin, but can’t with these errors.
]]>Hello,
I found the images weren’t being loaded when I had posts being dynamically inserted.
The Infinite Scrolling had a callback function so I inserted the entire unveil script again,
;(function($) {
var $w = $(window),
th = 200,
attrib = "data-src",
images = $('img[data-src]'),
inview;
images.bind('scrollin', {}, function() {
load_image(this);
});
$w.scroll(unveil);
$w.resize(unveil);
unveil();
function unveil() {
inview = images.filter(function() {
var $e = $(this),
wt = $w.scrollTop(),
wb = wt + $w.height(),
et = $e.offset().top,
eb = et + $e.height();
return eb >= wt - th && et <= wb + th;
});
images = images.not(inview.trigger('scrollin'));
}
function load_image(img) {
var $img = jQuery(img),
src = $img.attr(attrib);
$img.unbind('scrollin').hide().removeAttr(attrib);
img.src = src;
$img.fadeIn();
}
return this;
})(jQuery);
Is there a better way, tried to just trigger unveil and run it on images but it doesn’t seem to be the same Unveil.js I found here:
https://github.com/luis-almeida/unveil
*Seems an adapted or as the filename in the plugin says optimized version.
jquery.optimum-lazy-load.js
Would love to see the plugin function by default with dynamic loading such as infinite scrolling in place. Or at least a simple function call that can be introduced into the callback method.
Appreciate any thoughts on if there’s a better implementation.
Thanks
Hi, for who one want to lazy load images without using jquery most do this simple steps:
first install and activate this lovely plugin
second remove any jquery from their pages
third include lazyload.min.js or inline it
you can get lazyload.js from this link
that’s it you’re done.
i hope this can help to plugin users and also i hope plugin author add this useful trick as a feature to unevil lazy load.
and as a request i want to ask to add (data-src-mobile=”image.jpg”) to this plugin.
Thank you
]]>Hello, as per topic, the plugin appears to have no effect at all?
Example:
https://www.horizonq8.com/agent/danuta-onuszkiewicz/
Would appreciate some input. Cheers ??
]]>how can i add loader image before image load
]]>