Home > Article > CMS Tutorial > Where are the pictures of articles generated by Empire CMS?
Empire CMS article images are stored in the /d/file/diy path, the file name format is id_serial number.png, and the main image sequence number is 0. Access the image URL: http://[website address]/d/file/diy/[image file name].
Empire CMS generates article picture path
The picture files generated by Empire CMS are stored in the following path:
<code>/d/file/diy</code>
Detailed path composition:
/d/
: Empire CMS data directoryfile/
: File storage folderdiy/
: Custom path folder, used to store article imagesImage file name rules:
The file names of article images usually follow the following rules:
id_
: Article ID_0
: Picture serial number (0 represents the main picture of the article, 1 represents the first accompanying picture, and so on) .png
: Picture file format For example , the main image file name of the article with the article ID 12345 will be:
<code>12345_0.png</code>
Access image URL:
You can use the following URL to access the article image:
<code>http://[您的网站地址]/d/file/diy/[图片文件名]</code>
For example:
<code>http://www.example.com/d/file/diy/12345_0.png</code>
The above is the detailed content of Where are the pictures of articles generated by Empire CMS?. For more information, please follow other related articles on the PHP Chinese website!