Cooliris Slideshow: Loading Time

Vadigor

Joined: 2009-09-05
Posts: 6
Posted: Wed, 2009-09-23 12:00

I've been testing Gallery 3 out for a bit and so far I'm very pleased with this light-weight package (even with a cumbersome FTP-add), but I've run into a bit of a hindrance. I like the flash-based slideshow that Cooliris offers, but it seems like my photos are loading incredibly slowly. I assume that Cooliris uses the resized images for this, or do I have to specify this somewhere? I noticed a module for adding a "Download Fullsize" button in another topic which I'll be installing later, I just need to make it so loading a photo doesn't take nearly a minute.

As a side-question, when I run the Rebuild Images command from the Maintenance page, it doesn't seem to do anything. The progress bar seems to complete instantly without rebuilding any photos, but when I close the pop-up it shows up as a paused task. Is there something wrong here?

---
See how Peter can no longer say to himself 'Silver and gold have I none,' nor to the lame man, 'Rise up and walk.'

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-09-23 12:59

It's because it's grabbing the full size image. Until someone either creates a different module or adds some options to the slideshow module that's the way it's going to be. The only work around right now is to either not load such high res images to the site or restrict permissions so people can't view the full size image. This won't fix the problem for those who are admins though.

At this point, the rebuild images task only does work if there are known "dirty" (broken) images.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-09-23 13:46

Ah, check this out:
http://gallery.menalto.com/node/91363

errr, re-thinking that, possibly not the right answer, but it's still worth looking at.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Vadigor

Joined: 2009-09-05
Posts: 6
Posted: Wed, 2009-09-23 16:04

Hmm, I guess I'm stuck with slow-loading images for now then. I might look in to that module creation, but I doubt that I'll get something like that to work. I'll disable full-view as a workaround for now.

Anyway, thanks for the reply, and I did see that thread before, but it's not what I'm looking for of course.

---
See how Peter can no longer say to himself 'Silver and gold have I none,' nor to the lame man, 'Rise up and walk.'

 
jeromek

Joined: 2009-07-15
Posts: 10
Posted: Thu, 2009-09-24 05:55

This was driving me up the wall and my immediate solution (hack) was to remove the code that produces the full size image link in the media:group node. From the file /modules/rss/views/feed.mrss.php, I just removed this block:

         <? if (access::can("view_full", $child)): ?>
            <media:content url="<?= $child->file_url(true) ?>"
                           fileSize="<?= @filesize($child->file_path()) ?>"
                           type="<?= $child->mime_type ?>"
                           height="<?= $child->height ?>"
                           width="<?= $child->width ?>"
                           />
          <? endif ?>

Caveats:
- Only the resized image will be available in the slideshow.
- Change will impact all RSS feeds on your site. The full size link will no longer be available via any RSS feed in gallery.
- Gallery team can not support you if you do this... you're on your own.

There may be other issues, but I'm comfortable with the trade-offs I made (YMMV). Many of my lower bandwidth users appreciate it and can always go get the full size through the site if they so desire.

In the meantime I'm looking at how to add a configuration option as my first foray into coding for G3. Unless of course somebody already beat me to it :). I haven't checked trac in a few days.