I installed the app per instructions and enabled the module and inserted the php code snippet in a node.
I get a white frame the size specified in the administration page, but no pics. I tried both jpg and pngs.
Help, hints?
Thanks,
Thanks!
I installed the app per instructions and enabled the module and inserted the php code snippet in a node.
I get a white frame the size specified in the administration page, but no pics. I tried both jpg and pngs.
Help, hints?
Thanks,
Thanks!
Comments
Comment #1
nicktech commentedI have the exact same problem. Changing permissions to 777 on the slideshow folder and all images did not help.
Comment #2
dreed47 commentedWhen you view the page source do you see the javascript in the fade_slideshow.js.inc file?
Comment #3
markimark commentedHi, thanks- yes, viewing the page source shows the pasted-in content from the fade_slideshow.js.inc file. Here is the header snippet (there is a lot more I have not included) from that inserted file:
/***********************************************
* Ultimate Fade-In Slideshow (v1.51): © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["photo1.jpg", "", ""] //plain image syntax
---------------------------------------------------------------------------
Also, I see that the pictures I placed in the files/slideshow_images folder are assigned to the fade- slideshow array as shown below:
Thank you!
Comment #4
dreed47 commentedWhere are you embedding the slideshow? In a block? a node body? somewhere in a template? If it's in a block or node do you have the filters set to php? Try embedding this another way. In other words, if you are trying to embed it in a block but it's not working try to insert it directly in your page.tpl.php template.
Comment #5
markimark commentedSo far, I have tried embedding the slideshow in a node and a block, but the filters are set correctly. I think I have detected the problem, but am not sure how to fix it:
When I look at the html code with firefly, the URL on the page looks like this:
img border="5" src="http://mark-laptop:8080/files/slideshow_images/default_premium_thumb.jpg"/
However, the URL is formed incorrectly and is missing part of the path- it should look like this:
img border="5" src="http://mark-laptop:8080/drupal5/files/slideshow_images/default_premium_thumb.jpg"/
Note the difference in the two paths and the missing "drupal5" in the first URL path. If I correct the path in the debugger, then the images show up.
I think the path is formed in the fade_slideshow.module php code, but I am not sure how to fix it so the URL path is formed correctly and includes the missing "drupal5". I have many other modules installed and this is the only one I have this trouble with, so I am fairly confident it is a module problem. All my modules are installed in the same sites/all/modules folder.
Any ideas about how to fix the issue are greatly appreciated!
Comment #6
dreed47 commentedTry changing line 126 to read:
Comment #7
markimark commentedThank you, der! I had tracked it to that line, but don't know javascript well enough to make the fix.
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.