I would like to add a condition from image properties’ ID in this attached query.
By the way, I would like to make this part dynamic. So I don’t want to just input a hard code “mypage_thumbnail” here. I would like to know how to get image properties’ ID dynamically.
Please let me know how to do it.