Added 'fetch-image' function