Closed (won't fix)
Project:
Slideshow Creator
Version:
6.x-1.32
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2009 at 11:41 UTC
Updated:
30 Apr 2009 at 08:08 UTC
Somewhere between the last D5 version and the latest D6 version, root-relative paths have ceased working.
I have LOTS of slideshows on my site with root-relative paths (e.g. "/files/images/xxx.jpg"). On D5, these were simply sent through to the generated page - e.g. img src="/files/images/xxx.jpg". But on D6, an extra slash is inserted at the start and the slide show is blank (i.e. broken): e.g. img src="//files/images/xxx.jpg".
I am not sure whether this is a pure bug or whether it is a side effect of some change with a deeper, subtler purpose.
Ron.
Comments
Comment #1
rhouse commentedI have made up a fix for the above problem, but I suspect it is just a bodge and not the 'real' answer. In
slideshow_creator.inc, after this at about line 325:Insert a line:
$image = preg_replace("/\"\/\//", '"/', $image);Ron.
Comment #2
brmassa commentedGuys, there is a drupal.org initiative about unifying some modules. Since Slideshow Creator is by far less powerful and flexible and other solutions, I will not support it more. Please, take a look on other similar modules.