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');

Only local images are allowed. imagecache_create_url('ExposicionPagina', $node->field_imagenes[0]['filepath']) ">
 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

    Mark Theunissen’s picture

    Status: Active » Postponed (maintainer needs more info)

    Please put your code into <code> tags.

    Mark Theunissen’s picture

    Status: Postponed (maintainer needs more info) » Closed (won't fix)
    ChrisBryant’s picture

    I 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!

    Mark Theunissen’s picture

    When 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!

    ChrisBryant’s picture

    Status: Closed (won't fix) » Active

    Thanks 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.

    roger6106’s picture

    I'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.

    ipwa’s picture

    Status: Active » Closed (duplicate)