Hi all, I'm attempting to write a script which makes changes to image positioning depending on attributes of previous images within a portion of a document. To do so I'm looking for a way to select the previous image relative to each image in the order in which they appear in the document.
Using .prev() would make this simple if the images were all in the one paragraph. Some are, some not. Regardless, for each image in turn, I want to check certain attributes of the previous image. Thanks in advance for your ideas!