[3.8] Fix #1673 : Avoid interpolation for image and videos