Closed GorvGoyl closed 4 years ago
hey @JerryGoyal ,
Mostly all extra CSS and wrapper is applied for blur animation between low quality preview and right size image (or blur-hash image and right size image). We can add a param (image attribute) ci-no-css to not apply any CSS for that image. Does it sound good for you?
@dzmitry-stramavus yes, please do that. many devs use images in different ways with weird css rules attached to it. so, attaching your css even though it follows the right practice would break things. point is let there be an configurable option to only resize image and no additional css. P.S: regarding the blur technique , can't we just use the progressive jpeg which does the blurriness by default?
hey @dzmitry-stramavus is there any progress on this?
hey @JerryGoyal !
it's ready in 3.3.1
https://github.com/scaleflex/js-cloudimage-responsive/blob/master/README-PLAIN.md
would be great to have some feedback, thx!
@dzmitry-stramavus thank you for hearing the feedback and implementing the lightweight version. much needed and works well for me.
I'm not sure the purpose but the plugin js is adding its own CSS which is breaking my bootstrap carousel.
Source code:
Browser Output:
I mean why?
I have a carousel with variable height of images and the carousel could adjust its container height based on the image height (height:auto; width:100%), now because of the injected CSS, my carousel has the fixed height which is i am assuming based on the height of first image in carousel.
Can we just have appended
?w=2600/1300/600
etc based on the calculated width by your js? Is it achievable? no fancy stuff just the bare minimum and the job will be done.