Home  >  Article  >  CMS Tutorial  >  How to resize the friendly link picture logo of Dreamweaver CMS?

How to resize the friendly link picture logo of Dreamweaver CMS?

(*-*)浩
(*-*)浩Original
2019-11-28 15:04:192643browse

How to resize the friendly link picture logo of Dreamweaver CMS?

The first type:

Directly call DEDE_flink data table from MYSQL (Recommended learning: 梦Weaver cms )

{dede:sql sql="SELECT * FROM dede_flink"}
<a href="[field:url /]">
<img src="[field:logo /]" style="width:100px;height:35px;margin-left:15px;border:1px solid #CBCACA" />
</a>

Second type:

Since dede’s friendly link image size is hard-coded, if you want to flexibly set the friendly link image size, the source code needs to be modified.

Open the include\taglib\flink.lib.php file, find line 124, and modify width='88' height='31'

The above is the detailed content of How to resize the friendly link picture logo of Dreamweaver 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