Not logged in. · Lost password · Register
Forum: General Help and Support Syntax and Usage RSS
Images don't show
Avatar
gweinfurther #1
Member since Nov 2011 · 7 posts
Group memberships: Members
Show profile · Link to this post
Subject: Images don't show
When I upload images, they don't appear in the page. I only see a broken link icon.  I've searched the forum and I see other reports of the same issue but no solutions.  The file definitely is on the server and I can access it through the browser if I link to it directly.  It's only when going through fetch.php that it doesn't work.  It's not .htaccess as I am running on IIS.

The link looks like this:

{{:clients:xxx:window-settings.jpg?nolink&200|}}

The page source looks like this:

<img src="/dokuwiki/lib/exe/fetch.php?w=200&amp;media=clients:xxx:window-settings.jpg" class="media" alt="" width="200" />
Avatar
lupo49 (Moderator) #2
Member since Jul 2009 · 1399 posts · Location: Warstein, Germany
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
Any error lines in the log files of the IIS?
Avatar
gweinfurther #3
Member since Nov 2011 · 7 posts
Group memberships: Members
Show profile · Link to this post
No error lines.  I tried putting some echo statements in fetch.php. It appears that the jpg file is being accessed and read, but nothing gets to the client.
Avatar
gweinfurther #4
Member since Nov 2011 · 7 posts
Group memberships: Members
Show profile · Link to this post
Found it!  It was a problem observed by others... a space before the first <?php tag in local.protected.php.
snuffy #5
Member since Jan 2018 · 10 posts
Group memberships: Members
Show profile · Link to this post
Long dead post I know, but for others this is still relevant as it just happened to me too. Not sure how I added a blank line into this file but removing it immediately resolved the problem. No restart required.
Avatar
Michaelsy #6
Member since Jun 2015 · 969 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
Quote by snuffy:
Long dead post I know, but for others this is still relevant as it just happened to me too. Not sure how I added a blank line into this file but removing it immediately resolved the problem. No restart required.

As far as I can see, here https://forum.dokuwiki.org/post/65023 are more details to this issue.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-12-08, 04:15:58 (UTC +01:00)