admin管理员组文章数量:1313952
I am trying to use custom HTML in a widget and I can't make an img
tag to work because I have no idea where to store the image.
Where does one store an image inside a WordPress website ? And not by "Upload Image", no. By using FTP. Where exactly do I have to store images so that I can link them to an img
tag.
I am trying to use custom HTML in a widget and I can't make an img
tag to work because I have no idea where to store the image.
Where does one store an image inside a WordPress website ? And not by "Upload Image", no. By using FTP. Where exactly do I have to store images so that I can link them to an img
tag.
- Why not upload image? That would be the default way to store images in WordPress – kero Commented Nov 26, 2020 at 17:49
2 Answers
Reset to default 0To get img url first upload it to media library, then click on the img you want to use, and see the full url in the img details. see photo attached with a circle around the url of the img.
wordpress by default stores the images in folders by month and year on /wp-content/uploads/folder_named_year_month and the paths to where they are store can be seen in database on the table wp_posts and the thumbenails on wp_postmeta.
check this article for more info
本文标签: Where do I have to put an image in order to use in a Custom HTML img
版权声明:本文标题:Where do I have to put an image in order to use in a Custom HTML img? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741961042a2407281.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论