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 directory -
file/
: File storage folder -
diy/
: Custom path folder, used to store article images
Image 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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Atom editor mac version download
The most popular open source editor

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SublimeText3 Mac version
God-level code editing software (SublimeText3)

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment
