Re: [WebDNA] Image resizing on the fly
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108906
interpreted = N
texte = Tom Duke wrote:> Govinda,>> Here's a site that uses it, and the same image in a bunch of different> sizes:>> http://slir1.shiftingpixel.com/slir/w280-h280-c1:1/wp-content/uploads/2011/04/IMG_3536.jpg>> http://slir1.shiftingpixel.com/slir/w280-h280-c3:2/wp-content/uploads/2011/04/IMG_3536.jpg>> http://slir1.shiftingpixel.com/slir/w620-h340-c16:9/wp-content/uploads/2011/04/IMG_3536.jpg>> As far as I can see the script check if the specific size has been> previously created (and cached) and if not it creates it. You can> play around with the image max width, max height and crop settings - all> in the URL - to see how it works.>> - TomTom, did you know about the IM lib that Terry created?You can test it here:http://dbrooke.webdna.us/imtests/IM_Manipulation.htmlYou can get it here:http://svn.webdna.us/svn/webdna_open/trunk/function_libs/imagemagick/Looks like there is a couple bugs, but it may be a start to what youare looking for.Donovan-- Donovan BrookeEuca Design Centerwww.euca.us
Associated Messages, from the most recent to the oldest:
Tom Duke wrote:> Govinda,>> Here's a site that uses it, and the same image in a bunch of different> sizes:>> http://slir1.shiftingpixel.com/slir/w280-h280-c1:1/wp-content/uploads/2011/04/IMG_3536.jpg>> http://slir1.shiftingpixel.com/slir/w280-h280-c3:2/wp-content/uploads/2011/04/IMG_3536.jpg>> http://slir1.shiftingpixel.com/slir/w620-h340-c16:9/wp-content/uploads/2011/04/IMG_3536.jpg>> As far as I can see the script check if the specific size has been> previously created (and cached) and if not it creates it. You can> play around with the image max width, max height and crop settings - all> in the URL - to see how it works.>> - TomTom, did you know about the IM lib that Terry created?You can test it here:http://dbrooke.webdna.us/imtests/IM_Manipulation.htmlYou can get it here:http://svn.webdna.us/svn/webdna_open/trunk/function_libs/imagemagick/Looks like there is a couple bugs, but it may be a start to what youare looking for.Donovan-- Donovan BrookeEuca Design Centerwww.euca.us
Donovan Brooke
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:
Error 11 (1996)
Sorting search results (1998)
Paths, relative paths, webstar server setup and security (1997)
WebMerchant still not working!! (1999)
[OT] HTML, HTML docs (2001)
Upgrading old WebCat Database Files (1997)
Read and weep (2003)
'does not contain' operator needed ... (1997)
Encrypted links ... (2000)
Authenticate (1997)
A link and two command (1998)
Loss in Form (1998)
WebCat2.0 [format thousands .0f] no go (1997)
Plugin or CGI or both (1997)
Sort Order on a page search (1997)
WebCat2 - Getting to the browser's username/password data (1997)
I'm tired of all this! (2000)
[WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011)
[WebDNA] Problem with Cookies in IE and Safari (2009)
Secure server question (1997)