Only "files/"

phildu - December 9, 2006 - 08:27
Project:Slideshow-Box
Version:4.7.x-1.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I tried whith the official package on 2 different sites 2 different theme, but the block appear blank. on firefox and on safari.

#1

phildu - December 9, 2006 - 08:38

Now i have the title of the image under the title of the box

#2

Edith Illyes - December 10, 2006 - 00:14

It's a path problem. In the module file it's trying to download http://www.domain.com/files/images/filename.jpg. When in fact it should look for http://www.domain.com/system/files/images/filename.jpg.

Insert this on line 368:

    $file    = $path.'system/files/'.($image->slideshow ? $image->slideshow : $image->_original);

#3

bouddidje@drupa... - December 20, 2006 - 14:02
Title:BLANK block» Only "files/"

Hello
at first, thank you for slideshowbox.

As for me it didn't work, because it was searching images in "http://my acount.com/files/images/images/mypicture.jpg"

The 368 line was the basic line
$file = $path.'files/images'.($image->slideshow ? $image->slideshow : $image->_original);
That I change in
$file = $path.'files/'.($image->slideshow ? $image->slideshow : $image->_original);

Of course you have to see in your page code (tape Ctrl +U under firefox) and see where slideshow is searching for your image (usually first third of your code),
And then change the text of slideshowbox.module in consequence...

Bye !

Maybe you can see an example here if it works ;-)

#4

sun - October 3, 2007 - 13:58

See http://drupal.org/node/102410 for a working patch

 
 

Drupal is a registered trademark of Dries Buytaert.