Thumbnails settings - Max. number of columns
| Project: | Gallery Addon |
| Version: | 6.x-1.x-dev |
| Component: | Module: Gallery Field |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hi,
I'm just working on integrating the gallery_addon into CCK content types using a preexisting Gallery2 gallery base.
It seems the setting for the "max. number of columns" in on cck gallery field are not used for changing the table grid in "theme_gallery_field_formatter_default()". I can get the value for $num_cols printed in the file "gallery-block-grid-block.tpl.php" but it doesn't seem to be affecting the grid build.
Could it be related to the 'ImageBlock' in the function "theme_gallery_field_formatter_default()"?
$block = gallery_get_block($params, 'ImageBlock', $extra);I'm assuming the problem is related to the gallery_addon module since the grid is working properly in the standard gallery grid block.
I hope someone has an idea what the issue could be and how to solve it.
Right now the thumbnails display in the cck content is one image per row and I need it to be in columns.
Thank you for any comments.

#1
The point is that the latest version of gallery_field does not support multiple values at all (and therefore no multicolumn layout). I'm currently working on a revised version that allows you to specify multiple G2 items like "39; 45; 71". I hope to make this compatible with G2Image (temporary solution until G2Image is modified accordingly). The improved gallery_field module should be available from cvs shortly (in the next few days) ...
#2
Oh, I see what you are saying. Thanks for the update.
I'll be checking out the next release then.