No picture show when private file system is set.
strangerman - January 9, 2009 - 08:43
| Project: | Slide Show CS |
| Version: | 6.x-2.3 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Already follow the instruction, but the block didn't show anything.
It only show "Loading.." text
Really need help....
| Attachment | Size |
|---|---|
| Clipboard01.png | 21.83 KB |

#1
Could you provide the javascript chunk in the section which says "jQuery.extend(Drupal.settings,......" So I can see what is really happening.
Thanks.
#2
#3
Sorry I completely newbie in the programming thing. Could you guide me, what is the exact files that contain those javascript ("jQuery.extend(Drupal.settings,......")? so I can show to you..?
#4
In the page you are seeing the "loading..." text, if you are using firefox, right button clic and press "view page source". Then, a window should pop up with the source.
There is a section almost on the top of the page, and there is a chunk that says "jQuery.extendt(..." etc.
Copy the whole line and post it here, so I can see te variables from the slideshowcs module.
#5
Here they are...
jQuery.extend(Drupal.settings, { "basePath": "/", "extra_voting_forms": { "only_one_vote": 0, "login_page": "user/login", "base_path": "/" }, "NoBlocks": 1, "tabs": { "slide": true, "fade": true, "speed": "fast", "auto_height": false, "next_text": "next", "previous_text": "previous" }, "slideshowcs0": { "imagesCS": [ { "src": "http://www.gepembri.com/system/files/slideshow/4.jpg", "from": "0% 50% 0.8x", "to": "50% 0% 1x", "time": "6" }, { "src": "http://www.gepembri.com/system/files/slideshow/5.jpg", "from": "80% 50% 1.2x", "to": "60% 50% 0.9x", "time": "3" } ], "fade": "1" } });looks like the path is wrong, should be "http://www.gepembri.com/sites/default/files/slideshow/5.jpg" as per I have assign in the configure section. So anything I can do?
#6
Thanks for posting it.
I suppose your filesystem is in sites/default/files/, right?
Could you post the settings for the page admin/settings/file-system (the file system path)
And also the settings for the slideshowcs block. (Most important path is the picture folder)
Then I will be able to "track" what is happening in your setup.
Thanks
#7
Here they are....
#8
I'm having the same exact problem . . . . Here is my source code:
<!--//--><![CDATA[//><!--jQuery.extend(Drupal.settings, { "basePath": "/", "NoBlocks": 1, "spamspan": { "m": "spamspan", "u": "u", "d": "d", "t": "t" }, "thickbox": { "close": "Close", "next": "Next \x3e", "prev": "\x3c Prev", "esc_key": "or Esc Key", "next_close": "Next / Close on last", "image_count": "Image !current of !total", "derivative": "preview" }, "ssc": { "1": { "timeout": 2000, "speed": 1000, "pause": true, "next": "#ssc-next-1", "prev": "#ssc-previous-1" } }, "slideshowcs0": { "imagesCS": [ { "src": "http://volidaygreetings.com/sites/default/files/files/slideshow/ss_appreciation.gif", "from": "100% 0% 1x", "to": "0% 100% 1x", "time": "2" }, { "src": "http://volidaygreetings.com/sites/default/files/files/slideshow/ss_award.gif", "from": "100% 0% 1x", "to": "0% 100% 1x", "time": "2" }, { "src": "http://volidaygreetings.com/sites/default/files/files/slideshow/ss_birth.gif", "from": "100% 0% 1x", "to": "0% 100% 1x", "time": "2" }, { "src": "http://volidaygreetings.com/sites/default/files/files/slideshow/ss_birthday.gif", "from": "100% 0% 1x", "to": "0% 100% 1x", "time": "2" }, { "src": "http://volidaygreetings.com/sites/default/files/files/slideshow/ss_christmas.gif", "from": "100% 0% 1x", "to": "0% 100% 1x", "time": "2" } ], "fade": "1" } });
//--><!]]>
#9
Aha, I see strangerman, you have a private file system, right? (I will look into this... to find a solution)
Kevin10EC, do you have also a private file system?
#10
No, actually I have a public file system. Here are my settings:
File system path: sites/default/files
Temporary directory: /tmp
Download method: Public - files are available using HTTP directly.
I did notice in the source code a path that included " . . . /files/files/ . . . " That looks strange.
--Kevin
#11
PROBLEM SOLVED . . .
We discovered that the path in our "Pictures folder" field was wrong. We had thought that all we needed to specify was the portion beyond the "default" path.
So, the path we had (wrongly) specified was: /files/slideshow
The path we should have specified was: sites/default/files/slideshow
Now, it works just fine. Thanks for helping us examine and re-examine things.
Kevin
#12
Ok! glad it worked. I am rewriting the way the path is taken so as to make it more clear and easier to set up.
#13
same problem here. I am using private download method.
<script type="text/javascript"><!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "dhtmlMenu": { "slide": "slide", "siblings": "siblings", "relativity": "relativity", "children": "children", "doubleclick": "doubleclick", "clone": 0 }, "googleanalytics": { "trackOutgoing": 1, "trackMailto": 1, "trackDownload": 1, "trackDownloadExtensions": "7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip|ram" }, "NoBlocks": 1, "slideshowcs0": { "imagesCS": [ { "src": "http://islamicdatabase.org/system/files/slideshowcs/01_picture.png", "from": "0% 0% 1x", "to": "0% 0% 1x", "time": "4" }, { "src": "http://islamicdatabase.org/system/files/slideshowcs/02_picture.png", "from": "0% 0% 1x", "to": "0% 0% 1x", "time": "2" }, { "src": "http://islamicdatabase.org/system/files/slideshowcs/03_picture.png", "from": "0% 0% 1x", "to": "0% 0% 1x", "time": "2" } ], "fade": "1" } });
//--><!]]>
</script>
Waiting for new version!!
Thanks a lot for developing a wonderful module :)
#14