jonom / jquery-focuspoint

jQuery plugin for 'responsive cropping'. Dynamically crop images to fill available space without cutting out the image's subject. Great for full-screen images.
Other
3.14k stars 211 forks source link

Does this work with background images? #31

Closed rclai closed 10 years ago

rclai commented 10 years ago

Just wondering.

g-van-vreckem commented 10 years ago

Not currently, but it could easily be adapted as an option. Note that I started my project this way but had performance issue with background images resize in chrome (as if there was a throttling of several seconds). So I switched to this plugin

jonom commented 10 years ago

@rclai check out the section in the ReadMe called 'pure css alternative' for a way to emulate similar behaviour in modern browsers without this plugin. Also check out the helper tool - it lets you find both focus point coordinates and background position values by clicking an image.