Needs review
Project:
Imagefield Gallery
Version:
5.x-2.0-alpha2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2008 at 19:55 UTC
Updated:
13 Jan 2011 at 11:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
eclipsegc commentedOnce 2.0 is final I'll be working on the D6 version of this module. There will be some pretty significant changes, and hopefully some gains as well. I don't promise it will happen quickly but it WILL happen.
Eclipse
Comment #2
wuf31 commentedok, thanks for the clear reply.
Comment #3
duntuk commentedsubscribing
Comment #4
zilla commentedsubscribing...this is outstanding...
Comment #5
Flying Drupalist commentedsubscribe :P
Comment #6
wintervanilla commentedsubscribe -- excited for this!
Comment #7
fm commentedThis looks like a great module. I wish it were available in Drupal 6.x.
Subscribing.
Comment #8
zilla commentedbtw, will this interact at all with the new inline api idea via the inline module? looks like a whole buncha image related stuff is going to merge over the coming year (inline for imagefield and image combined, etc)....
Comment #9
henrijs.seso commented+1
Comment #10
level09 commentedit would be nice if this module uses the original lightbox module, instead of its own lightbox.
Subscribing
Comment #11
hribu commentedSubscribing.
Comment #12
zilla commentedhey, this is random, but i'm achieving a similar desired effect right now without this module sorta by accident - the acquia marina theme has a set of controls in blocks to prevent overflows and line up and float items and all of that...by using imagefield cck, i simply put the block for the images in the right sidebar, set the field as hidden in node display, and voila - a beautiful sidebar of photos for a 'story' etc comes up on right side of my page, or in lower section, or in header, and they automically align and float (very useful for horizontal!!!) and get wrapped in block elements (eg white nifty with border on right side) and of course, the block can then be lightbox enabled, so produces the slideshow, image gallery or whatever...just recording here for posterity, sorry if this is way off topic!
Comment #13
ajayg commented@zilla,
Would you be able to share a demo site as it was not clear to me?
Comment #14
zilla commentedmy site is offline, but if you try this, you'll see exactly what i mean - use cck imagefield, display hidden in node but put the block for the cck in the same content type (side or bottom, whatever) and voila, they're aligned and well positioned - very nice effect - only problem is when in content bottom they go below comments so i need to screw around with that a bit more to move 'content bottom' above comments but without screwing up right side column positioning (afraid it will push everything down and screw it up so instead for now keeping on right sidebar...
attached screenshot for you though
the main (big image) is one imagecache preset set to display in the node - those little pics on right are from 'additional pics' (an unlimited imagefield type) and set to hidden on node BUT the cck block for that field is in sidebar last (i was screwing around with local.css,that's why they're all aligned left right now, but i'll be dinging that shortly ;)
best part is they still fully respect lightbox settings AND only appear if there are pictures in there - seems to solve most of my problem because i haven't yet encountered users putting up five million photos...
also found a 'content templates' solution to this as well for putting below content in rows - but it uses a table which is tedious...
Comment #15
radj commentedsubscribing...
Comment #16
ztyx commented+1
subscribing
Comment #17
Babalu commentedsubscribing
Comment #18
zilla commentedany update as of late november? it seems that views and cck are ready to roll, and as a result imagefield is quite stable right now (along with imagecache)
any insights appreciated and welcome, and i'm more than eager to test and report back any/all issues on a dev release (site is pre-production for at least another month or so)
Comment #19
radj commentedI've been using imagefield (6.x-3.x-dev) for drupal 6 for almost a month and it's working great, no problems so far.
Comment #20
zilla commentedcurrently doing crapola horizontal (after much struggling!) using some code discussed at imagefield module support - would love to know if you have any ideas about how to simulate the layout of imagefield gallery (table look, nice even spacing when using imagecahce etc) - post at: http://drupal.org/node/337651
Comment #21
eclipsegc commentedSo, it's probably worth posting on this at this point.
As most of you have noticed, time has not lent itself toward getting this project done recently, and probably will not until mid-January to early-February. As such, I'm going to share the intent and direction so that those of you who'd like a manual fix for this right now can make use of it.
Views can achieve all the things that imagefield gallery does (and much more). As such it's my intent in D6 to build a views based module to have this same set of functionality. This is just an argumented view that shows on a given node (type) and shows the images of that node. Pretty easy to accomplish really, IFG for drupal 6 will just be an extension of that... hopefully more easily managed/setup.
That should get most of you where you need to go.
Eclipse
Comment #22
Flying Drupalist commentedHi EclipseGc, isn't the main appeal of this gallery that it promises to be a node based gallery rather than a term based as you would be forced to do with views? Though I understand it's not difficult to put together a node reference type for a gallery, it still has some usability issues?
Anyway I'm really anticipating this module.
Comment #23
ajayg commentedAnother appeal for me with this module is each image is not NOT node but associated with a node. So it is much lightweight. I am afraid if we use views won't it make it more heavy since each image would be a node now.
Comment #24
zilla commented@eclipse - thanks, was actually wondering about using 'grid' view in bonus pack to achieve this sort of effect, and also realized that with imagecache actions, one can put nice borders around the imagefields and so on to simulate a gallery...
in fact, i've achieved a sort of desired effect with a simple snippet of css in case folks want to try this out:
....simply replace "pics" with whatever you've called your field under "manage fields" for the content type - in my case, i use field_pics on several content types in which i want these imagefields to appear in horizontal rows instead of stacks (vertical)...but do be aware that this styling will not work for content types in which the images appear in a 'fieldgroup' tab (via script) - not sure how to massage code for that particular element!
not a total solution, but avoids need to do this with views as an attached view or anything of that sort, and allows for additional styling options, integration with lightbox etc...here's a (crappy) screenshot of what the layout result looks like, though be aware that this is *before* i set imagecache to resize them all to the same size! http://cdn1.drupal.org/files/issues/screen-1_12.jpg
Comment #25
mandclu commentedanother subscriber
Comment #26
eclipsegc commentedok, so I was prompted to post here again as it seems not everyone is understanding what I'm saying, so we'll try this one more time and see if we can get some more grokage.
Views is incredibly powerful in D6. As such we can do some pretty cool things with it. Currently imagefield_gallery(IFG) in D5 builds a gallery from the images you have on a single node (it can do other things, but that's the basic basic). Views2 has the ability to emulate this completely (views1 did as well and had I understood that at the time, this would already be a views based solution). With that in mind, the D6 version of IFG will be views based, allowing us to still have a single node with many images, or a gallery of nodes. Either will work just fine. (we can even do both)
So fear not, much of the same functionality you're used to will make its way across, we'll just be views based instead of being something manually built.
I hope this clears up the confusion.
Eclipse
Comment #27
zilla commentedyup! thanks eclipse - just hope there's a bit of documentation or a video kinda walkthru to make it easy for people to switch over!
Comment #28
spython commentedI found a way to replicate imagefield_gallery functionality - show multiple thumbnails inside a node, not using views, and add lightbox to them.
First, install imagefield and lightbox and all their needed modules (imagecache, ImageAPI..)
Then add a new image field to your content type in cck. Set the visibility to 'hidden' in "display fields" if you don't use contemplate.
Define your presets in imagecache, one for the thumbnails and one for the image that will be shown in the lightbox.
Then add the following code inside your node-your_node_type.tpl file in your theme directory.
Don't forget to change the names of the imagecache presets and the form field to your names.
I found the code here http://drupal.org/node/274487 and changed it a bit to show image description under every image.
Then add this to your css file for styling
It should work now.
I've done it in an hour, so maybe there is a better way to do it, perhaps using contemplate.
Comment #29
nevergoneHey,
What about porting and when we can try the version under Drupal 6?
Thanks! :)
Comment #30
watbe commentedsubscribing...
Comment #31
Zarevac commentedSubscribing
Comment #32
alphex commentedSubscribing.
Comment #33
enxox commentedsubscribing
Comment #34
msabnis commentedI achieved this with Views2. If you set up your view for a single node using arguments,
you can use the Grid formatting for the imagefield field. Damn, even the pager works for it.
Comment #35
msabnis commentedHeres the export of the sample view:
$view = new view;
$view->name = 'test';
$view->description = '';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
'field_memento_images_fid' => array(
'label' => '',
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'imagefield__lightshow2__thumb__big',
'multiple' => array(
'group' => 0,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => 0,
),
'exclude' => 0,
'id' => 'field_memento_images_fid',
'table' => 'node_data_field_memento_images',
'field' => 'field_memento_images_fid',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
));
$handler->override_option('arguments', array(
'title' => array(
'default_action' => 'empty',
'style_plugin' => 'default_summary',
'style_options' => array(),
'wildcard' => 'all',
'wildcard_substitution' => 'All',
'title' => '',
'default_argument_type' => 'fixed',
'default_argument' => '',
'validate_type' => 'none',
'validate_fail' => 'not found',
'glossary' => 0,
'limit' => '0',
'case' => 'none',
'path_case' => 'none',
'transform_dash' => 0,
'id' => 'title',
'table' => 'node',
'field' => 'title',
'relationship' => 'none',
'default_options_div_prefix' => '',
'default_argument_user' => 0,
'default_argument_fixed' => '',
'default_argument_php' => '',
'validate_argument_node_type' => array(
'memento' => 0,
'page' => 0,
'story' => 0,
),
'validate_argument_node_access' => 0,
'validate_argument_nid_type' => 'nid',
'validate_argument_vocabulary' => array(),
'validate_argument_type' => 'tid',
'validate_argument_php' => '',
),
));
$handler->override_option('access', array(
'type' => 'none',
));
$handler->override_option('items_per_page', 2);
$handler->override_option('use_pager', 'mini');
$handler->override_option('distinct', 1);
$handler->override_option('style_plugin', 'grid');
$handler->override_option('style_options', array(
'columns' => '4',
'alignment' => 'horizontal',
));
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->override_option('path', 'test');
$handler->override_option('menu', array(
'type' => 'none',
'title' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'weight' => 0,
));
Comment #36
bcobin commentedThanks to spython (#28) - this is a great solution and very smartly done. I would just love to be able to add captions under the thumbs, which is (to me, anyway) more complicated than it might seem at first glance.
Thank you so much!
Comment #37
bnice5000 commented+1
Comment #38
eclipsegc commentedThis is exactly where IFG will be heading when I do the D6 upgrade. Views is our future. Been saying it for a while. Now I just need time to do it. :-)
Comment #39
Carlos Miranda Levy commentedsubscribing
Comment #40
portait commentedThis could be a suggestion of a perfectly upload process.
http://i41.tinypic.com/2jfdndl.png
Comment #41
doomed commentedDo you mind posting a proper screenshot ?
Fullscreen or full window. Dont crop it.
Thanks.
Comment #42
avolve commentedAs someone who set up a D5 site using this — http://bike.veganarky.net/ — I also look forward to the release of the D6 version...
Comment #43
Carlos Miranda Levy commentedsubscribing
Comment #44
Carlos Miranda Levy commentedregarding #14 above...
"put the block for the cck"?
My Imagefield module does not generate any block, nor does cck, as far as I can tell.
Am I missing something?
Comment #45
ManyNancy commentedI don't see how it's possible to use views. Views does not have a latest node field for terms. It's fine if your gallery consists only of single level terms, but for anything hierarchical views simply do not work.
Comment #46
scroogie commentedYou need to use an additional module for the hierarchy, e.g. nodereference or Node Hierarchy (http://drupal.org/project/nodehierarchy).
Comment #47
dquakenbush commentedsubscribing
Comment #48
DenRaf commentedI have created a patch for the module to work on Drupal6.
Please test.
Comment #49
spydmobile commentednice Cant wait till its rolled into a release!
Comment #50
gugki commentedI just tested the patch for D6 and it seems to work.
Nevertheless, I does not provide me anything to select in the gallery type settings -> just "No Gallery".
I've not used the D5 version, so no clue how to add Gallery types...
Comment #51
gugki commentedhere's a screenshot of what I mean
Comment #52
DenRaf commentedYou have to enable Lightbox2 ImageField Gallery and/or Scrollbox ImageField Gallery. With that select you can choose which one to use for that field.
Comment #53
bbibs commentedHey !
Sorry for my stupid question but someone can help me to install this patch for D6 (#48) ?
Do I have to copy it somewhere ?
Many thanks !
Comment #54
scroogie commentedI suggest you have a look at http://drupal.org/project/views_gallery
Comment #55
eclipsegc commentedSo, since there are a lot of subscriptions to this, I thought I'd make mention that the D6 version of this has been started, and it is currently being developed on github. You can keep up with my alphas by visiting http://features.worxco.com/node/6
This is COMPLETELY unsupported, and is subject to significant changes still. But I wanted to provide it all the same since I know there is a significant interest.
Eclipse
PS: The feature server should keep you up-to-date with newest versions just like drupal.org would, so if you install from the posted link (instead of the git repository) it should notify you of new releases.
Comment #56
summit commentedSubscribing, greetings, Martijn
Comment #57
summit commentedHi, Can somebody post a .rar or .zip file of imagefield gallery Drupal 6?
Thanks a lot in advance!
greetings,
Martijn