[pmwiki-users] Can not embed picture in page

Aleks aczaszyn at telus.net
Fri Apr 13 12:42:39 CDT 2007


Hi Buehl

 

Under www.<yoursite>.com/pmwiki/upload directory create a subdirectory that
is the same as your page group name. Put your pictures there and on your
page use the Attach structure as below 

 

Attach:<picture_file>.jpg

 

Example: 

You can see the source code on my page:

http://www.exploreluxury.com/pmwiki/pmwiki.php/Luxury/Maria?action=source

Luxury/Maria is a name of the wiki page

I put all the pictures to group Luxury

http://www.exploreluxury.com/pmwiki/uploads/Luxury

And on the Luxury/Maria page I used the link

Attach:Herb_Jelita.jpg

 

Aleks

 

-----Original Message-----
From: pmwiki-users-bounces at pmichaud.com
[mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Buehl, Reiner (HPS
EMEA, DO-C&I)
Sent: Friday, April 13, 2007 3:55 AM
To: pmwiki-users at pmichaud.com
Subject: [pmwiki-users] Can not embed picture in page

 

Hi all,

 

I use PmWiki 2.2.0-beta42 and have a lot of trouble including pictures

in my pages. My pictures are located in the same directory as the wiki

pages but "Attach:picture.png" or other similar directives like 

'Attach:picture.png"AltText"' or "Attach:Groupname/picture.jpg" do not

work. The resulting web page just contains the literal text of the 

directive. The only way I was able to include the pictures was by 

using "Path:/pmwiki/wiki.d/Groupname/picture.png" which does not work

when I use the wiki in offline mode... 

I also tried to use jpg images and adding png to ImgExtPattern in

local/config.php but that did not help either. 

The only modifications that I use is a skin (monobook), german i18n

and the AdvancedTableDirectives cookbook. 

 

Please help me to troubleshoot and fix this issue!

 

Best regards,

Reiner.

 

_______________________________________________

pmwiki-users mailing list

pmwiki-users at pmichaud.com

http://www.pmichaud.com/mailman/listinfo/pmwiki-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070413/1074a70f/attachment.html 


More information about the pmwiki-users mailing list