Here is a some code in-work

There are 2 handlers for node images

Node Images: Display lightest image - topmost image
Node Images: Display node images - all images

There's a option to choose between thumbnail and fullsized image

CommentFileSizeAuthor
#2 views.zip3.67 KBandypost
#1 ni.patch937 bytesandypost
#1 views.zip3.47 KBandypost
ni_views.patch11.28 KBandypost

Comments

andypost’s picture

StatusFileSize
new3.47 KB
new937 bytes

Patch for module + views folder

andypost’s picture

StatusFileSize
new3.67 KB

Finally I got this working.

Patch is the same, but views should be re-thinked,
this implementation queries node_images's data on every row so maybe for long listings it's better to join-group

kribby’s picture

Placed views_handler_field_node_images(_lightest).inc in views/handlers, and node_images_views.inc in views/modules. Executed patch in #1. Flushed Views cache and no new arguments or fields came up. Is this no good for 6.x-2.1, or did I go wrong somewhere?

Thank you btw, pretty excited for this.

andypost’s picture

@kribby All *.inc files should be placed in views folder as they are in .zip
Just unzip this into NI folder and patch .module

Patch simply adds a few lines at the bottom of node_images.module so only available version is 6.x-2.1

kribby’s picture

Patch in #1 w/ .incs in #2 works perfectly.

Thank you very much andypost. This was much needed!

TechnoBuddhist’s picture

WELL SWEET. MANY MANY THANKS!!

just to clarify what I did with the views.zip. I unzipped the views.zip into nodeimages folder thus creating a views subfolder. I dunno if it was necessary to clear caches but I did and it worked flawlessly.

subir_ghosh’s picture

I did the following:

* Unzipped the zip file
* Uploaded 'views' folder into the modules/node_images folder
* Flushed views cache
* Flushed all other caches.

Still nothing appears anywhere

andypost’s picture

Try to add relation or make a new view

BeaPower’s picture

Did everything, how are you supposed to set up node images in views?

Is it the view - Node Images for Content Types?

sakiland’s picture

It works. Great, thanks.

chefarov’s picture

I can't display pictures from view in grid...
They appear one below the other.
I can apply any css rule to the view page except:
display:inline

Does anyone know a workaround?

Countzero’s picture

Stuff in #1 saved my ass from a painful replacement of this module on an old site. Thanks guys.

nimek’s picture

for better Views integration see here
https://drupal.org/node/2068723