title: Replace Layer image in Photoshop scripting
body: <p>How can I replace the image in a layer? For a text layer I can easily do <code>doc.layerSets.getByName('title').textItem.contents = 'New Text'</code>. So my question is, is there something similar to <code>textItem</code> that works with images. something like <code>imageItem</code>. so I can replace the image in a layer?</p>