Bulk tag/description edit?

Hi all,

is there any way to assign tag to a, let's say, 100 of photos in one time? The same question for description/copyright and other fields.
«1

Comments

  • acrylian Administrator, Developer
    There is no function/option for that on Zenphoto. But two way basically:
    1. Use an image program to add EXIF/IPTC data to your images via batch processing. Zenphoto will read this.
    2. You can of course do this also directly in the database.
  • divan Member
    acrylia, thanks. I'm learning the Zenphoto and like it a lot, including the code itself. And I really need this feature, so, perhaps the best way is to write an own plugin for that.
  • acrylian Administrator, Developer
    Yes, a plugin is a good idea. Take a look at the "utilities" for the backend.
  • With the development build (and 1.2.6) there is a plugin that lets you mass-edit images. You have to change each image, but you get them all on one page.
  • divan Member
    sbillard, thank you, I'll take a look on it.
  • sbillard, I took the mass edit plugin as a template and made the plugin I talked about.

    A quick description - all images(thumbs) from the album are displayed on the one page, without paginating. User can select multiplie images using checkboxes in two clicks - using regular shift-key and ctrl-key modifiers. So you can select/unselect a lot of images very quickly. Check/Uncheck all button is also available.
    Images are displayed in small size(even smaller the default thumbnail's size), but on mouse hover the bigger image(500px) is displayed in popup(CSS/JS). The big image is loaded dynamically only on hover, and not on the page initial load, saving traffic.
    Once selected, you can choose what you want to bulk change - for now only 'title' and 'description' fields are supported. I don't need other fields, but it's easy to add another fields if someone need to.
    A few screenshots:
    http://divan0.org.ua/web/zemphoto/screenshot0.png - interface
    http://divan0.org.ua/web/zemphoto/screenshot1.png - popup image, loaded on mousehover
    http://divan0.org.ua/web/zemphoto/screenshot2.png - entering new 'description'
    http://divan0.org.ua/web/zemphoto/screenshot3.png - viewing changes

    The sources available here:
    http://divan0.org.ua/web/zemphoto/plugin_image-bulkedit.tgz

    So, I wrote the plugin for my needs, and I'm pretty sure it's not ready to be a official plugin - it needs more code cleanup/review, adding more fields and logic, perhaps some redesign. And if someone needs such a plugin - I'll be glad to hear suggestions/requests and also be glad if some will pick up and improve the plugin to make it ready for official approving.
  • fretzl Administrator, Developer
    Looks very good !! Hope this will be an official plugin.
    I more or less thought sbillard was working on something like this(no offence Stephen)
  • acrylian Administrator, Developer
    Looks nice. We always appreciate solutions that evolve from personal needs..:-) (I actually did Zenpage because of that..:)) You hopefully tested this with the RC2?

    We generally do not add third party plugins to the package as official ones anymore as our resources as a small team are a little too limited to maintain those also. We made that "mistake" once before... Except we decide otherwise of course but I will leave that to sbillard.

    But if not we will gladly add a entry on our extensions page.
  • acrylian, I tested it with the 1.2.6 RC1, but will check the RC2 this weekend.

    Talking about including plugin I didn't mean to include it into the core tarball, of course - it's up to you, how to store and manage the plugins. I just wonder which criteria the plugin must pass to be listed in the official plugins list. And I also do want that some jQuery-wizard(and also php-wizard and design-wizard :) ) took a look on the plugin and at least told me weak sides.

    And - the final question - which fields must be available for bulk edit? All of the image's fields?
  • Generally we will not include plugins in the distribution unless we are perpaired to support them. We've had some problems with including plugins and finding the person who developed them has gone inactive leaving problems unresolved.

    We are quite happy to post any and all user developed plugins on the WEB pages, though. Then any one can use them (of course if they have issues/questions, they can only be addressed by the developer of the plugin.)

    I'm not sure what your last question means. But I think the answer is that you need provide only those fields you wish to handle. Just be sure that the POST processing code matches handling of the fields with the ones that are in the form.
  • acrylian Administrator, Developer
    Exactly, we actually add every third party solution we get to know about. Official plugins, meaning those included in the package, are labeld specifially.
  • acrylian Administrator, Developer
    @divan: I would like to suggest that you maybe create a small page for that plugin that we can link to when you think it is ready. We can link to this thread but a page would be nicer..:-)
  • Sreenshots are very nice, this is the feature i want! thanks, great effort!
  • @acryllian, ok. I'll do it ASAP and will post the link here.
  • acrylian Administrator, Developer
    I have for now added an entry on our plugins page linking to this thread so that it does not get lost.
  • Any update on this plugin?
  • Have you tried the mass-edit plugin?
  • Yes, I tried Mass edit, i have to enter details for each photo, but what i need, i can able to select some images/albums and the enter details once & update.
  • acrylian Administrator, Developer
    You can download a version of the bulk edit plugin on top of this thread.
  • Yes, I'm using this plugin, currently it is updating title, description only. i wants to update tags too.
  • Ok, Tags are not part of the mass edit plugin. I suppose they could be added, so, too, could all the other image fields, but then the edit page would be cumbersome for people who want to use just the quick edit of the fields that are there.

    Your other option is to change the define that determines the number of images that are displayed on a page.
  • southdreamz, yep, I'm going to update plugin as I will need tags edit in a nearest future as well. Will post here.
  • That will be keen if you get it working for tags divan, I know a few people were interested in it, myself included. Haven't had the chance to look at it yet.
  • I've added tags and copyright fields to the plugin, and updated to be used with Zenphoto 1.2.7. Here are the new link:
    http://divan0.org.ua/web/zenphoto/image-bulkedit.tar.gz
    Copy this tarball into the zenphoto/plugins directory(not to the zp-core/...) and unpack, then activate in Admin panel.

    Tags can be overwritten or added to existing tags. Some screenshots:

    http://divan0.org.ua/web/zenphoto/screenshots/screenshot00.png - selecting with Ctrl/Shift and Tags field
    http://divan0.org.ua/web/zenphoto/screenshots/screenshot01.png - picture zoom on mouseover
    http://divan0.org.ua/web/zenphoto/screenshots/screenshot02.png - changing title, description, copyright and tags with overwrite.
    http://divan0.org.ua/web/zenphoto/screenshots/screenshot03.png - showing changes from previous screenshot and add new tag without overwrite
    http://divan0.org.ua/web/zenphoto/screenshots/screenshot04.png - showing changes from previous screenshot

    BTW, I'd like to use tag-suggest plugin, but cannot quickly find how to get it working for admin-side. Maybe someone could clarify this question?
  • acrylian Administrator, Developer
    The tag suggest plugin is only made for the search field on the themee. But the js stuff is just an adaption: http://remysharp.com/2007/12/28/jquery-tag-suggestion/

    Btw, would be great if you could maybe make a page for that plugin. It's nicer to link to that from the extensions entry than to a forum thread...;-)
  • acrylian, thanks, I'll try to add it.
    Yes, I remember about the 'nice-to-have' request about webpage - I'll make it in a few days, I hope.
  • Here is the webpage for this plugin:
    http://divan0.org.ua/web/zenphoto/
  • acrylian Administrator, Developer
    Great, thanks!
  • I am using ZP 1.2.8 RC1 and when I open the bulk edit page, I see a bare bones page without any CSS, thumbnails or Javascript working.
  • Happens both in Chrome and IE 8.
Sign In or Register to comment.