Re: [WebDNA] ImageMagick function library now available

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102739
interpreted = N
texte = Thanks Chris! For newcomers, the ImageMagick manipulation file contains other practical examples of webdna code as well. Since talklist messages are often searched on, I'll get some keywords in here. Here is a rundown of the code used: [listfiles] [FileInfo] --> [imagewidth] [imageheight] [size] [deletefile] [movefile] (this is actually how you rename a file) [listwords] (use this to pick out the uploaded filename) [writefile] [text secure=f] Use this to set defaults above a form, but allow the subsequent form submission to override these initial defaults. [date %Y] automatically shows current year Also, special form for uploading images:
and the ensuing code for handling the multipart variables. Cheers, Terry >Terry did a great and refined work building this ImageMagick >"plug-in". It will be relatively easy to use the same idea for a pdf >generation, PayPal, Fedex, StockMarket, payment gateway or even ajax >plug-ins: for instance, building an ajax menu, asynchronously >submitting a form or whatever ajax operation could be called with a >single set of instructions from a WebDNA page. > >If a developer wants to build a plugin and offer it as a "paid" >solution, it should be easy to protect his work using the [encrypt] >tag like in http://www.webdna.us/page.dna?numero=28 > >We think that expanding WebDNA using "plug-ins" would make it even >more attractive. > >Meanwhile, we are submitting Press Releases and notes and found that >new users are already seduced by WebDNA. It would be extremely >appreciated if any experienced user from this list would be kind >enough to shares his/her opinion about WebDNA with newcomers. >Googling for "webdna" and "6.2" should bring a lot of pages. > >thank you! > >- chris > > > >On Jun 17, 2009, at 11:12, Terry Wilson wrote: > >> Hi folks, >> >> I just posted a library of ImageMagick functions at the WebDNA forum. >> >> http://forum.webdna.us/eucabb.html?page=topics&category=617 >> >> Go have a look. Included in the .zip file is a page which >>demonstrates all of the functions in the library (resize, rotate, >>mirror, imprint text, make thumbnail, change filetype). You can >>reuse the code for your own purposes, or just use it to learn from. >>It also shows how to upload a file and the special way to deal with >>multi-form variables. You could also just use the page as is, for >>ad hoc image manipulation. >> >> It is very easy to use! Just copy the folder IMFunctions to your >>server; make sure ImageMagick is located in the /sw/bin directory >>(if not, edit the .inc file to show where) and you're good to go! >>Everything needed is in the folder. >> >> The functions are shell scripts, and are written for both primary >>WebDNA users and Sandbox users, since the [shell] implementation >>differs for each. You will have to have ImageMagick (free) >>installed to use the functions; a link to the website is given. >> >> Comments welcome, as I intend to improve the library and add to it >>over time. >> >> Terry >> --Terry Wilson | terry@terryfic.com | http://terryfic.com >> http://WhosComing.com - a simplified, affordable online reservation system >> http://TightJacket.com -- stylish protection for your laptop >> -------------------------------------------------------------------------- >> Attitude is the only difference between ordeal and adventure. >> --------------------------------------------------------- >> 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 >> old archives: http://dev.webdna.us/TalkListArchive/ > >--------------------------------------------------------- >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 >old archives: http://dev.webdna.us/TalkListArchive/ -- Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation system http://TightJacket.com -- stylish protection for your laptop -------------------------------------------------------------------------- Attitude is the only difference between ordeal and adventure. Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] ImageMagick function library now available (Terry Wilson 2009)
  2. Re: [WebDNA] ImageMagick function library now available (christophe.billiottet@webdna.us 2009)
  3. [WebDNA] ImageMagick function library now available (Terry Wilson 2009)
Thanks Chris! For newcomers, the ImageMagick manipulation file contains other practical examples of webdna code as well. Since talklist messages are often searched on, I'll get some keywords in here. Here is a rundown of the code used: [listfiles] [fileinfo] --> [imagewidth] [imageheight] [size] [deletefile] [movefile] (this is actually how you rename a file) [listwords] (use this to pick out the uploaded filename) [writefile] [text secure=f] Use this to set defaults above a form, but allow the subsequent form submission to override these initial defaults. [date %Y] automatically shows current year Also, special form for uploading images: [thisurl]" method="post" enctype="multipart/form-data"> and the ensuing code for handling the multipart variables. Cheers, Terry >Terry did a great and refined work building this ImageMagick >"plug-in". It will be relatively easy to use the same idea for a pdf >generation, PayPal, Fedex, StockMarket, payment gateway or even ajax >plug-ins: for instance, building an ajax menu, asynchronously >submitting a form or whatever ajax operation could be called with a >single set of instructions from a WebDNA page. > >If a developer wants to build a plugin and offer it as a "paid" >solution, it should be easy to protect his work using the [encrypt] >tag like in http://www.webdna.us/page.dna?numero=28 > >We think that expanding WebDNA using "plug-ins" would make it even >more attractive. > >Meanwhile, we are submitting Press Releases and notes and found that >new users are already seduced by WebDNA. It would be extremely >appreciated if any experienced user from this list would be kind >enough to shares his/her opinion about WebDNA with newcomers. >Googling for "webdna" and "6.2" should bring a lot of pages. > >thank you! > >- chris > > > >On Jun 17, 2009, at 11:12, Terry Wilson wrote: > >> Hi folks, >> >> I just posted a library of ImageMagick functions at the WebDNA forum. >> >> http://forum.webdna.us/eucabb.html?page=topics&category=617 >> >> Go have a look. Included in the .zip file is a page which >>demonstrates all of the functions in the library (resize, rotate, >>mirror, imprint text, make thumbnail, change filetype). You can >>reuse the code for your own purposes, or just use it to learn from. >>It also shows how to upload a file and the special way to deal with >>multi-form variables. You could also just use the page as is, for >>ad hoc image manipulation. >> >> It is very easy to use! Just copy the folder IMFunctions to your >>server; make sure ImageMagick is located in the /sw/bin directory >>(if not, edit the .inc file to show where) and you're good to go! >>Everything needed is in the folder. >> >> The functions are shell scripts, and are written for both primary >>WebDNA users and Sandbox users, since the [shell] implementation >>differs for each. You will have to have ImageMagick (free) >>installed to use the functions; a link to the website is given. >> >> Comments welcome, as I intend to improve the library and add to it >>over time. >> >> Terry >> --Terry Wilson | terry@terryfic.com | http://terryfic.com >> http://WhosComing.com - a simplified, affordable online reservation system >> http://TightJacket.com -- stylish protection for your laptop >> -------------------------------------------------------------------------- >> Attitude is the only difference between ordeal and adventure. >> --------------------------------------------------------- >> 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 >> old archives: http://dev.webdna.us/TalkListArchive/ > >--------------------------------------------------------- >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 >old archives: http://dev.webdna.us/TalkListArchive/ -- Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation system http://TightJacket.com -- stylish protection for your laptop -------------------------------------------------------------------------- Attitude is the only difference between ordeal and adventure. Terry Wilson

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:

[OT] http list (2003) [WebDNA] Virtual server (2011) Word search (1997) Header Values won't take. (1998) Problems with webcat 2.01 for NT (1997) Help name our technology! I found it (1997) Unknown error: OrderNotCreated (1997) NT vs Mac (1997) Way Off Topic (2003) Server Freeze (1998) Webcatalog 4.0 on Mac OS & WebStar (2000) Purchased cart being overwritten - still !?? (1997) [WebDNA] WebDNA developer (2008) rounding onlu UP (2002) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) OFF TOPIC: help wanted (1997) WebCatalog for Postcards ? (1997) Associative lookup style? + bit more (1997) carriage returns in data (1997) two unique banners on one page (1997)