> Quick question.
> I have created an image gallery for my company. I have added images
> to it. How do I reference those images so that they can be used?
These are attachmenst to /GLOBALS/{SG_GUID/gallery snippetdir and its
subdirs so you can referer as like ie. creating simple active page like
this:
Page Name: "images"
Style: Empty (shared)
<?
if($gallery=mgd_get_snippetdir_by_path("/GLOBALS/".$im_site[sg]->guid()."/GA
LLERY/".$argv[0]))
if(!$gallery->serveattachment($argv[1]))
$gallery->serveattachment("shim.gif");
?>
then use <img src="/images/gallery_name/image_name.jpg">
"shim.gif" would be the 1px transparent gif so that no error show up if
mistyped images name.
And of course you can use Aegir DHTML editror to put images from callery
into content
Solt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]