These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:06 pm Advanced search

IMG SRC and FULLSRC

Do you think the HTML spec should do something differently? You can discuss spec feedback here, but you should send it to the WHATWG mailing list or file a bug in the W3C bugzilla for it to be considered.

new http feature

Postby PMB9 » Fri Feb 20, 2009 7:56 pm

I propose a new HTTP feature, so the http client can request a certain image size. This would be also useful for movies.
PMB9
<h3>
 
Posts: 50
Joined: Sat Jan 26, 2008 5:38 pm

Re: new http feature

Postby zcorpan » Sat Feb 21, 2009 10:32 am

PMB9 wrote:I propose a new HTTP feature, so the http client can request a certain image size. This would be also useful for movies.
Might be useful indeed but this is the wrong forum for HTTP proposals. :)
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden

Postby Tom Duhamel » Fri Feb 27, 2009 11:43 pm

Here is a common way we used for years:

<a href="image-3200x2400.jpg" target="imageframe"><img src="image-320x240.jpg" width="320" height="240" alt="Click for larger image"></a>

However this method has never been very elegant, and many authors today rely to some JavaScript or other client-side method to open the image in a small window, or even as a layer over the page where the original image is showing. [Use-Case]

I do like this idea:
<img src="image-320x240.jpg" fullsrc="image-3200x2400.jpg" alt="Click for larger image" width="320" height="240">

I would image a browser opening the 'fullsrc' image as either a small window or a temporary layer over the original 'src' image, without affecting the original page directly (thus not breaking layout or anything). [Implementation]

Off-topic:

I propose a new HTTP feature, so the http client can request a certain image size. This would be also useful for movies.


HTTP is a transport protocol. I always thought it should only be allowed to do as little as possible to accomplish its task. I don't think this task would be appropriate for the protocol (resizing images on the fly is somewhat resource intensive). However, this is easily and actually often done by some server-side script, an example being GD in PHP[/quote]
Tom Duhamel
<h6>
 
Posts: 5
Joined: Sun Feb 15, 2009 9:26 pm
Location: Sherbrooke, Québec, Canada

Previous

Return to Feedback on the Specs

Who is online

Users browsing this forum: No registered users and 1 guest