Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply "stretch" functionality to img elements? #436

Open
nickhudson opened this issue Feb 15, 2016 · 2 comments
Open

Apply "stretch" functionality to img elements? #436

nickhudson opened this issue Feb 15, 2016 · 2 comments

Comments

@nickhudson
Copy link

Hey guys, I'm just wondering if anyone's been able to figure out how to apply the dynamic re-sizing functionality to img elements, instead of having to pass an array of images. I'm using Meta Slider Pro (via Wordpress) and I'd like to be able to backstretch the slide images, if possible.

Thanks,

@NormanHoehne
Copy link

That is exactly what I am looking for @nickhudson!

For SEO purposes it is better to have an existing picture (-Element) that is loaded with the DOM and as such readable by Search Bots without JavaScript instead of loading the image after the DOM trough asynchronous Javascript.

Furthermore it is also better for mobile devices to apply the backstretch on an existing -Element that has responsive images functionality (srcset). It saves bandwidth and improves loading time alot.

@srobbin wouldn't it be easy to apply the backstretch functionality directly to an -Element? A slider functionality wouldn't be needed as well so the plugin is more lightweight than it already is.

@NormanHoehne
Copy link

NormanHoehne commented Sep 28, 2016

@robincornett: Wouldn't this fix the discussed SEO issues with the display-featured-image-genesis plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants