Applellial Posted July 7, 2011 Share Posted July 7, 2011 Hi All! I have a web application with an aspanel, users can add images, the program automatically make the thumbnail. when user click on thumbnail they can see a pop up modal page. Images are in different sizes, so what I need to achieve is to get the screen resolution or browser visible area and re-size the image according to this resolution. (users could have different type of computer screen with different resolution), I need a Javascript or jquery code. Thanks in advance Link to comment https://forums.phpfreaks.com/topic/241283-resize-images-according-to-screen-resolution/ Share on other sites More sharing options...
Adam Posted July 7, 2011 Share Posted July 7, 2011 This should get you going: http://andylangton.co.uk/articles/javascript/get-viewport-size-javascript/ Link to comment https://forums.phpfreaks.com/topic/241283-resize-images-according-to-screen-resolution/#findComment-1239677 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.