Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Macintosh > Re: Magnifying ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 31 Topic 597 of 624
Post > Topic >>

Re: Magnifying JPEGs viewed in Safari?

by dorayme <doraymeRidThis@[EMAIL PROTECTED] > May 3, 2008 at 01:01 PM

In article <jollyroger-99401C.13212602052008@[EMAIL PROTECTED]
>,
 Jolly Roger <jollyroger@[EMAIL PROTECTED]
> wrote:

> In article <siegman-21CABC.10375702052008@[EMAIL PROTECTED]
>,
>  AES <siegman@[EMAIL PROTECTED]
> wrote:
> 
> > Just downloaded a gorgeous 2592 X 1944 pixel JPEG of an equally
gorgeous 
> > Alpine scene, which opened initially at browser window size
> > 
> > However, the pointer, when moved over the picture, turned into a
little 
> > magnifying glass which, when clicked, re-centered and magnified the 
> > image within that window. blowing it up to what I guess was "a one 
> > screen pixel per image pixel" magnification.
> > 
> > Haven't found any mention of this neat capability in Safari Help.  Is 
> > this a Safari-specific feature?  
> 
> No.  As Steve mentioned, this feature has been around in Netscape-based 
> browsers for a long, long time. Safari copied it from Netscape/Firefox.
> 
> > Does it happen automatically, or is it 
> > something that needs be coded into the image source
> 
> It's coded into the web browser.
> 
> > or into the HTML 
> > code that puts the image on a web site?
> 
> You could write code into your web pages that does this - possibly in a 
> slicker way, with some sort of animation - if you wanted to do that.

It would be a very unwise thing, generally speaking, to make a webpage 
with such a large picture, (who has such a massive screen? what would 
dialup users or slow broadband think?). But given that a website author 
wants to be able to cater for large screens, he could prepare different 
sized images, from say 400px across to 1600px and simply create links 
for the user to go bigger and bigger (perhaps three or four sizes would 
suffice!). 

The advantage is bandwidth and clarity, especially bandwidth. No one 
wants to download a 2592 px wide pic if they are only interested in 
seeing it at 400px.

But let us suppose the user knows what he is in for and wants big as 
well as small and it be *continuous* rather than in set sizes. One way 
to do this is to simply code for the big picture but put a relative 
width specification in (and hope the user does not have a screen much 
bigger than the native pic size - otherwise quality seriously starts to 
suffer). The width would be relative in percentage terms to some html 
element. The element itself might be set to be the width of the browser 
window. This works well on most Mac browsers:

<http://dorayme.890m.com/alt/rel_sizing.html>

Note that here, the width of the img is set to 100% width of the 
containing zero margined and padded div; the div fills the zero margined 
and padded body; and so the image which is sole content, fills the 
view****t horizontally.

It will not necessarily fill the view****t height because the height 
specification is left to the browser to calculate, and it quite properly 
uses the natural px height of the picture file. You should never get 
horizontal scroll bars with the above, but if you play about with the 
browser window size, you will get vertical ones.

You *can* specify for height too, but I will stop here...

-- 
dorayme
 




 31 Posts in Topic:
Magnifying JPEGs viewed in Safari?
AES <siegman@[EMAIL PR  2008-05-02 10:37:57 
Re: Magnifying JPEGs viewed in Safari?
"Steve W. Jackson&qu  2008-05-02 12:47:39 
Re: Magnifying JPEGs viewed in Safari?
Jolly Roger <jollyroge  2008-05-02 13:21:26 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-03 13:01:29 
Re: Magnifying JPEGs viewed in Safari?
Lewis <g.kreme@[EMAIL   2008-05-05 12:04:27 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-06 10:59:21 
Re: Magnifying JPEGs viewed in Safari?
Matthew Lybanon <lyban  2008-05-06 08:10:00 
Re: Magnifying JPEGs viewed in Safari?
The NewGuy <noemailher  2008-05-06 12:11:13 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-07 08:28:16 
Re: Magnifying JPEGs viewed in Safari?
The NewGuy <noemailher  2008-05-06 19:25:29 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-07 10:45:14 
Re: Magnifying JPEGs viewed in Safari?
The NewGuy <noemailher  2008-05-07 17:24:42 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-08 11:40:15 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-08 11:55:07 
Re: Magnifying JPEGs viewed in Safari?
The NewGuy <noemailher  2008-05-07 21:37:53 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-08 13:37:43 
Re: Magnifying JPEGs viewed in Safari?
The NewGuy <noemailher  2008-05-08 18:03:31 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-09 12:05:28 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-07 08:27:41 
Re: Magnifying JPEGs viewed in Safari?
Lewis <g.kreme@[EMAIL   2008-05-07 11:54:13 
Re: Magnifying JPEGs viewed in Safari?
Gregory Weston <uce@[E  2008-05-07 15:24:41 
Re: Magnifying JPEGs viewed in Safari?
Lewis <g.kreme@[EMAIL   2008-05-07 21:37:15 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-08 14:42:47 
Re: Magnifying JPEGs viewed in Safari?
Lewis <g.kreme@[EMAIL   2008-05-08 04:06:18 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-08 20:38:48 
Re: Magnifying JPEGs viewed in Safari?
Lewis <g.kreme@[EMAIL   2008-05-09 11:06:42 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-10 12:31:36 
Re: Magnifying JPEGs viewed in Safari?
Gregory Weston <uce@[E  2008-05-08 08:27:44 
Re: Magnifying JPEGs viewed in Safari?
Lewis <g.kreme@[EMAIL   2008-05-09 11:27:56 
Re: Magnifying JPEGs viewed in Safari?
dorayme <doraymeRidThi  2008-05-08 09:53:07 
Re: Magnifying JPEGs viewed in Safari?
Gregory Weston <uce@[E  2008-05-02 14:23:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 22:40:59 CST 2008.