fixes issues related to displaying images. Part of #981
Merge branch 'projectAlterImage' into develop