fixed warning on image load, but that is caused by a bigger problem: images should not be downloaded from media server on each load.