Home > CMS Tutorial > DEDECMS > body text

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

(*-*)浩
Release: 2019-11-28 15:04:19
Original
2668 people have browsed it

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>
Copy after login

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!