[pmwiki-users] gallery path problem
kellerfrau at gmail.com
Mon Jul 28 04:00:53 CDT 2008
I have been using Stefan Jahn's picture gallery on a website for a quite
a while. Now my customer has had her website transferred to a new
provider and the server handles the code a little differently.
The gallery script now does not display the thumbnails because the
output is malformed as
The same happens on the single image page.
Okay, so I can simply remove the slash in src="/. But then I am stuck.
The script has the code
$output.= '<img class="thumb" src="/'.str_replace('%2F', '/',
but how to I replace both the %2F with / and %3A with : at the same time?
The code for the gallery script is here (gallery.php renamed to
The non-working version:
and the same script working on a different server:
Any help is appreciated!
More information about the pmwiki-users