[pmwiki-users] Images--Uploads Content Management

Patrick R. Michaud pmichaud at pobox.com
Tue Mar 8 14:11:48 CST 2005


On Tue, Mar 08, 2005 at 09:45:25AM -1000, Sivakatirswami wrote:
>  Hans wrote:
> 
> "Any uploads are by default in a subdirectory of $Group, so for 
> instance photos of authors in author's pages may be in 
> .../uploads/Profiles/...[snip]  but will be structured according to the 
> wiki groups. Maybe this is good enough."
> 
> Yes indeed this *is* good enough... in fact, perfect. So, it goes back 
> to the original wiki point: one's strongest organization tool is the 
> decision process of rational naming of groups and pages. Uploaded 
> images will then follow this architecture... wonderful!  I'll have 
> something for you to see in a few days.

Just to follow up on something Hans mentioned -- one can also organize
attachments/uploads on a per-site or per-page basis (instead of PmWiki's
per-group default).  See http://www.pmwiki.org/wiki/Cookbook/UploadGroups .

Pm



> On Mar 7, 2005, at 9:45 PM, Hans wrote:
> 
> >well I am not  a withered and wise wiki sage, but I chime in anyway:
> >you enable uploads in config.php with something like this:
> >
> >$EnableUpload = 1;
> >$DefaultPasswords['upload'] = crypt('mysecret');
> >$UploadMaxSize = 100000;
> >$UploadUrlFmt = 'http://www.mysite.com/somepath/uploads';
> >
> >
> >With this uploads are enabled, but a password is required.
> >File sizes are restricted to a maximum 100Kb.
> >All uploads go into subdirectories of the uploads directory specified
> >in $UploadUrlFmt, which could be anywhere on your site. it does not
> >need to be a subdirectory of the pmwiki installation. Any uploads are
> >by default in a subdirectory of $Group, so for instance photos of
> >authors in author's pages may be in .../uploads/Profiles/ (this is the
> >default, but you could specify a different name for profiles), and
> >photos for a specific project, which is in wiki group "Nepalspecial"
> >will be in .../uploads/Nepalspecial/. so you see uploading images and
> >other files will not clutter up one directory, but will be structured
> >according to the wiki groups. Maybe this is good enough.
> >But I think a page specific upload file structure is also possible.
> >Then within the wiki page you can use Attach:myphoto.jpg and a few
> >other ways to link the uploaded image into the text. So the authors do
> >not be bothered at all with the file path to the image.
> >
> >hope this helps.
> >
> >Best,
> >~Hans
> >
> >_______________________________________________
> >pmwiki-users mailing list
> >pmwiki-users at pmichaud.com
> >http://pmichaud.com/mailman/listinfo/pmwiki-users
> >
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users



More information about the pmwiki-users mailing list