Const uint8_t asked, how to display an image which may vary?

if that works it means the drawBitmap() does not expect data to be in PROGMEM.

What library are you using? may be they offer a different function for data in PROGMEM.