Method of calling article thumbnail by zblogphp
<img src="{php}$pattern="/<[img|IMG].*? src=[\'|\"](.*?(?:[\.gif|\.jpg|\.png]))[\'|\"].*? [\/]?>/ "; $content = $article->Content; preg_match_all($pattern,$content,$matchContent); echo $matchContent[1][0]; {/php}" />
Can't find a tutorial that can solve your problem?
-
Charging zblogphp template The 9th zblog enterprise theme of Tianxing Studio has its own form to submit email reminders, etc zero 2019-12-11 eleven thousand four hundred and thirty-seven Price: four hundred and sixty-eight Online purchase -
Charging zblogphp template Tianxing Studio ppt download template is suitable for sites with resources to sell vips one 2019-10-03 nine thousand eight hundred and sixty-four Price: one hundred and ninety-nine Online purchase -
Wordpress template Tianxing Studio wordpress download station theme is applicable to software/app/game and other download stations zero 2022-05-06 five thousand six hundred and twenty-nine Price: three hundred and fifty-five Online purchase -
Charging zblogphp template Tianxing Studio zblogphp enterprise theme 6 Self configurable atmosphere zblog enterprise theme two 2018-06-26 forty-five thousand and twenty-nine Price: two hundred and fifty-eight Online purchase
Related recommendations
-
Zblogphp comes with a complete set of js framework comment interfaces 12-04 -
The zblogphp hook interface inserts the specified content into the article body 07-14 -
In 2020, version 1.6 of zblog will finally go online 03-26 -
The call tags of the total number of articles and comments called by zblogphp 03-16 -
Discussion on setting tags for zblogphp comments 08-04 -
Zblog 1.5 officially released: Z-BlogPHP 1.5 Zero Released! 10-31 -
Zblogphp determines whether the user logs in 10-21 -
Zblogphp obtains articles of multiple categories and sorts them according to the specified requirements (the latest hot reviews) 04-18 -
Can ZBLOG PHP use PHP 7? 01-19 -
Zblogphp's Pits: Why are sub classified articles not displayed under the parent category? 06-15 -
Precautions for the use of Z-BlogPHP on HiChina free virtual host 06-12 -
Zblogphp image immobilizer code Other files are also available 05-20 -
Emlog calls the article title+link+thumbnail in the specified column 05-19 -
Advanced Tutorial: jq Color Palette Added in the Background of zblogphp 02-28 -
Zblogphp calls the method with the most comments for the latest and hottest articles 02-03 -
Zblogphp pseudo static rule (URL configuration) case description 01-07
yes seven Comments from netizens:
-
Netizens of Tianxing Studio 8 years ago (2016-07-27) reply No custom thumbnail function
-
Netizens of Tianxing Studio 8 years ago (2016-06-12) reply The code has played a role in calling, but the property has not been changed. The picture is the original size -
Netizens of Tianxing Studio 8 years ago (2016-06-12) reply Teacher, the size of the picture can be determined, but after the call, if the picture is smaller and there is a blank behind the picture, how to control it? It would be great if the text called by the home page could be adjusted to surround the image -
Tianxing Studio 8 years ago (2016-06-12) reply There is a problem with your css settings. Just add a left attribute and set the width and height of the image. In this case, the text surrounds the image.
-
-
-
Tianxing Studio 8 years ago (2016-06-12) reply Otherwise? The image size can be controlled by css, or you can directly use the existing thumbnail plug-in
-
-
SM Nine years ago (June 24, 2015) reply Like one.
-
horsepower 10 years ago (2014-11-29) reply Thanks for your help
welcome you Comment: Cancel Reply
-
Zblog enterprise theme -
Zblog image theme -
Zblog resource topic -
Zblog CMS topic -
Wordpress template -
Zblog video theme -
Zblog Taobao guest theme -
Zblog navigation topic
Select a theme?
-
Latest articles -
Hot article ranking -
Most Comments
-
one Shopping activity on the official website of Tianxing Studio: unlimited number of times and amount of 20% discount coupons 04-17 -
two Tianxing Studio zblog pure blog theme vue3+applet dual version 03-19 -
three Error causes and solutions of introducing vant into vue3 project 03-12 -
four Tianxing Studio zblog encyclopedia theme can be matched with member plug-ins to realize knowledge payment profitability 03-06 -
five How does zblog intercept a summary with a specified number of words? Introduction to the custom interception method of zblog summary 02-29 -
six Tianxing Studio 2023 Double 11 Event: 50% discount coupons 11-05 -
seven Tencent Cloud 2023 Double 11 Activity: 2H2G3M lightweight server 88 new users for one year 11-05 -
eight AliCloud 2023 Double 11 Activity: 2-core 2G3M bandwidth ECS 99 yuan/year! 10-31 -
nine Tianxing Studio zblog free login paid reading plug-in supports Alipay WeChat payment Hupi Pepper payment 10-09
-
Label aggregation -
×1 hometown ×1 Emlog database ×1 Number of words ×1 Install Theme ×1 Zblog interface ×1 Publish article ×1 EMlog template production ×1 Emlog classification ×1 Play video ×1 Prepare to install zblog ×1 Zblog News ×1 Qingming Festival ×1 Js special effect ×1 Zblog Exit ×1 Latest articles of zblog ×1 Incentive advertising ×1 User Alias ×1 Get classification ID ×1 Forum revision ×1 Upload restrictions
Latest comments
-
Tianxing Studio 03-21 Yes, it will be repaired in the next version Commented on: Tianxing Studio zblog pure blog theme vue3+applet dual version -
visitor 03-20 This template has multiple side-by-side pictures. No matter which picture you click, the first picture will be displayed. There is no carousel button, and you can only manually close it. System: win7+Firefox Commented on: Tianxing Studio zblog pure blog theme vue3+applet dual version -
Tianxing Studio 01-19 I don't understand. Do you want to create categories in batches? This is not considered by the theme of plug-ins Commented on: Tianxing Studio zblog cms theme charging version supports extreme personalized configuration -
visitor 01-18 It is too troublesome to classify and set one by one. Can you add classification settings in the theme settings. Commented on: Tianxing Studio zblog cms theme charging version supports extreme personalized configuration -
Tianxing Studio 01-16 I don't quite understand your requirements. Please contact our online qq2076496616 to provide the order number to specify your requirements Commented on: Tianxing Studio zblog cms theme charging version supports extreme personalized configuration