I'd love to use Image.Import to import multiple images at once into my Image.gallery, BUT I also want to watermark my images and in it's current state the Image.Import portion of the Image module cannot allow for the Watermark module nor the Imagecache_Actions presets that define the watermark.

Please modify the Image.Import module such that other installed modules could provide import actions like watermark during the import process with a specified ImageCache_Actions preset action list. With this we could import a group of pictures all with a specified action applied to each picture during the import. (Image.Gallery watermark, Product code for sale, social group ID, etc.)

Thanks!

Comments

riversidekid’s picture

Now that I find http://drupal.org/node/231622, it appears this would not be necessary.

The only advantage of doing the ImageCache preset on the Image.Import rather than within the Image module would be a space savings. For example, I have a photo gallery that is about 10,000 photos. Using the method described in http://drupal.org/node/231622 will solve my problem, but will also create more images on _every_ upload as I will still need non manipulated versions of other photos uploaded for other parts of the site. If we are presented with the option at upload, then we can modify some images and not others.

Then again disks are cheap, so my 10,000 photos will turn into 40,000 with "thumbnail", "Preview", "Original" and now "GalleryView".

joachim’s picture

Do you mean a hook that would take form values and the imported image file, and allow an _alter() type hook to act on it?

That could be useful. Every few months there's a request to add more options to the image import form (eg taxonomy, author, etc) and each one needs corresponding processing.

If an alter hook could take the form values, the image, AND the node, and allow things like authorship, taxonomy, and manipulation of the image file, then I'd consider a patch :)

riversidekid’s picture

My original goal was to watermark some images as I upload them so that my "Preview" images are watermarked, then as the image gallery displayed the normal image preview it would contain the watermark. (I would not allow access to the original.) This would allow me to upload a group of images for my current project in a standard way, all the images for one project would be loaded to the same image.gallery and all have the same ImageCache profile applied. Although when uploading pictures for other projects like standard html images for blocks and such the standard "Preview" would be untouched, only the gallery images would be watermarked.

I posted this request after I read a request in another issues list that I can't find now. Someone had asked for a batch import functionality like Image.Import where the images could be watermarked in mass rather than individually, but the contributor of that module had indicated that the image.import module didn't offer any sort of "hook" to make this available. The image.import module is excellent for batch imports so I thought the two could be 'combined.'

Importing the image into a particular gallery via the Image.Import dropdown changes the taxonomy already. I'd just like an ImageCache Preset drop down on the same page.

Thanks for considering!!!!

joachim’s picture

> Importing the image into a particular gallery via the Image.Import dropdown changes the taxonomy already

Yes, but it's increasingly messy code. If this could all be done with hooks it would be better.

sun’s picture

Status: Active » Closed (won't fix)

Given that (a different) Image module is in Drupal 7 core, the contrib Image module remains minimally maintained now. It won't see any new features. Instead, we're trying hard to make upgrades to D7 work. See project page for details. Thanks!