Add steps:
Open the file list_article.htm and find the following code:
<img src='{@me['litpic']}' />
Modify to the following code :
<img src='{@me['litpic']}' alt='{@me['title']}'/>
After modification, a new problem appeared. That is, when an article is recommended, the code has an additional title tag.
Solution:
Open the file include/arc.listview.class.php and find the following code
$row['title'] = "<b>".$row['title']."</b>";
Change the above code to the following code:
$row['title'] = $row['title'];
In this way, the alt anchor text information is added to the dedecms list thumbnail and it is completed.
Recommended tutorial: dedecms tutorial
The above is the detailed content of How to add alt anchor text information to the thumbnail of the Dreamweaver list. For more information, please follow other related articles on the PHP Chinese website!