Getting metadata for images from backend