This method is used to determine the public URL for the image