Add indices for image data and MD5 hash