Roxen.git/
server/
modules/
graphics/
cimg.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1999-05-19
1999-05-19 09:34:10 by Peter Bortas <zino@lysator.liu.se>
698c12006cbfe9e0bed04a81a228b3a1f4e3cc5a (
17
lines) (+
17
/-
0
)
[
Show
|
Annotate
]
Branch:
5.2
New tag: cimg-url.
Rev: server/modules/graphics/cimg.pike:1.3
59:
} return make_tag( "img", args ); }
+
+
string tag_cimg_url( string t, mapping args, RequestID id )
+
{
+
mapping a =
+
([
+
"src":fix_relative( args->src, id ), "quant":args->quant,
+
"format":args->format, "maxwidth":args->maxwidth,
+
"maxheight":args->maxheight, "scale":args->scale,
+
"dither":args->dither,
+
]);
+
+
foreach( glob( "*-*", indices(args)), string n )
+
a[n] = args[n];
+
+
return query_internal_location()+the_cache->store( a );
+
}