4

I'm having trouble getting the right pictures in the smart collection based on my conditions...perhaps you can help.

Tags:

Bananas

Oranges

Apples

Pears

Show me all Bananas and Show me all Oranges, but only if either of them contain either Apples or Pears.

Very confusing. I keep getting either too many images, or zero images.

5
  • Hi Jon, interesting question, I can imagine it's a bit of a head scratcher. Would you mind sharing what you've tried so far? I. e. what conditions gave you too many or zero images? – Saaru Lindestøkke Nov 1 '20 at 21:36
  • I have no solution to the technical issue. But as far as the logic is concerned, the baskets with bananas and oranges shouldn't contain any apples or pears, so the result should be zero. – xiota Nov 2 '20 at 3:13
  • The logic is ((B&&(A||P) || (O&&(A||P)) but I've no clue how to translate that for Lr. – Tetsujin Nov 2 '20 at 7:42
  • "How can I create a Lightroom Smart Collection with multiple and/or conditions?" ??- Is it quicker to Los Angles or by plane? – Alaska Man Nov 2 '20 at 19:46
  • Lol...what's longer? A rope? – Jon Griffith Nov 3 '20 at 5:30
2

Solution

I think I found the correct rules:

enter image description here

The trick is in creating two subgroups, one for bananas and one for oranges and then creating sub-subgroups for those two subgroups.

You can get subgroups by holding alt (on a Mac) and then clicking the plus sign + (which turns into a pound sign # when holding alt).
This creates a new subrule, allowing you to set the All/Any of the following are true dropdown for that subgroup only.

Importing rules

I've exported the smart collection rules here. To get that back in your LR as a smart collection, follow these steps:

  1. Copy the text from the link into a text file
  2. Change the extension from .txt to .lrsmcol
  3. In LR, right click in the Collections panel and click Import Smart Collection Settings....

enter image description here

  1. Select the .lrsmcol file from step 2.

This should re-create the smart collection shown in the top screenshot.

2
  • Yup, that's the practical translation of my logic comment above. Nice find. – Tetsujin Nov 2 '20 at 11:39
  • Thanks! I'll give it a go. – Jon Griffith Nov 3 '20 at 5:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.