  devicemanage Premium join:2002-03-16 Chalfont, PA
·Comcast
·Vonage
·Verizon FIOS
| Hosting Images
Currently I am hosting my own web site through IIS. On my home page I have a hidden button that sends me into one of my hard drives. In there I can view whatever pictures I have on my drive. When I click on the link for a given picture, it slowly downloads (only have 256k up) but it doesn't resize in my browser. Am I doing something wrong when I pull the pics off my camera? Any help would be greatly appreciated...
Thanks! |
|
  orinoco Are You Sirius? Premium join:2003-06-29 irrelevant
| Images downloaded off a digital camera are not automatically resized. You'll have to use an album or image program to resize the images or better yet create a thumbnail gallery.
IE 6 and Mozilla have an option to resize images larger than the screen, but you'll still be downloading the full image.
As a side note, be careful with how you setup your web server. IIS isn't the best web server security-wise if not setup correctly. Make sure your NTFS permissions only allow IUSR_ read access and no script permissions. -- ___________________________ And that's the bottom line. |
|
  devicemanage Premium join:2002-03-16 Chalfont, PA
·Comcast
·Vonage
·Verizon FIOS
| Thanks for the heads up on that. I did otice that my virus protection caught some scripts on the ftp side...
Back to my question. I do not mind that users have to d/l the whole image, I just want it to resize and fit their browser after it finishes the d/l - is there any way to make sure this happens to all people who visit my site and click on a link for a picture. |
|
  nixen Rockin' the Boxen Premium join:2002-10-04 Alexandria, VA
·Cox HSI
·Speakeasy
| said by devicemanage : Back to my question. I do not mind that users have to d/l the whole image, I just want it to resize and fit their browser after it finishes the d/l - is there any way to make sure this happens to all people who visit my site and click on a link for a picture.
YOU may not care, but the other people sitting at the other end of that 256Kbps trickle will if you're pushing multi-megabyte files at them. I'd suggest you create thumbnails that link to the full-sized image. That way, if they actually want to see the full-sized image, they have the option of waiting for it.
At any rate, if you want the image to display at a certain size (larger or smaller than the source image), simply use the width/height size tags. These can be magnification/de-magnification percentages or can be absolute pixel sizes.
-tom -- "There are 10 types of people in the world... those who understand binary and those who don't." "That's only 2 types of people, moron" |
|
  devicemanage Premium join:2002-03-16 Chalfont, PA
·Comcast
·Vonage
·Verizon FIOS
| I hear ya - most of the images are like 200 to 300 kb, nothing too huge. As far as the resizing goes, I have seen browsers automatically do this. As a matter of fact mine does do this when I visit other sites, but when I d/l my own images it does not. Not on my pc and not on others, why is that? Is that because the pixel count of the image is greater than the pc's pixel count? |
|
  orinoco Are You Sirius? Premium join:2003-06-29 irrelevant
| reply to orinoco
 IE |  Firebird |
said by orinoco : IE 6 and Mozilla have an option to resize images larger than the screen, but you'll still be downloading the full image.
Screnshots of the settings for IE and Firebird (Mozilla). -- ___________________________ And that's the bottom line. |
|