Empire CMS Picture relative path Absolute path Setup problem + Empire CMS phone-side call picture problem

Source: Internet
Author: User

First of all, the first question: Empire CMS picture relative path absolute path setting problem

This can be set directly in the background:

System--System Setup--system parameter setting--basic properties--Modify attachment address--

/d/file/(relative path)

http://www.qyhongyan.com/d/file/(absolute path)

The premise of solving the above problems is to be selected at the beginning of the production, or later change back to very tangled

From the above questions, we will create new problems :

1. Use absolute path: PC call normal, phone call is normal, but there is a problem is not "transplant"

If the domain name is changed, all the image links are invalidated and need to be re-uploaded

2. Use relative path: PC call is OK, phone call problem, can't make picture -Phone call picture problem

The solution is known to have 2 kinds of options:

A. copy all the data from the call to the directory of the phone (less data)

B. It's foolish to copy the past when the volume of data is large, so we find another solution is to add the domain name before calling the field when writing the call

eg

http://www.qyhongyan.com[!--titlepic--] "alt=" [!--title--] "rel=" Nofollow ">

All right, we're ready to meet a new problem.

Empire CMS Picture relative path Absolute path Setup problem + Empire CMS phone-side call picture problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.