I have what I consider to be a bug. I am using the following code to display album art:
$ifgreater(%_itemcount%,4,
$ifgreater(%_itemcount%,5,
$imageabs2(119,116,0,$add(-$ifgreater(%_itemindex%,1,$add(%_height%,9),%_height%),
$mul(%_itemindex%,%_height%)),154,150,23,$ifgreater(%_itemindex%,1,0,9),C:\Program Files\foobar2000\images\noart.png,)
$imageabs2(119,116,0,$add(-$ifgreater(%_itemindex%,1,$add(%_height%,9),%_height%),
$mul(%_itemindex%,%_height%)),154,150,23,$ifgreater(%_itemindex%,1,0,9),$replace(%path%,%filename_ext%,folder.jpg),)
$imageabs2(150,150,0,$add(-%_height%,$mul(%_itemindex%,%_height%)),150,150,0,-5,C:\Program Files\foobar2000\images\case.png,)
,
$imageabs2(103,99,0,$add(-$ifgreater(%_itemindex%,1,$add(%_height%,14),%_height%),
$mul(%_itemindex%,%_height%)),144,134,29,$ifgreater(%_itemindex%,1,0,14),C:\Program Files\foobar2000\images\noart.png,)
$imageabs2(103,99,0,$add(-$ifgreater(%_itemindex%,1,$add(%_height%,14),%_height%),
$mul(%_itemindex%,%_height%)),144,134,29,$ifgreater(%_itemindex%,1,0,14),$replace(%path%,%filename_ext%,folder.jpg),)
$imageabs2(130,130,0,$add(-%_height%,$mul(%_itemindex%,%_height%)),130,130,10,0,C:\Program Files\foobar2000\images\case.png,)
)
,)
Now here's what's going wrong. The larger album art works fine, but the smaller "no art" and the smaller overlay are not shown. Is this because those two images are cached with the first resize operation? The only workaround is to make a copy of these two images with a different file name and then using them for the smaller album art.
For now I've decided to use this instead...
$ifgreater(%_itemcount%,4,
$imageabs2(119,116,0,$add(-$ifgreater(%_itemindex%,1,$add(%_height%,9),%_height%),
$mul(%_itemindex%,%_height%)),154,150,23,$ifgreater(%_itemindex%,1,0,9),C:\Program Files\foobar2000\images\noart.png,)
$imageabs2(119,116,0,$add(-$ifgreater(%_itemindex%,1,$add(%_height%,9),%_height%),
$mul(%_itemindex%,%_height%)),154,150,23,$ifgreater(%_itemindex%,1,0,9),$replace(%path%,%filename_ext%,folder.jpg),)
$imageabs2(150,150,0,$add(-%_height%,$mul(%_itemindex%,%_height%)),150,150,0,-5,C:\Program Files\foobar2000\images\case.png,)
,)