Hongmu Notes
Home Practical Collection EmpireCMS AutoTitlePic – Automatically generates title images
Practical Collection empire plugin

EmpireCMS AutoTitlePic – Automatically generates title images

EmpireCMS AutoTitlePic – Automatically generates title images

AutoTitlePic – a plugin that automatically generates article title images.

When building a website, images often involve copyright issues – in such cases, having a thumbnail generation plugin can be extremely important!

I have modified the plugin by adding a scheduled generation feature that automatically generates images when website traffic is low during the night; this feature should be used in conjunction with the Baota Scheduled Tasks.

functional characteristics:

1. Easy installation and simple operation; compatible with both existing and new websites.

2. Automatically generates images and runs silently after installation; therefore, this plugin does not include an image preview feature.

3. High scalability – you can configure and define your own data types. (Additional fees apply for modifying more specialized types.)

4. Fast image generation with high efficiency

Renderings:

ad1a1b7183100503

ad1a1b7183100522

This plugin automatically generates a title image upon invocation; if a title image already exists, it will not be generated.

********************     Installation and Use     ********************

1. Upload the `titlepic` folder to the `e/dongpo` directory on your website; if the `dongpo` directory does not exist, create it.

2. Edit the e/class/userfun.php file and insert the following code on line 3:

require_once(ECMS_PATH."e/dongpo/titlepic/dp_funs.php");

3. Modify the configuration file (e/dongpo/titlepic/config.php); it contains detailed configuration instructions.

4. Reference an image within the template

(1) Content page template – specify the title image URL:

<?=dp_getTitlePic($navinfor)?>

(2) List Page Template (list.var) – Calls the Title Image URL Function:   dp_getTitlePic($r)

Example: (Check "Use Program Code")

$titlepic = dp_getTitlePic($r);

$listtemp = '<li>'.$titlepic.'<a href="[!--titleurl--]" title="[!--oldtitle--]">[!--title--]</a> <span>[!--newstime--]</span></li>';

5. After applying the aforementioned functions to the template, the corresponding title image can be generated whenever a dynamic page is accessed or a static page is generated.

6. Important note: When using images with Style 2, it is recommended that the background image size matches the final image size; otherwise, the background may be distorted.

Download address
☁️
Download #1
Baidu Skydisk
提取码:xnrs
Download now
微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

Insert related articles in the middle of imperial cms articles (article page optimization, the effect is super good)

Insert related articles in the middle of imperial cms articles (article page optimization, the effect is super good) Practical Collection empire plugin

Those who understand will know – this feature allows you to aggregate related articles. By displaying these articles in the middle of the main content, it not only enhances the user experience but also achieves effective optimization. I've noticed that many high-authority websites are already using this feature, so I spent several hours researching it and wrote this tutorial! The benefit for website optimization is significant – I'm sure even seasoned SEO experts will agree! This feature was suggested to me by an experienced website optimization expert; I hope it will be helpful to all webmasters! Whether you run a content aggregation site or...
👁 474
Empire CMS 7.5 Baidu Active/Batch Push Plugin

Empire CMS 7.5 Baidu Active/Batch Push Plugin Practical Collection empire plugin

This plugin is compatible with EmpireCMS 7.5 and 7.2 (UTF-8 versions); its installation and uninstallation process is simple and straightforward. Many novice webmasters using EmpireCMS may often struggle with how to automatically push newly published articles to Baidu in real time. If website articles are not regularly submitted to Baidu, website indexing will be significantly delayed, which can negatively impact SEO performance. Especially for content aggregators, manually submitting articles would be a tedious and time-consuming task...
👁 341
After running the Empire CMS automatic installation script, the system will redirect you to the login page.

After running the Empire CMS automatic installation script, the system will redirect you to the login page. Practical Collection empire plugin

It's so annoying – every time I need to install the Empire CMS template, I have to manually delete the `install.lock` file and then proceed step by step! After completing each step, I still have to manually enter the database credentials and initial password! This is really frustrating! So, I wrote a PHP script with the following basic functionality: it eliminates the need to manually access the `/e/install` directory or delete the `lock` file; when the script is run, it automatically installs Empire CMS and then redirects the user to the Empire CMS homepage...
👁 230
Empire Toolbox V1.0

Empire Toolbox V1.0 Practical Collection empire plugin

As a webmaster who frequently uses Empire CMS, I often find certain operations to be particularly cumbersome! For example, I might want to change the Empire CMS database table prefix; or perhaps I want to batch modify the thumbnails for all articles collected from an external source; or if the images in the collected articles have become invalid, I might want to randomly replace them with new images; or I might want to batch delete other unnecessary tables from the Empire CMS database; or perhaps I've forgotten my Empire CMS admin panel password...
👁 442
EmpireCMS Batch Column Addition Plugin

EmpireCMS Batch Column Addition Plugin Practical Collection empire plugin

1. Powerful functionality: Automatically generates Pinyin-based table of contents; allows for quick, unified configuration of parent categories; supports recognition of custom parent categories. 2. User-friendly interface: Except for category names and table of contents settings, all other features follow the same configuration methods as those provided by the system itself, making it easy to get started. Custom category fields can also be configured in bulk. ******************** Installation Guide ********************
👁 332
What is the optimal number of data sub-tables for EmpireCMS? How should published data be distributed across sub-tables? How can a million records in EmpireCMS be evenly distributed across multiple sub-tables?

What is the optimal number of data sub-tables for EmpireCMS? How should published data be distributed across sub-tables? How can a million records in EmpireCMS be evenly distributed across multiple sub-tables? Program Notes Empire cms Practical Collection empire plugin

How many data rows should be split into separate tables for EmpireCMS? 1. For a database size of 50 GB, it is advisable to create a new main table; 2. For a dataset of 50,000 rows or more, create a new secondary table and set this newly created secondary table as the current storage table; [Some recommend splitting the entire dataset into a single table when the data volume reaches 100,000 rows.] An excessively large dataset has resulted in extremely high I/O read/write operations on the MySQL database, leading to excessive server load. This is particularly noticeable when performing backend operations in EmpireCMS – especially for sections with large data volumes; this was the case on my website before I implemented table partitioning...
👁 683

Recommended reading

Higher Education Institution Website Template (College/University Category) 0831

Higher Education Institution Website Template (College/University Category) 0831 Practical Collection Yiyou template

An EyouCMS website template designed specifically for universities and colleges. Its professional and dignified design is ideal for showcasing institutional profiles, departmental structures, admissions information, and campus culture. This template helps universities attract students online and enhance their brand image. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS (Ey...
👁 46
(PC + WAP) Home Textiles – Knitted Bedding and Daily Care Products – Corporate Website (PBootCMS Template) – Download – 0712

(PC + WAP) Home Textiles – Knitted Bedding and Daily Care Products – Corporate Website (PBootCMS Template) – Download – 0712 Practical Collection pbootcms Template

A PbootCMS template specifically designed for home textile, bedding, and daily household goods companies, supporting access via both PC and WAP devices. Its cozy, lifestyle-oriented design is ideal for showcasing products such as bedding, towels, and everyday household items. This template helps home goods companies quickly establish a branded official website and expand their online retail or wholesale distribution channels. Template Display | Installation Instructions | Website Backend: /admin.php | Username: admin...
👁 50
jQuery AJAX Tutorial: Integrating with Web Forms (Frontend + Backend PHP)

jQuery AJAX Tutorial: Integrating with Web Forms (Frontend + Backend PHP) Language Notes JavaScript

Communicating with the server is easy using jQuery's ajax functions, and the form can send data to the server. Using them together allows for dynamically loaded and more interactive web pages. Below is a simple tutorial showing how to use jQuery's ajax functions to send form data to the server. Introduce jQuery library Introduce jQuery library into the page so that you can use jQuery's aja...
👁 115
Responsive school/college website template – 0832

Responsive school/college website template – 0832 Practical Collection Yiyou template

This EYO CMS responsive template is ideal for schools, universities, and academic institutions. Its educational-themed design is perfect for showcasing school environments, teaching achievements, admissions information, and campus news, helping educational organizations attract students and parents online. Template Demo | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EYO CMS | EYO CMS (Eyo...
👁 56
(Adaptive Mobile Version) Responsive Spectrometer Electronic Instrumentation Company – PBootCMS Website Template; Download Source Code for Precision Instrumentation Websites – 0713

(Adaptive Mobile Version) Responsive Spectrometer Electronic Instrumentation Company – PBootCMS Website Template; Download Source Code for Precision Instrumentation Websites – 0713 Practical Collection pbootcms Template

A responsive website template for an optical spectrometer and electronic instrumentation company (PbootCMS), compatible with both PC and WAP devices. The design features a modern, technical aesthetic, making it ideal for showcasing high-end equipment such as spectrometers and analytical instruments. This template helps precision instrument manufacturers showcase their product performance and technical specifications online, attracting customers from both the scientific research and industrial sectors. Template Display | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extract...
👁 42
Responsive Science and Engineering Experimental Foreign Language School College Website Template 0833

Responsive Science and Engineering Experimental Foreign Language School College Website Template 0833 Practical Collection Yiyou template

An eYouCMS responsive website template designed for science and engineering institutions, laboratories, foreign language schools, and academic departments. Its technology-driven design is ideal for showcasing laboratory facilities, foreign language teaching programs, research achievements, and admissions information, helping science and foreign language-focused institutions effectively highlight their unique strengths online. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for eYouCMS | eYouCMS...
👁 53