Closed (duplicate)
Project:
Galleria
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2009 at 11:28 UTC
Updated:
3 Apr 2009 at 15:54 UTC
Hello Im using galleri but i have a problem, I need use several imagecache presets so i use imagecache and imagefield module. To do this i use content template to use the module on my way this is my code:
$modulepath = drupal_get_path('module', 'galleria');
drupal_add_css($modulepath . '/inc/galleria.css');
drupal_add_js($modulepath . '/inc/jquery.galleria.js');
drupal_add_js($modulepath . '/inc/galleria.js');
$settings = array(
'thumb_opacity' => variable_get('galleria_thumb_opacity', 0.3),
);
drupal_add_js($settings, 'setting');
foreach ((array)$node->field_imagenes as $item) {
$pagina = imagecache_create_url('ExposicionPagina', $item['filepath']);
$mini = imagecache_create_url('ExposicionPaginamini', $item['filepath']); print '<a href="'.$pagina.'" title="A caption"><img src="'.$mini.'" alt="Image01"></a>' }
My problem is that i created a galleria_wrapper in content template because Im unable to load the first image, when i click in one image its load without problem.But if put this code the image appears twice. Someone can help me?.
Reagards.
Comments
Comment #1
Mark Theunissen commentedPlease put your code into <code> tags.
Comment #2
Mark Theunissen commentedComment #3
ChrisBryant commentedI can understand if you won't fix the above specific support request issue, but does that mean you aren't open at all to having the Galleria module support using Imagefield rather than upload module?
Imagefield is more and more becoming the preferred method for handling images in Drupal. This Galleria module is one of the nicest methods of displaying images and it would be a shame to have to have a duplicate module that does the same thing, but for imagefield.
If it's a matter of time, then would you be open to patches to support imagefield?
Thanks!
Comment #4
Mark Theunissen commentedWhen I first made this module, Imagefield was in early Alpha and too unstable to deploy on my production sites. So that's why I went with upload.module.
I will probably get this functionality in now, since Imagefield is coming close to official release. But I'll have to see when I have time. Patches welcome!
Comment #5
ChrisBryant commentedThanks for the update Mark! I'm setting this to active then based on the above. If one of the developers on our team have the time coming up and can help, I'll have them get in touch.
Comment #6
roger6106 commentedI've been searching around for the best image slideshow, and this definitely looks the best. I would greatly appreciated it if Imagefield support was added to this. Thanks for all the work you've been doing.
Comment #7
ipwa commentedDuplicate of: http://drupal.org/node/342708