I am building a large catalogue that only uses generally 2 layouts for every product (A or B). The product information is already pasted in there, I just need to lay it all out. There is usually many on 1 page. I was wondering if there is a way to make a script be able to detect whether a layout should be A or B in regards to the width vs height of the product image, and then layout the 4 elements accordingly and relative to one another. I was hoping to make a script so I can bind it to a key. Each element will always be in that structure, and distributed that 1mm gap. Is there maybe a way to layout each element using the product image as an anchor? If this isn't possible, let me know! Thank you.