[Pmwiki-users] Images not displayed on $DefaultGroup/$DefaultTitle

Patrick R. Michaud pmichaud
Tue Feb 3 09:03:37 CST 2004


It's a known bug of sorts.  Add the following line to your local.php:

if ($pagename=="") $pagename="GroupX.PageY";

I believe this is fixed in pmwiki-0.6.0.

Pm


On Tue, Feb 03, 2004 at 09:34:34AM +0100, Hans Otto wrote:
> Hello!
> 
> I have created a new GroupX with a new PageY.
> In local/local.php i have updated $DefaultGroup="GroupX" and
> $DefaultTitle="PageY".
> On PageY there are some image-links like the following: 
> [[Attach:large_pic.jpg Big picture]], 2048 x 1527 Pixel,
> 779KB[[<<]][[Attach:large_pic.jpg Attach:large_pic_thumbnail.jpg]]
> 
> Now the following problem occurs:
> Entering the link http://...//pmwiki.php/GroupX/PageY in the browser
> displays the page correct.
> But entering the link http://...//pmwiki.php displays the page without
> images. The html code looks like this:
> <p /><a href='Attach:large_pic.jpg'><img
> src='Attach:large_pic_thumbnail.jpg' border='0' alt='' align='right' /></a><a href='Attach:large_pic.jpg'>Big
> Picture</a>, 2048 x 1527 Pixel, 779KB<br clear='all' />
> 
> Is this a bug or normal behavior?
> 
> I'am using PmWiki v0.5.27.
> 
> --
> Hans
> terrabit at gmx.de
> 
> -- 
> GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
> jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++
> 
> 
> -- 
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com



More information about the pmwiki-users mailing list