[fea] encode only images

I don't want encode anything except images.