Slideshow not working (Drupal 5.7 Gallery 2.2.6)
|
grofmon
Joined: 2002-08-16
Posts: 15 |
Posted: Sun, 2009-08-23 05:39
|
|
The regular slideshow works with gallery2 standalone, but does not work within Drupal. The fullscreen slideshow (applet) does work. I'm running the drupal gallery-5.x-2.2 module. Gallery version = 2.2.6 core 1.2.0.8 PHP version = 5.2.6-2ubuntu4 apache2handler Webserver = Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4 with Suhosin-Patch Database = mysql 5.0.67-0ubuntu6, lock.system=database Toolkits = Exif, ImageMagick, NetPBM, Ffmpeg Acceleration = partial/900, partial/21600 Operating system = Linux Dali 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 Default theme = monty gettext = enabled Locale = en_US Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_8; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9 Rows in GalleryAccessMap table = 59 Rows in GalleryAccessSubscriberMap table = 7302 Rows in GalleryUser table = 3 Rows in GalleryItem table = 7299 Rows in GalleryAlbumItem table = 304 Rows in GalleryCacheMap table = 30 |
|
| Login or register to post comments |

Posts: 2669
http://drupal.org/node/419424
http://gallery.menalto.com/node/83849#comment-315144
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 15
Thanks for the links. I had already looked at those 2 anyway.
I do not have the Cooliris or PicLens plugins installed and do not have a subdomain. This issue seems to be with the slideshow plugin and Drupal 5.7. It does not work on Firefox or Safari. I do not have a Windows PC, so I can't check IE.
Posts: 2669
The slideshow defaults to a lytebox javascript driven version when cooliris is not installed. Make sure your browsers allow js.
without a url I cannot confirm your claim.
FAQ: What information is required when I ask for help in the forums?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 15
suprsidr,
I checked the list of avaliable plugins from the site admin page and don't see cooliris in the list. If it is indeed the fix for my issue, where would I get it?
This is the embedded link that does not work:
http://taolam.com/index.php?q=gallery&g2_view=slideshow.Slideshow&g2_itemId=25799
This is the standalone version which works fine:
http://taolam.com/gallery2/main.php?q=gallery&g2_view=slideshow.Slideshow&g2_itemId=25799
Posts: 2669
gallery admin -> slideshow
http://taolam.com/index.php?q=gallery&g2_view=core.SiteAdmin&g2_subView=slideshow.AdminSlideshow
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 2669
You have an old gallery.
consider upgrading to 2.3
This is why we have http://codex.gallery2.org/index.php/Gallery2:FAQ#What_information_is_required_when_I_ask_for_help_in_the_forums.3F
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 15
suprsidr,
I'm not sure what this link is supposed to do. There is no AdminSlideshow.inc file in the /modules/templates/ directory...
Posts: 15
See my first post and the subject. It clearly shows I have version 2.2.6.
Posts: 15
Ok, I have upgraded to version 2.3. The slideshow is now using PicLens (Cooliris) and works fine standalone. It stil ldoes not work embeded in Drupal 5.7. When I select the slideshow link it tells me there are no photos in the album.
Broken embedded:
http://taolam.com/index.php?q=gallery&g2_view=slideshow.Slideshow&g2_itemId=25799
Posts: 15
And now I turned on URL rewrite for the slideshow in gallery and get this:
Posts: 2669
http://gallery.menalto.com/node/90385#comment-318509
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 15
s,
I tried this one last night and had no luck.
http://drupal.org/node/419424
I also looked at the second one last night and got lost trying to follow the entire thing. Could you point me to the comment with the 'fix'?
Thanks for your help so far.
Posts: 2669
http://gallery.menalto.com/node/83849#comment-317437
But these folks are using my update which fixes several issues.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 15
s,
I grabbed your update last night and installed it. Still no luck.
Even though I'm not running on a subdomain, I went through the re-install process from the other link and it didn't help either.
One change I have noticed is that I no longer get the "No Photos" message. Now it just goes to a blank page.
If you go here and click the slideshow link, the URL changes, but no slideshow:
http://taolam.com/gallery/v/2009/outdoor/tubing/
If you go to the standalone version and click the slideshow link, the URL (in the browser) doesn't change and the slideshow plays fine:
http://taolam.com/gallery2/gallery/v/2009/outdoor/tubing/
Other things I tired include turing off rewrite mode and disabling all plugins except those required to run integrated in Drupal.
I'm going to post a question to the Drupal forums as well to see if anyone over there can help...
BTW: The slideshow looks great in the standalone version.
Posts: 15
One more update. I now see this error, but don't know enough to make sense of it. It looks to me like the error is in gallery.module after line 385.
Posts: 2669
I see your issue, and its fairly plain.
this is the non embedded head html(http://taolam.com/gallery2/gallery/v/2009/outdoor/tubing/):
and this is your embedded(http://taolam.com/gallery/v/2009/outdoor/tubing/):
drupal is importing the rss as css and ignoring the necessary javascript.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 15
s,
I really hate to ask, but would you know how to fix that? Is it something in the Drupal theme?
thanks
Posts: 2669
It would be related to drupal's embed
and I'm no drupal guy. Sorry
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 15
I've done another upgrade. Drupal is now at version 5.19. Now I get a diefferent set of errors. Any idea what would cause this?
and this
I now have the javascript in the header:
Posts: 2669
Dave had a fix for the combined js somewhere in these forums, I believe it was gzip related. You'll have to search.
But it looks like its getting processed anyways since its now in your head.
Now that you have the js, you need to work on getting the rss out of your style declaration.
If it turns out to be too difficult - you could always use my picLensRss.php and add it to gallery's head manually.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 15
Dude,
I have it working now. The final solution was simple. Just changed the baseURI in config.php
$gallery->setConfig('baseUri', 'http://taolam.com/');Thanks for all of your help on this issue.