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 Quote 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/ Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.