Also load transformed image if it is requested

This commit makes sure that transformed images are also displayed correctly.