When im trying get a list of views with node gallery and Node Gallery: Gallery ID field, only appears node-gallery-thumbnail in image options, so if i want two lists of node-gallery with diferent size I cant. So i want to know if its possible to display a list of all imagecache presets.

Reagards.

Comments

dbeall’s picture

let me know what version of node_gallery you are using and when it was downloaded and I may be able to help you out on this..

etion’s picture

version:6.x-2.0-alpha12

dbeall’s picture

Version: 6.x-2.0-alpha1 » 6.x-2.0-alpha12

change to proper version

Ok, I will look through my files, check things and have something for you tonight.

dbeall’s picture

i have been hunting for the views handler for this.. it is some place buried in this issue queue but I can't find it yet. It was the best handler node_gallery ever had.. I have no idea why it wasn't added to the module. I had dumped all my localhost development copies.. I will have another try finding it later..
I think it's about time it was added to the module. There is no reason why all the image cache presets are not available in views.
I think Designwork wrote it.

etion’s picture

Should I downgrade to 6.x-2.0-alpha1?

dbeall’s picture

no ! stay with alpha12 or the dev version.
I had the imagecache presets working on my local server in views before. I had to dump my server and reload everything and lost it.. I was testing virtual hosts to help someone in the forums and messed up the whole thing...
I will look for it when I get more time,, maybe this weekend.
I know the handler is posted here in the issue queue someplace, I just have to find it.
And it was neat too, being able to call up any preset for a view. In views it was in the 'add fields' select box under 'content'.

etion’s picture

Hi dbeal, thanks for your help, I detected other problem im trying to order galleries in views by post date, doesnt work either.

Manamarak’s picture

Like many other people, I am looking for this feature. Being able to call a different size image depending on the positioning is a key feature that is needed in a gallery module such as this. I do hope there is progress on this as my site's development is stuck without it. I know that I can use css, but that would add tremendous bandwidth overheads.

I've been led to under stand that in Node Gallery 3 this issue will be resolved, so I'm just wondering when an alpha will be available for testing.

pkcho’s picture

Has this issue been resolved? Having access to all of my image cache presets in Node Gallery views is a must!

Thank you,
Joe

dddave’s picture

@dbeall

Is this the stuff you were searching in #4: http://drupal.org/node/625528#comment-2496704

dbeall’s picture

Thanks dddave, It could be, I will give it run through tonight and see..
I looked for it one day and couldn't find it.

I've been tied up here with work, my one busy time of year.
Getting boats in the lake and covers made(spring rush).

dddave’s picture

No hassle, money has to be earned. ;)

whatsnewsisyphus’s picture

I'm searching high and low for this, will let you know if I can find it.

! Just found it.
I'm not good with php, don't want to introduce errors, can someone add a dropdown to choose which imagecache preset to use? Right now I'm overriding it by coding it into my theme, but it will be a pain if I hand the site over.

includes/node_gallery_handler_field_gid

  function render($value) {
    $config = node_gallery_get_config($this->options['node_gallery_setting']);
    // if nga is there, and our gallery is password protected, show our protected image
    if (module_exists('node_gallery_access')) {
      if ($value->access_type == NODE_GALLERY_ACCESS_TYPE_PASSWORD) {
        if (!node_gallery_access_check_access($value, 'gallery')) {
          $value->filepath = node_gallery_access_default_pass_image();
        }
      }
    }
    $image = theme('image_view', $config['image_size']['thumbnail'], $value);
    if ($this->options['link_to_node']) {
      return l($image, 'node/'. $value->{$this->field_alias}, array('html' => TRUE));
    }
    return $image;
  }
whatsnewsisyphus’s picture

Priority: Normal » Critical
Status: Active » Needs review
whatsnewsisyphus’s picture

I uploaded a new handler here based on DesignWork's handler, it works.

http://drupal.org/node/613988#comment-2888832

dddave’s picture

Status: Needs review » Closed (won't fix)

There won't be any work on new features for NG2. NG3 is where the magic happens and we urge users to upgrade.