Use ImageMagick to manipulate images when you upload them.WebDNA can easily manage file uploads, but you will need something like ImageMagick to manipulate images once they've been uploaded. Use ImageMagick to downsize images, generate thumbnails, convert to jpg, gif, or png or to imprint your URL. But there are many, many other commands for manipulating images. Here we show some basic syntax for tapping into ImageMagick's power. From there, you will be able to explore on your own to build many combinations of operations.
[shell]/sw/bin/convert temp/[tempfile] -scale [maxTHwidth]x[maxTHheight] -format jpg +profile "*" ../images/gallery/th/z[jpgfilename][/shell]
A word about mogrify
In the WebDNA archives you will find references to mogrify used in the same way as convert. Mogrify is a destructive operation, because it automatically overwrites the original image. In general, don't use mogrify. Even the IM site gives numerous warnings about using mogrify. In our example, we do two things using our original file: make a regular sized image, and make a thumbnail. Then we use WebDNA to delete the original. Creating both files from one original would be impossible to do using mogrify.
[text]IMcommands=temp/[tempfile] -scale [maxTHwidth]x[maxTHheight] -format jpg +profile "*" ../images/gallery/th/z[jpgfilename][/text]
DOWNLOAD WEBDNA NOW!
A list of the currently available modules...[biotype]
BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...F.A.Q
A compilation of some user's questions...WebDNA Libraries
A list of available libraries for WebDNA...Download WebDNA Applications
WebDNA applications...Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...
How to make a backup of your databases...Hideif on IP range
This will show or hide stuff according to the IP...How to keep the text variable after a function has finished
By default...Find duplicate records
Find duplicate records and do something with them...How to setup CODA to work with WebDNA?
This page will show graphically how to setup CODA as a WebDNA partner :-)...