[pmwiki-users] Images in another group
Tegan Dowling
tmdowling at gmail.com
Thu Dec 1 07:59:27 CST 2005
Also, this isn't the case with all wikis -
On PmWiki itself, Attach:GroupName/imagename.ext works (eg try
Attach:Test/clouds.jpg from the PmWiki/Sandbox page).
What makes the difference?
On 12/1/05, DaveG <pmwiki at solidgone.com> wrote:
>
> Ah, okay. I'll use that, and I updated the docs.
>
> That format doesn't appear to make much sense though. When refering to
> an image in the same group, no page is required, so why is one required
> outside the group? I presume we needed some mechanism to distinguish
> between a group and a page -- could we not use something more obvious?
> Possibly Attach:Group/image.ext and Attach:Group/file/image.ext?
>
> Patrick R. Michaud wrote:
> > On Thu, Dec 01, 2005 at 12:52:38AM -0500, DaveG wrote:
> >
> >>That doesn't work in the case where I manually FTP files to the Upload
> >>directory, place the files logically in an appropriate group, and have a
> >>single page outside that group refering to the image...
> >
> >
> > Actually it does work. There's not a requirement that the page
> > actually exists in the other group, just that PmWiki has to be told
> > that you're referring to a page in another group and not in the
> > current one.
> >
> > Attach:XYZ.FooBar/image.png -- refers to image.png in the XYZ group
> > even if XYZ.FooBar doesn't exist
> >
> > Pm
> >
> >
> >
> >>Patrick R. Michaud wrote:
> >>
> >>>On Thu, Dec 01, 2005 at 12:04:54AM -0500, DaveG wrote:
> >>>
> >>>
> >>>>How do you display images in another group? I've tried
> >>>>Attach:group/image_name.ext, and pretty much every combination in
> >>>>between to no avail. Images in the same group display fine
> >>>>Attach:image_name.ext.
> >>>
> >>>
> >>>You need to refer to a page within another group, not just the
> >>>group itself. (Some PmWiki sites organize attachments per-page and
> >>>not per-group.) Thus:
> >>>
> >>> Attach:Group.SomePage/image_name.ext
> >>>
> >>>Pm
> >>>
> >>
> >
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20051201/6fc59628/attachment.html
More information about the pmwiki-users
mailing list