constant variables

how can i do for storage an array in a FLASH memory? only with PROGMEM?

Yes. Keep in mind that Flash memory is read-only.

What are you doing with 5000 bytes of image data?