[TIMOB-12189] auto-detect image mime-type