Closed (fixed)
Project:
Node Images
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
13 Feb 2007 at 17:38 UTC
Updated:
8 Sep 2008 at 09:07 UTC
Jump to comment: Most recent file
We are working on a recipe-database using the recipe module (http://drupal.org/project/recipe). One of the planned features is that users could upload images of recipes they cooked. I thought this is possible with node_images but It looks like it's only possible for the user that has created the recipe.
So it would be great to have this feature:
Allow any user that has the right permissions to upload an image to a node.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | node_images.patch | 15.72 KB | stefano73 |
Comments
Comment #1
stefano73 commentedThe node owner shoudl always be able to add images. Did you set the appropriate options for the recipe content type?
What version of the node_images module are you using?
Comment #2
Noki commentedI use 5.x-1.x-dev.
The thing that I request as a feature is not that the node owner is not able to add images (that one works fine).
What I want: Users other than the node owner should be able to add images. Any registered user should be able to add images to any recipe-node.
Comment #3
stefano73 commentedAre those users allowed to edit the node as well? The permission to add node_images is given to users who can create node images and update the node. So if you let users edit recipes, they will be able to add node images as well.
I guess you don't want users to edit the recipe, but you want them to add node images. Is this your case?
Comment #4
Noki commented>Are those users allowed to edit the node as well?
No.
>I guess you don't want users to edit the recipe, but you want them to add node images. Is this your case?
Exactly!
Comment #5
jjanssen commentedI'd echo this request... my nodes are 'products', and I'd like users to be able to upload their own pictures of the products w/o being able to do anything to the node or the other images. Preferably the link to add new images would be in the 'links' list, not the 'menu' bar at the top.
Comment #6
marcoBauli commentedsame need here since a while. subscribing and offering for testing
Comment #7
stefano73 commentedI made several updates to node_images module, including the requested feature. This is a list of the latest changes:
Feel free to try this patch and send feedback if something doesn't work as expected. Thanks.
Comment #8
tomceek commentedI have tried new patch
very nice features aded but something is missing:
when using views it is very important to have option that if clicked on image it should open node, not only image pop-up.
because if I have inserted 10 images to node but showing only one in teaser. if user presed image on teaser (view) it see only one picture because there is no option to browse all images in pop-up. and node content is not showing too where site users would see important information related to images.
Comment #9
raiyne commentedThanks!
I apologize I'm new to patching, I'm using Cygwin to patch the file, but I don't know what to use as the file to be patched. It looks like there are several files being altered?
Looking forward to the changes though!
Thanks!
Ben
Comment #10
stefano73 commentedcheck the latest 5.x-3.x release: http://drupal.org/node/298968
Comment #11
stefano73 commented