ImageFlow Gallery
Permalink 1 user found helpfulOh, and the "legal stuff": commercial use of the ImageFlow gallery is not free, so head on over to their site if you end up using it:
http://finnrudolph.de/ImageFlow/Download...
I included some customization options in the block setup form, but there are more options lurking in the code and even a couple of database fields created that I decided not to use (at least not yet :)
"Gallery Title" I intend to use in my implementation by creating an Image Gallery Autonav block that grabs all of the galleries on a page and list them by Gallery Title. Clicking on a gallery would then hide the other galleries and show only the one you selected. I just haven't gotten that far yet. I'm open to other suggestions about how this should work.
(By the way, I typed this whole post one-handed while rocking my teething baby back to sleep, so please excuse any typos :)
By the other way... I just realized I never tested this in IE, or Safari, or etc. - only Flock (and I suppose by extension, Firefox) - and the loading bar is doing a strange thing in IE. Any ideas on fixing my CSS? (Did I mention I'm rather new to CSS as well :)?
Update: If the images don't show up, try changing the "reflections" property to "false" in the defaults section near the top of imageflow.js. Also, check your PHP/GD version (Thanks Remo!). There are some other defaults in that file that you can change, as well.
ImageFlow Black
ImageFlow White
takes more than 5 minutes but might be nice.
ImageFlow does not have an open license, so it will most likely not be merged into the gallery block.
Including ImageFlow in the "default gallery" block might be a problem but if it's easy to add a new template, this shouldn't be a problem..
Install the gallery block, install the imageflow template. Means there are two steps but I think that's okay if there's no open license...
We just have to find a nice and flexible way to add templates with different options/parameters.. xml?
Warning: Loader::require_once(/Applications/MAMP/htdocs/almasi_c5/concrete/config/../blocks/flow_gallery/controller.php) [function.Loader-require-once]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/almasi_c5/concrete/libraries/loader.php on line 88 Fatal error: Loader::require_once() [function.require]: Failed opening required '/Applications/MAMP/htdocs/almasi_c5/concrete/config/../blocks/flow_gallery/controller.php' (include_path='.:/Applications/MAMP/bin/php5/lib/php:/Applications/MAMP/htdocs/almasi_c5/libraries/3rdparty:/Applications/MAMP/htdocs/almasi_c5/concrete/config/../libraries/3rdparty') in /Applications/MAMP/htdocs/almasi_c5/concrete/libraries/loader.php on line 88
I installed imageflowgallery just fine, the menus show up to add images. Installed to blocks/imageflowgallery.
(Mac OS X, MAMP, Safari Browser)
** UPDATE **
so, i cannot figure out for the life of me where it thinks 'flow_gallery' is defined. I 'faked' it out for now by creating the directory and including a blank PHP file inside of that directory.
MyCapitalizedTestBlockController = my_capitalized_test in the filesystem.
So for example, looking at the original attachment, the class was named imageFlowGalleryBlockController but the directory was imageflowgallery... I changed it to be FlowGalleryBlockController and changed the directory in the filesystem to be "flow_gallery" and it looks like it finds things fine.
There are some other issues with the block that I'm checking out...but installing it went fine at this point.
There's a better way of grabbing the "current directory" that you're in than hard-coding it to DIR_REL/whatever/.. unfortunately we could do a better job documenting it.
Instead of defining $blockTypePath the way that's done currently, try this:
$ci = Loader::helper('concrete/urls'); $blockTypePath = $ci->getBlockTypeAssetsURL($b);
$b is the block's object that's always available in the view template of a block... and the getBlockTypeAssetsURL function ensures that the correct path to the block is used...whether the block is added to the local install, the core concrete directory, or a particular application directory...
Nice block...very pretty. Cool approach to a gallery.
I'm really enjoying this system and kind of wish that I was using it for more than just a hobby/family site.
My problem is that after selecting each of the files to be in imageflow block, it says "undefined" instead of the image's name (hypothetically). Anyway if I go on updating, the block only shows "loading images 0/0" messages and no images at all
How must I proceed?
Many thanks!!
If anyone does, though, I'd be interested to hear what needs to be updated. (I only got as far as figuring out that it has something to do with a change to the asset library interface.)
As I'm a complete novice both on C5 and CSS, your indication is "a small reply for you and a giant leap for me" ;-)
Anyway, any further advise will be welcomed, as I'm preparing my first, let's say productive, site.
Many thanks
I'll try to post the modifications required in a few days, as I'm quite busy trying to go live my first c5 site :-)
Thanks for this amazing platform C5 and for this great block!
Since it's only a view template - all of the ImageFlow variables are locked in as constants. If you want to change any of them, you'd have to go to to the bottom of the "view.php" file and adjust the code there.
Also, I should mention again that I got this script from someone else and using it on commercial sites requires paying for a license. Check the link in the first comment in this thread to purchase that commercial site license.
Do you have any plans to integrate this with a lightbox rather than just the plain old new page?
Iain
In case someone can't see the pictures. This is probably a problem with GD. His reflect scripts needs at least 2.0.1 or later. There's a problem with PHP/GD if you don't link it statically, php doesn't know about the exact gd version.. But I guess I'm the only one who doesn't use a static version ;-)
Couldn't we merge the ImageFlowGallery block with the Gallery Block? Having multiple templates is nicely implemented in concrete5 and would make it easier to switch between the layouts...
But I'm aware that you need a few options (checkboxes) that are not needed by all the galleries.... Just something to think about :)
Keep up the great work!