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:

UK credit card info follow-up (1997) Virtual Domains (1998) Webcat causing crashes left and right! (1997) suggestions for a Windows based text editor? (2004) Behind the Scenes. . . (1998) WebCommerce: Folder organization ? (1997) WebTen Memory Error with Plug-In (1998) problems with 2 tags (1997) $Quit, $CloseDatabase corrections (1997) Database Program (1997) Quickie question on the email templates (1997) 2 databases (1997) WebCatalog 4.0.2rc1 and rc2 crash WebSTAR on quit (2001) problems with 2 tags shakur (1997) Strange Search Results (2004) GoodPath and MoveFile (2000) WebCatalog2 Feature Feedback (1996) WebCatalog for Postcards ? (1997) won't serve .tpl -not permissions- can't process .tpl (2000) emailer truncates last letter! (1997)