Roxen.git / server / modules / graphics / cimg.pike

version» Context lines:

Roxen.git/server/modules/graphics/cimg.pike:1:   // This is a roxen module. Copyright © 1999 - 2009, Roxen IS.   //      #include <module.h>   inherit "module";   constant thread_safe=1;      roxen.ImageCache the_cache;    - constant cvs_version = "$Id: cimg.pike,v 1.86 2009/12/01 18:06:38 grubba Exp $"; + constant cvs_version = "$Id: cimg.pike,v 1.87 2009/12/08 20:38:43 jonasw Exp $";   constant module_type = MODULE_TAG;   constant module_name = "Graphics: Image converter";   constant module_doc = "Provides the tag <tt>&lt;cimg&gt;</tt> that can be used "   "to convert images between different image formats.";         mapping tagdocumentation()   {    Stdio.File file=Stdio.File();    if(!file->open(__FILE__,"r")) return 0;
Roxen.git/server/modules/graphics/cimg.pike:36: Inside #if defined(manual)
  <attr name='src' value='url' required='required'><p>    The path to the indata file.</p>      <ex><cimg src='/internal-roxen-testimage'/></ex>   </attr>      <attr name='filename' value='string'><p>   Append the filename value to the path. Recommended is not to append file suffix   to the filename since there are settings for handling that automatically through   this module settings. - </p><p>This is usefull if you want to have images indexed, since many search engines + </p><p>This is useful if you want to have images indexed, since many search engines   uses the filename as a description of the image.</p>   <ex><cimg-url src='/internal-roxen-testimage' filename='Roxen Test Image'/></ex>   </attr>      <attr name='data' value='imagedata'><p>    Insert images from other sources, e.g. databases through entities or    variables.</p>   <ex-box><emit source='sql' query='select imagedata from images where id=37'>   <cimg data='&sql.imagedata:none;'/>   </emit></ex-box>