When I referenced one image on multible nodes i would like to have the possibility to update this image in one node and all others got their references updated too. As now I only can remove an image and then upload a new version (which gets a different fid and therefor the other images will be the old ones) and have to rereference in all other nodes to the new image. Pretty time consuming.
To the existing add, remove, reuse an update funktionality (including the imagecache images) would be very handy.

grossmann-mcs

CommentFileSizeAuthor
#6 content_file.txt40.98 KBgrossmann

Comments

quicksketch’s picture

This probably won't be added. It sounds like what you'd need in this situation is a way to edit the file record itself directly. Perhaps #1086958: Switch from Media Entity to File Entity would be able to provide this once File Entity gets split out into its own module.

grossmann’s picture

OK I see the way to go here. But right now the Media module doesn't do the job I am looking for (updating images/files). I am not that much of a developer but is it a big thing to do a new posibillity to replace an image?
Searching through the API I found the file_copy funktion this a possible FILE_EXISTS_REPLACE parameter which should do exactly this. There also is an hook hook_file_copy which might work (is it possible to serve the parameter to the hook?).
Do you think this is possible? Maybe in an separate module with separte operation button like remove/update/replace so all can use this without FileFiled Sources.

grossmann-mcs

asb’s picture

I believe the crux here is that lots (I mean *lots*) of users are referred to 'FileField Sources' when looking for an replacement for 'Image' module's 'Image Attach' sub-module. Image Attach works much more intuitive for us ordinary human users since it actually references what we wan to reference (an image, with all it's attached properties).

I'm currently searching for an old issue with FileField Sources which was about the re-use of metadata (like title, description...) when "re-using" the file through 'FileField Sources' (#837894: Reuse existing metadata); the metadata isn't re-used, and it's everytime annoying to look up the referenced image's original, copy it's description, and paste it in the "re-used" FileField. Basically that's the same issue: I actually want to reference ("re-use") something different than FileField Sources allows me to.

This issue relates as well to the long-standing problem that we can not automatically embed metadata (like copyright/credits) into the image display, e.g. throgh 'image_filter': Look up the original image once more, and copy the title/description/whatever again, just to paste it somewhere again. And all hell breaks lose if you need to consistently modify all metadata of one "file" the same way. Lots of crutches to walk with other crutches...

quicksketch’s picture

Status: Active » Closed (won't fix)

Per #1.

asb’s picture

Too bad, as the functional gap to 'Image Attach' has become cemeneted with this :-(

Has anyone figured out working procedures how to accomlish to [bulk] update referenced images manually?

grossmann’s picture

StatusFileSize
new40.98 KB

@asb
I found a solution with the latest version of http://drupal.org/project/file_entity. With this you can edit a file reference on the path yourdomain/file/%fid/edit. I made a view to administer all files (see attachment). The only thing i lack is the posibillity to edit a file on the node edit screen. This is where i think filefield sources could close the gap should file entity not provide the necessary function (see issue here http://drupal.org/node/1669230).

asb’s picture

@grossmann-mcs: Thanks, this sounds very good, and I'll play with it, if time permits!