using .where and .find on images and gallery