SDK: catalog:addPhoto() doesn't allow stacking in a collection

  • 2
  • Problem
  • Updated 6 years ago
catalog:addPhoto() allows a photo to be stacked in a folder but not a collection (a capability that was added to LR 4).

An enhanced signature might be: catalog:addPhoto (path, stackWithPhoto, position, collection); if "collection" is nil, then the photo is stacked in its folder.

One important use-case: The Photoshop Elements catalog conversion is buggy and doesn't properly convert stacking in PSE albums to stacking in LR collections. If catalog:addPhoto() supported the complete functionality, then a custom script could properly convert PSE catalogs. See:
Photo of John R. Ellis

John R. Ellis, Champion

  • 4107 Posts
  • 1084 Reply Likes

Posted 6 years ago

  • 2

Be the first to post a reply!