Re: [WebDNA] Image resizing on the fly

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108910
interpreted = N
texte = --f46d042fd76c58d39304bc4fb72f Content-Type: text/plain; charset=ISO-8859-1 Tom, We use http://phpthumb.sourceforge.net/ for server side image resizing. It has a lot of great options and handles caching (resizing images on the fly from the website would slow the server without caching). This would only work if your configuration allows php to run beside WebDNA, or if your image server is separate from your DNA server. Here is an example URL from one of our images with some options: http://images.knifecenter.com/knifecenter/resize/thumb.php?src=http://images.knifecenter.com/knifecenter/benchmade-knives/images/BMHK14201SBT.jpg&w=295&h=295&bg=ffffff&far=0 Regards, Daniel Meola 301-486-0901 daniel@knifecenter.com On Wed, Mar 28, 2012 at 11:55 AM, Tom Duke wrote: > Govinda, > > 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. > > 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. > > 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. > > - Tom > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list **. To > unsubscribe, E-mail to: ** archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us > --f46d042fd76c58d39304bc4fb72f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Tom,

We use=A0 h= ttp://phpthumb.sourceforge.net/=A0for server side image resizing. It ha= s a lot of great options and handles caching (resizing images on the fly fr= om the website would slow the server without caching).=A0

This would only work if your configuration allows php t= o run beside WebDNA, or if your image server is separate from your DNA serv= er.

Here is an example URL from one of our images = with some options:
http://i= mages.knifecenter.com/knifecenter/resize/thumb.php?src=3Dhttp://images.knif= ecenter.com/knifecenter/benchmade-knives/images/BMHK14201SBT.jpg&w=3D29= 5&h=3D295&bg=3Dffffff&far=3D0=A0

Regards,
Daniel Meola
301-= 486-0901
daniel@knifecenter.com



On Wed, Mar 28, 2012 at 11:55 AM, Tom Du= ke <tom@revo= lutionaries.ie> wrote:
Govinda,

Hi - I hear you. =A0Though if you follow the pr= inciples of 'Mobile First Responsive Design' =A0- which is how we p= lan to head - then you need to do some server side magic to ensure that mob= ile users don't get hit with the full download required for desktop use= rs.

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 base= d on the media query rule.

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 h= ttp headers (particularly as WebDNA 6.2 on CentOS doesn't let you defin= e the content-type headers) that I can see being awkward.

- Tom


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--f46d042fd76c58d39304bc4fb72f-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Image resizing on the fly (Govinda 2012)
  2. Re: [WebDNA] Image resizing on the fly (Olin Lagon 2012)
  3. Re: [WebDNA] Image resizing on the fly (Govinda 2012)
  4. Re: [WebDNA] Image resizing on the fly (Daniel Meola 2012)
  5. Re: [WebDNA] Image resizing on the fly (Tom Duke 2012)
  6. Re: [WebDNA] Image resizing on the fly (Govinda 2012)
  7. Re: [WebDNA] Image resizing on the fly (Donovan Brooke 2012)
  8. Re: [WebDNA] Image resizing on the fly (Donovan Brooke 2012)
  9. Re: [WebDNA] Image resizing on the fly (Tom Duke 2012)
  10. Re: [WebDNA] Image resizing on the fly (Govinda 2012)
  11. [WebDNA] Image resizing on the fly (Tom Duke 2012)
--f46d042fd76c58d39304bc4fb72f Content-Type: text/plain; charset=ISO-8859-1 Tom, We use http://phpthumb.sourceforge.net/ for server side image resizing. It has a lot of great options and handles caching (resizing images on the fly from the website would slow the server without caching). This would only work if your configuration allows php to run beside WebDNA, or if your image server is separate from your DNA server. Here is an example URL from one of our images with some options: http://images.knifecenter.com/knifecenter/resize/thumb.php?src=http://images.knifecenter.com/knifecenter/benchmade-knives/images/BMHK14201SBT.jpg&w=295&h=295&bg=ffffff&far=0 Regards, Daniel Meola 301-486-0901 daniel@knifecenter.com On Wed, Mar 28, 2012 at 11:55 AM, Tom Duke wrote: > Govinda, > > 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. > > 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. > > 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. > > - Tom > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list **. To > unsubscribe, E-mail to: ** archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us > --f46d042fd76c58d39304bc4fb72f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Tom,

We use=A0 h= ttp://phpthumb.sourceforge.net/=A0for server side image resizing. It ha= s a lot of great options and handles caching (resizing images on the fly fr= om the website would slow the server without caching).=A0

This would only work if your configuration allows php t= o run beside WebDNA, or if your image server is separate from your DNA serv= er.

Here is an example URL from one of our images = with some options:
http://i= mages.knifecenter.com/knifecenter/resize/thumb.php?src=3Dhttp://images.knif= ecenter.com/knifecenter/benchmade-knives/images/BMHK14201SBT.jpg&w=3D29= 5&h=3D295&bg=3Dffffff&far=3D0=A0

Regards,
Daniel Meola
301-= 486-0901



On Wed, Mar 28, 2012 at 11:55 AM, Tom Du= ke <tom@revo= lutionaries.ie> wrote:
Govinda,

Hi - I hear you. =A0Though if you follow the pr= inciples of 'Mobile First Responsive Design' =A0- which is how we p= lan to head - then you need to do some server side magic to ensure that mob= ile users don't get hit with the full download required for desktop use= rs.

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 base= d on the media query rule.

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 h= ttp headers (particularly as WebDNA 6.2 on CentOS doesn't let you defin= e the content-type headers) that I can see being awkward.

- Tom


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--f46d042fd76c58d39304bc4fb72f-- Daniel Meola

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:

A little help on e-mail (HELP!!! :-) ) (1998) WebCat & Liststar (1997) [WebDNA] Copy a whole row from a db to another db or table (2017) Saving/Looking Up customer numbers (1998) Searching multiple fields (1997) Another Newbie Q: template? (1999) Re[3]: Problem with new formvariables (2000) [SHOWIF]s and empty arguments (1997) Formating found categories (1997) Appending a field to itself (2000) For those of you not on the WebCatalog Beta... (1997) Typhoon Rev. and PCS store problems (1999) WebCatalog2 Feature Feedback (1996) autosensing lanague selection (1997) Summary search -- speed (1997) Date Calulation (1997) Multiple prices (1997) firewall ports for Mac OS X/WebCatalog (2001) searchable list archive (1997) PCS Frames (1997)