Returns image resource identifier.
Call this function to retrieve an image resource ID. If image list wasn't loaded from the single resource ID, the method returns 0.