MPAlgorithm V2: handle multi-byte UTF-8 correctly by counting bytes, not characters.
Store product thumbnails.