[pmwiki-users] Displaying JPEGs

pmwiki at 911networks.com pmwiki at 911networks.com
Wed Jul 14 10:20:25 CDT 2010


I have a static image gallery, 120 photos, just HTMLs and JPEGs. It
works properly if I use the following markup:

Markup('arles', '<block', '/\\(:arles\\s?(.*?):\\)/ei',
 "Keep('<iframe src=\'/arles/index.html\' frameborder=\'0\' width=\'100%\' height=\'722\'></iframe>')");

But I'd like to not use the iframe. It's not great in IE7. So I'm
trying, cookbook/includeupload. I have 2 problems:

1. It doesn't display the jpegs, just the links to the photos. 
2. When I try to go the next page: I get the error message: "You
don't have permission to access /uploads/Arles/imagepages/image1.html
on this server." 

I have checked the permissions. The server has read and write and I
have checked the config.php. I don't see anything wrong.

$EnableUpload = 1;
$HandleAuth['upload'] = 'edit';            # allow edits to upload
$UploadPrefixFmt = '/{$Group}';            # uploads by group
$UploadMaxSize = 2097151;                  # maximum upload file size 2Mb - 1byte
$EnableDirectDownload = 0;                 # causes requests for attachments to be obtained via ?action=download. 

Any suggestion?

When the network has to work

More information about the pmwiki-users mailing list