Adding history module to images