Home > Article > CMS Tutorial > 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!