Fixed getImageUrl() behavior for empty data field