Project:Node Images
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

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

AttachmentSize
ni_views.patch11.28 KB

Comments

#1

Patch for module + views folder

AttachmentSize
ni.patch 937 bytes
views.zip 3.47 KB

#2

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

AttachmentSize
views.zip 3.67 KB

#3

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.

#4

@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

#5

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

Thank you very much andypost. This was much needed!

#6

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.

#7

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

#8

Try to add relation or make a new view

#9

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

Is it the view - Node Images for Content Types?

#10

It works. Great, thanks.

#11

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?