Home > CMS Tutorial > DEDECMS > How to add pictures to dedecms template without displaying them

How to add pictures to dedecms template without displaying them

Release: 2019-07-31 09:23:20
Original
2466 people have browsed it

How to add pictures to dedecms template without displaying them

#dedecmsHow to add pictures to the template but they are not displayed? The reason is simply that the path is wrong and there is no picture. When I installed the template, the path was correct and the picture was fine, but the picture still could not be displayed. I looked at the code carefully and found that the source file had a "/" at the beginning in the way of writing the path. After removing it, it was fine.

Open the templates folder in the source code, find the folder you added, such as myweb, and find the file index.htm there.

How to add pictures to dedecms template without displaying them

The path of css and js inside, as shown in the figure:

How to add pictures to dedecms template without displaying them

Delete the "/" in front of the path, That’s it!

How to add pictures to dedecms template without displaying themRecommended: dedecms usage tutorial

The above is the detailed content of How to add pictures to dedecms template without displaying them. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template