Home >CMS Tutorial >Empire CMS >Where can I see pictures of articles generated by Empire CMS?

Where can I see pictures of articles generated by Empire CMS?

下次还敢
下次还敢Original
2024-04-17 10:45:201434browse

The article images generated by Empire CMS are stored in the /d/file/ directory. The specific location varies according to the article type: ordinary articles: /d/file/uploads/topic articles: /d/file/thump/topic Article:/d/file/spec/

Where can I see pictures of articles generated by Empire CMS?

Empire CMS generated article image storage location

Answer :Article images generated by Empire CMS are usually stored in the /d/file/ directory of the website.

Detailed description:

When Empire CMS generates an article, it will upload the pictures in the article to the /d/file/ directory of the server. , this directory is located in the root directory of the website by default. The specific location where pictures are stored is as follows:

  • Pictures of ordinary articles are stored in the /d/file/uploads/ subdirectory, and their name format is {$filename} _{$mydate}_{$id}.{$ext}, where $filename is the original file name of the image, $mydate is the date the image was uploaded, $ id is the article ID, $ext is the suffix name of the image. Pictures of
  • theme articles are stored in the /d/file/thump/ subdirectory, and their name format is the same as that of ordinary article pictures.
  • The pictures of special articles are stored in the /d/file/spec/ subdirectory, and their name format is the same as that of ordinary article pictures.

In addition to the /d/file/ directory, Empire CMS can also store images in an external server or object storage service. The specific configuration method is as follows:

  1. Navigate to System Settings > Upload Settings in the Imperial CMS backend.
  2. Select Turn on in Remote attachment saving switch.
  3. Enter the domain name or address of the external server or object storage service in Remote attachment storage domain name.
  4. Enter the storage directory of the image on the external server or object storage service in Remote Attachment Upload Directory.

After the configuration is completed, the images generated by Empire CMS will be stored in an external server or object storage service.

The above is the detailed content of Where can I see pictures of articles generated by Empire CMS?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn