The problem of inserting pictures in Wechat's public platform

Subscription account, who has a public platform for Wechat, has published some technical articles.
recently I found myself needing to insert some SVG animated images into the article to demonstrate some explanation of some problems. But I found it impossible to insert it directly, because the articles in Wechat"s public platform Subscription account can only upload jpg, png and gif images from local selections, but not .svg images from local selections. Even after uploading the .svg image to your own small website (generating the address https://jq.asprain.cn/6.svg), it is useless to insert its reference address into the article editing page of Wechat"s public platform material management. Because I found that as soon as I click the "Save" button, the inserted picture will disappear automatically. No matter it is a .svg picture or a .jpg picture, as long as it is a picture on its own website, it cannot be added to the Wechat official account material management article. But I found that some third-party tools (such as http://bj.96weixin.com/) upload images (such as http://newcdn.96weixin.com/mm.) can be normally inserted into official account articles. Why is that?

in addition, I find the articles on the micro public platform Subscription account really difficult to edit. Because its elements do not support stylesheet articles, only inline stylesheets on each element are supported. If you do a slightly richer article like this, most of the code will be style= " * *", causing headaches.

Mar.04,2021

you can try to write it as an inline tag and copy it in (rendered) HTML code.

at the beginning, when there were no Wechat editors (probably in the age when the municipal pressure of the optical cable would lead to a crash), I first wrote the code on the Demo page of UEditor (you have to open the source mode), and then switched to editing mode and then glued things over. At that time, Liu Jianliang was very popular. At that time, I searched for a tool that could write the stylesheet into the label for a long time, but it didn't work.


I just tried to insert the svg code directly into the article's code editor. As a result, I found that part of the animation was displayed and part of the animation was not displayed (I found that the content with animation was not displayed, but the content with animation was shown). I have a headache. What shall I do? And the size of this svg image is small, with only a few K text content. What if I have to insert tens of kilograms and hundreds of kilograms of SVG images? I just want to insert it in the form of a picture, not in the form of text content.

Menu