joomlaianer
says
i need a javascript plugin that automaticly resizes the images depending on the monitor resolution.
is there a solution ?
355 posts
- Envato Staff
- Reviewer
- Sold between 10 000 and 50 000 dollars
- Author was Featured
- Item was Featured
- Has been a member for 4-5 years
- Bought between 50 and 99 items
- Contributed a Tutorial to a Tuts+ Site
- Beta Tester
Philo01
staff
says
You can use jQuery to get the width and height of the browser and use this data to resize images.
$(window).width(); // returns width of browser viewport $(document).width(); // returns width of HTML document
$(window).height(); // returns height of browser viewport $(document).height(); // returns height of HTML document
131 posts
- Sold between 250 000 and 1 000 000 dollars
- Has been a member for 4-5 years
- Author was Featured
- Ukraine
- Author had a File in an Envato Bundle
- Referred more than 2000 users
- Bought between 10 and 49 items
- Exclusive Author
Semenov
says
This tool is cool – https://github.com/filamentgroup/responsive-images
joomlaianer
says
thanks so much for your replys.
does this also work if i resize my current browser window ?
