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