Buf fix for the images