Also, this isn't the case with all wikis - <br>
On PmWiki itself, Attach:GroupName/imagename.ext works (eg try Attach:Test/clouds.jpg from the PmWiki/Sandbox page).<br>
<br>
What makes the difference?<br>
<br><br><div><span class="gmail_quote">On 12/1/05, <b class="gmail_sendername">DaveG</b> <<a href="mailto:pmwiki@solidgone.com">pmwiki@solidgone.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ah, okay. I'll use that, and I updated the docs.<br><br>That format doesn't appear to make much sense though. When refering to<br>an image in the same group, no page is required, so why is one required<br>outside the group? I presume we needed some mechanism to distinguish
<br>between a group and a page -- could we not use something more obvious?<br>Possibly Attach:Group/image.ext and Attach:Group/file/image.ext?<br><br>Patrick R. Michaud wrote:<br>> On Thu, Dec 01, 2005 at 12:52:38AM -0500, DaveG wrote:
<br>><br>>>That doesn't work in the case where I manually FTP files to the Upload<br>>>directory, place the files logically in an appropriate group, and have a<br>>>single page outside that group refering to the image...
<br>><br>><br>> Actually it does work. There's not a requirement that the page<br>> actually exists in the other group, just that PmWiki has to be told<br>> that you're referring to a page in another group and not in the
<br>> current one.<br>><br>> Attach:XYZ.FooBar/image.png -- refers to image.png in the XYZ group<br>>
even if XYZ.FooBar doesn't exist<br>><br>> Pm<br>><br>><br>><br>>>Patrick R. Michaud wrote:<br>>><br>>>>On Thu, Dec 01, 2005 at 12:04:54AM -0500, DaveG wrote:<br>>>><br>>>>
<br>>>>>How do you display images in another group? I've tried<br>>>>>Attach:group/image_name.ext, and pretty much every combination in<br>>>>>between to no avail. Images in the same group display fine
<br>>>>>Attach:image_name.ext.<br>>>><br>>>><br>>>>You need to refer to a page within another group, not just the<br>>>>group itself. (Some PmWiki sites organize attachments per-page and
<br>>>>not per-group.) Thus:<br>>>><br>>>> Attach:Group.SomePage/image_name.ext<br>>>><br>>>>Pm<br>>>><br>>><br>><br><br>_______________________________________________
<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a href="http://host.pmichaud.com/mailman/listinfo/pmwiki-users">http://host.pmichaud.com/mailman/listinfo/pmwiki-users
</a><br></blockquote></div><br>