anatak Posted June 1, 2009 Share Posted June 1, 2009 I would like the browser to automatic shrink large pictures so that they fit into the browser window. Does anybody know what is needed for this ? example http://www.ridelust.com/wp-content/uploads/alfa_romeo_mito.jpg if you open the link you will see a picture. If you resize your browser window the picture will be adapted to fit into the window. What is needed to do this ? In firefox and internet explorer I can not look at the source of the picture, so I am asking here if someone knows how to do this. kind regards anatak. Quote Link to comment https://forums.phpfreaks.com/topic/160555-solved-automatic-resizing-of-pictures-in-browser/ Share on other sites More sharing options...
TheFilmGod Posted June 2, 2009 Share Posted June 2, 2009 You could easily emulate this effect using css. Snap a picture in high resolution and make a user download the high def picture. Then make the image stretch by percents, etc. Javascript might be necessary, I don't know. I really don't see how this effect is worthwhile your effort. It's seems such a painstaking effect to simulate that wouldn't give back much to the user in the long run. Quote Link to comment https://forums.phpfreaks.com/topic/160555-solved-automatic-resizing-of-pictures-in-browser/#findComment-847461 Share on other sites More sharing options...
DarkSuperHero Posted June 2, 2009 Share Posted June 2, 2009 simplest solution open the image in a new smaller window :-P Quote Link to comment https://forums.phpfreaks.com/topic/160555-solved-automatic-resizing-of-pictures-in-browser/#findComment-847748 Share on other sites More sharing options...
anatak Posted June 2, 2009 Author Share Posted June 2, 2009 I have the feeling that I am not being understood Here is what I want http://www.ridelust.com/wp-content/uploads/alfa_romeo_mito.jpg Here is what I have http://tattooartnobu.com/full.php?&image=image/pc/tattoo_full/full_2008_11_20_015.JPG as you can see in the first example the picture reisizes and in the second example it doesn't. I would like to know how I can make it so that the second picture resizes in the browser window Quote Link to comment https://forums.phpfreaks.com/topic/160555-solved-automatic-resizing-of-pictures-in-browser/#findComment-847772 Share on other sites More sharing options...
cltn77 Posted June 3, 2009 Share Posted June 3, 2009 http://tattooartnobu.com/full.php?&image=image/pc/tattoo_full/full_2008_11_20_015.JPG try using http://tattooartnobu.com/image/pc/tattoo_full/full_2008_11_20_015.JPG Quote Link to comment https://forums.phpfreaks.com/topic/160555-solved-automatic-resizing-of-pictures-in-browser/#findComment-848246 Share on other sites More sharing options...
anatak Posted June 3, 2009 Author Share Posted June 3, 2009 Thank you topic closed Quote Link to comment https://forums.phpfreaks.com/topic/160555-solved-automatic-resizing-of-pictures-in-browser/#findComment-848857 Share on other sites More sharing options...
DarkSuperHero Posted June 6, 2009 Share Posted June 6, 2009 hope you understand what happened there..... the link u provided was actually an HTML page, so you were looking at an html page not at the image itself... just for clarification :-) Quote Link to comment https://forums.phpfreaks.com/topic/160555-solved-automatic-resizing-of-pictures-in-browser/#findComment-850727 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.