Home  >  Article  >  CMS Tutorial  >  Where can I find images of articles generated by Empire CMS?

Where can I find images of articles generated by Empire CMS?

下次还敢
下次还敢Original
2024-04-17 10:39:11848browse

Imperial CMS-generated article image storage location

Image storage location:

Imperial CMS-generated images are stored on the server at the following location by default Directory:

  • /d/file/ (used for pictures in article content)
  • /data/file/ (used (from the picture in the attachment)

How to find the picture:

  1. By article ID:

    • Picture storage path in article content: /d/file/showpic.php?id=[Article ID]
    • For example: /d/ file/showpic.php?id=123
  2. By attachment ID:

    • Pictures in attachment Storage path: /data/file/img/[attachment ID].jpg
    • For example: /data/file/img/456.jpg

Other related information:

  • The image storage path can be found in the [System Settings] - [System Parameters] - [ of the Empire CMS background Picture Settings].
  • You can use the pub_img() function provided by Empire CMS to get the complete URL of the image.
  • If you need to access the image file directly, you can refer to the above storage path for location.
  • These image files can also be accessed through FTP or file manager.

The above is the detailed content of Where can I find images 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