Re: [WebDNA] Image resizing on the fly
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108911
interpreted = N
texte = On 2012-03-28, at 11:55 AM, Tom Duke wrote:> Govinda,>=20> Hi - I hear you. Though if you follow the principles of 'Mobile First =Responsive Design' - which is how we plan to head - then you need to do =some server side magic to ensure that mobile users don't get hit with =the full download required for desktop users.Right.You are ahead of me here.Note, FWIW: I did notice somewhere on the MS/IE site (while in a hurry =about something else) that (IIRC) IE10 (IE9 already?) will/does =support I forget what technology (JS-based?) mechanism to serve ONLY the =right files/images *according to the media queries*. Maybe that will =catch on and get rolled into the other browsers soon enough? Anyway it =is worth noting, and also pleasant to imagine that things go the way of ="save the devs from even more headache/complication". =20On that last, more personal/human note, I also enjoy watching the =handhelds slowly gain ground to match the specs we enjoy on desktop (to =whatever extent). I try to balance 'everything that would be perfectly =done technically, today', - with - 'what I actually enjoy doing, =today'. =20In the end (and even now, for me anyway) it is the joy balance (and it's =benefit, or toll) that is going to register most. If we wait exactly 2 =weeks, we are going to have to redo the works to get it PERFECT again.-G> Still not sure yet how we'll get it to work - maybe use background =images defined in CSS - so we load up the correct size based on the =media query rule.>=20> Donovan - hi yea I'm aware of Terry's great library - I'm thinking the =imagemagick bit shouldn't be too complicated - it's the mod-rewrite bits =and the http headers (particularly as WebDNA 6.2 on CentOS doesn't let =you define the content-type headers) that I can see being awkward.>=20> - Tom
Associated Messages, from the most recent to the oldest:
On 2012-03-28, at 11:55 AM, Tom Duke wrote:> Govinda,>=20> Hi - I hear you. Though if you follow the principles of 'Mobile First =Responsive Design' - which is how we plan to head - then you need to do =some server side magic to ensure that mobile users don't get hit with =the full download required for desktop users.Right.You are ahead of me here.Note, FWIW: I did notice somewhere on the MS/IE site (while in a hurry =about something else) that (IIRC) IE10 (IE9 already?) will/does =support I forget what technology (JS-based?) mechanism to serve ONLY the =right files/images *according to the media queries*. Maybe that will =catch on and get rolled into the other browsers soon enough? Anyway it =is worth noting, and also pleasant to imagine that things go the way of ="save the devs from even more headache/complication". =20On that last, more personal/human note, I also enjoy watching the =handhelds slowly gain ground to match the specs we enjoy on desktop (to =whatever extent). I try to balance 'everything that would be perfectly =done technically, today', - with - 'what I actually enjoy doing, =today'. =20In the end (and even now, for me anyway) it is the joy balance (and it's =benefit, or toll) that is going to register most. If we wait exactly 2 =weeks, we are going to have to redo the works to get it PERFECT again.-G> Still not sure yet how we'll get it to work - maybe use background =images defined in CSS - so we load up the correct size based on the =media query rule.>=20> Donovan - hi yea I'm aware of Terry's great library - I'm thinking the =imagemagick bit shouldn't be too complicated - it's the mod-rewrite bits =and the http headers (particularly as WebDNA 6.2 on CentOS doesn't let =you define the content-type headers) that I can see being awkward.>=20> - Tom
Govinda
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Sensations (1997)
Flag checking (2000)
Showif Error Generated... (2003)
Who is doing sign-ups-got it (1998)
Execute Applescript (1997)
Passing Cart variable to subdirectory files? (1997)
[WebDNA] WebDNA not interpreting for directory (2014)
Nav. 4 probs with cart (1997)
$purchase WITHOUT creditcar (1997)
Pass a form (2003)
[ShowIf] and empty fields (1997)
More Applescript (1997)
Narrowing NT Crashing error (2000)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
different show next (1997)
Calculating Shipping (1997)
WebCat2b12 - nesting [tags] (1997)
Three new problems ... (1997)
[OT] (waaaay OT) further off topic than before (2004)
Using Cookie for client specific info? (1997)