Added loading spinner gif on primary images