I have a Google Spreadsheet with an image that has been inserted into a cell. I need to access the URL of this image from Google Apps Script. The documentation only seems to cover OverGridImage which are images that can be moved around. My image has been inserted into a cell.
I have tried this code, but it doesn't return images that have been inserted into a cell.
var images = sheet.getImages();
for (var i = 0; i < images.length; i++) {
Logger.log(images[i].getAnchorCell().getRow());
}
The Range class has some methods for getting the background, but this is for colour, not images.