A post was split to a new topic: «addImageToMediaGallery() ‘image’, ‘small_image’, ‘thumbnail’ not selected in image»