Image-functions moved from main.py