[pmwiki-users] Images Upload 'n Link

Patrick R. Michaud pmichaud at pobox.com
Thu May 18 22:01:19 CDT 2006

On Thu, May 18, 2006 at 03:43:22PM -1000, Sivakatirswami wrote:
> but!  now going back to the page:
> attach:FastCGI-binaryInput.jpg
> Does *not* appear on the page and also the image does not appear  
> either... 

I suspect that the $UploadUrlFmt variable is not correctly
set.  The fact that "Attach:..." doesn't appear means that PmWiki
is correctly detecting the image in the uploads folder, but since
you're not seeing the image it indicates the browser is unable
to access the image file.  (And newer browsers such as Firefox
often don't display anything for broken image links.)

Based on a later section of your message, it looks to me
as though you need to set $UploadUrlFmt in config.php to:

   $UploadUrlFmt = 'http://www.himalayanacademy.com/admin_wiki/uploads';

Note that it's common to need to explicitly set $UploadUrlFmt
when using various forms of CleanUrls, since PmWiki can no longer
deduce the upload location directly.

> final test: http://www.himalayanacademy.com/admin_wiki/uploads/ 
> Migration/FastCGI-binaryInput.jpg

I'm  unable to access this url directly -- it's prompting (via HTTP)
for a username and password.  If the $UploadUrlFmt isn't the issue,
it may be that the HTTP authorization is preventing the browser
from being able to display the uploaded image file.


More information about the pmwiki-users mailing list