Jump to content

[SOLVED] automatic resizing of pictures in browser


anatak

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.