Questions tagged [blazy]

13 questions
8
votes
2 answers

Some lazy load background images (b-lazy) not showing in slick carousel

I've been banging my head all long trying to solve this issue. Basically I'm using Slick Carousel and Blazy lazy load together to display some background images in a carousel. Now before you answer, I'm well aware Slick comes with lazy loading, but…
finners
  • 875
  • 16
  • 31
1
vote
2 answers

Lazy Loading modal windows, image in modal doesn't display

I am trying to lazy load images that display when clicking on a css based modal window. I am using blazy library and the image in the modal window isn't displaying. Troubleshooting: I confirmed the images load regularly I switched out img src for…
Lid
  • 115
  • 11
1
vote
1 answer

replace image with lower resolutiion quality image on load with blazy plugin

In this demo: http://dinbror.dk/blazy/examples/?ref=blog at paragraph: 1.3: Lazy load image example with low res image placeholder the blazy plugin uses a lower quality pixely image to preload the image and then serve the high quality image right…
user2513846
  • 1,151
  • 2
  • 16
  • 39
1
vote
2 answers

blazy.js simple example doesn't work

1. Summary Simple blazy.js example doesn't work for me. I don't understand, what I do wrong. 2. Settings I download and initialize blazy.js as write in official site. My example markup:
Саша Черных
  • 2,561
  • 4
  • 25
  • 71
1
vote
4 answers

bLazy and Vue.js - DOM not ready fast enough

I am working on simple gallery with pictures. I wanted to use bLazy plugin to load images, all works fine except the fact that I wanted to load image list via external JSON file and because of that images elements are not created fast enough, so…
TheFullResolution
  • 1,251
  • 1
  • 15
  • 26
1
vote
1 answer

Blazy on AngularJS

Hi guys I'm trying to make blazy work with AngularJs, I followed their documentation but it still does not work. Here's the snippets of my code: Script: (function() { var bLazy = new Blazy({ breakpoints: [ …
Ian
  • 31
  • 4
0
votes
0 answers

Lazy load path with parcelJs

I'm using parcelJs as build tool on a project. The project has blazy package for lazy loading for images. My problem comes from the HTML, I have my images inside a src/img folder, and the src attribute works fine but the data-src doesn't. Is there…
0
votes
0 answers

SOLVED Problem with runnig a PHP fille locally, syntax error, unexpected end of file

Enabled short_open_tag in php.ini and now its working Im trying to run simple blazy script locally with XAMPP And I'm getting error that Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\gallery.php on line 61 It works perfectly…
0
votes
1 answer

Webpack Encore - How to import any library (minified version if possible)?

I have some problems with webpack Encore. I'm crrently trying to add this library to my project : https://github.com/dinbror/blazy but when i do a require on the js files(minified or not) from this library, I got this error jquery.js:3827 Uncaught…
Etshy
  • 870
  • 7
  • 25
0
votes
1 answer

Changing a bLazy success element

I want to add a class to an image if it has a specific class in a callback function. After adding the class the other should be removed. http://dinbror.dk/blog/blazy/#Callback ;(function() { var bLazy = new Blazy({ success: function(ele){ …
0
votes
1 answer

bLazy image lazyloading not working in combination with ionic2

I am currently trying to use the bLazy lazy loading script in combination with angular2 and ionic2. Using the javascript by itself only with HTML works like a charm and as expected:
Olli
  • 1,708
  • 10
  • 21
0
votes
1 answer

bLazy image loader, how to get data src on error?

I am using blazy image loader and I am trying to get the data src from the element on error. Basically if the image is not found or invalid I want to change the last 4 letters of the image src, but I cannot figure out how to get the actual source.…
lov2code
  • 394
  • 1
  • 6
  • 19
0
votes
1 answer

How to use new automapper (v4) mapping configuration?

How to use new automapper v4 configs ? An ex: MapperConfiguration mapperConfiguration = new MapperConfiguration(cfg => cfg.CreateMap()); mapperConfiguration = new MapperConfiguration(cfg => cfg.CreateMap
Lost_In_Library
  • 3,265
  • 6
  • 38
  • 70