Forum Index > FlashYourWeb OS Support > Gallery New Topic Post Reply
 Gallery To cooliris (formerly PicLens)
 |  Printable Version
suprsidr
 December 03 2008 04:56 AM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

Which line?

-s


There will always be...
 
Profile Email Website
Quote
Anonymous: Guest
 January 13 2010 05:15 AM  


Where did you download that standalone SWF 3d wall? It's included neither in Gallery nor in your plugin nor in Cooliris' official site.


 
Quote
suprsidr
 January 13 2010 05:22 AM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

They had sent it to me as part of a developer package.
But there is no need to have it yourself, just include the one they offer for free use.
http://lite.piclens.com/releases/1.3.1.14221/lite/PicLensLite.swf

I'm no longer sure if that's the latest, check their site.

-s


There will always be...
 
Profile Email Website
Quote
Anonymous: Guest
 January 13 2010 05:37 AM  


That file is a slideshow, not the 3D wall you put in the Cooliris article.

I've just downloaded their developer package (which requires DOT NET) and it too is for the slideshow.

I just want to know where to always get the latest cooliris.swf


 
Quote
suprsidr
 January 13 2010 05:49 AM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

The one we use here is piclenslite.swf which includes a rudimentary wall and came from my dev package a long time ago.
I have not kept up on their latest.
Flashloaded also sells a 3DWall and many other papervision flash apps which can be fed from gallery.

-s


There will always be...
 
Profile Email Website
Quote
Anonymous: Guest
 January 13 2010 06:30 AM  


The one you use there is called cooliris.swf.

PicLensLite.swf is for slideshows (as in the link you gave earlier).

The official site does have something called "Coolisis Express" but it's hosted there and not for download.


 
Quote
Anonymous: Andrew Atrens
 August 23 2011 11:52 AM  


Quote by: suprsidr

Something along the lines of:

gallery2/picLensRss.php?g2_itemId={$theme.idem.id}&g2_maxImageWidth=600&g2_maxImageHeight=600

Gallery 2.3 now supports Cooliris natively, and my slideshow module update (currently in review) allows you to choose size limit.

-s



I was looking for a way to have the slideshow grab subalbums too, and ran across a small patch by Andrew Webber on Gallery's sourceforge project pages that accomplishes this. Unfortunately the patch didn't apply cleanly on top of this slideshow module update, so I've modifed it to do so -

PHP Formatted Code

$ diff -u SlideshowHelper.class@@0x0000000118058300    SlideshowHelper.class
--- SlideshowHelper.class@@0x0000000118058300   2011-08-20 01:38:11 -0400
+++ SlideshowHelper.class       2011-08-21 23:40:49 -0400
@@ -125,6 +125,8 @@
     }
     
     $items = array();
+    $childAlbums = array();
+
     list ($ret, $childItems) = GalleryCoreApi::loadEntitiesById($childIds, 'GalleryItem');
     if ($ret) {
         return array($ret, null, null);
@@ -150,6 +152,11 @@
         $start = 0;
     }
     foreach ($childItems as $child) {
+
+       if (GalleryUtilities::isA($child, 'GalleryAlbumItem')) {
+            array_push($childAlbums, $child);
+       }
+
         if (count($items)%100 == 0) {
             $gallery->guaranteeTimeLimit(30);
         }
@@ -236,6 +243,21 @@
             }
         }
     }
+
+    // Go through all of the sub-albums
+    foreach($childAlbums as $childAlbum) {
+             // Get the sub-albums items
+             list ($ret, $subAlbumItemIds) = GalleryCoreApi::fetchChildItemIds($childAlbum, 0);
+             if (!$ret) {
+                     // Recursive call to add these items to the slideshow list
+                     list ($ret, $subAlbumItems, $start) = SlideshowHelper::buildItemsSlideshow($subAlbumItemIds,
+                                                             $childAlbum->getId());
+                     if(!$ret) {
+                             // Add the sub-album items after this albums items
+                             $items = array_merge($items, $subAlbumItems);
+                     }
+             }
+    }
     
     return array(null, $items,isset($start)?$start:0);
     }
 


Your mileage may vary, but this patch works for me.

--Andrew


 
Quote
suprsidr
 August 23 2011 12:13 PM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

I have a pretty fun way to display child albums in cooliris.

-s


There will always be...
 
Profile Email Website
Quote
Content generated in: 0.22 seconds
New Topic Post Reply



 All times are PDT. The time is now 12:40 PM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
HTML Allowed 
Censored Content