Linux 软件免费装
Banner图

EU tyre label shortcode

开发者 frankleusing
unigunde
更新时间 2021年4月13日 19:24
捐献地址: 去捐款
PHP版本: 5.4 及以上
WordPress版本: 5.7
版权: GPL2 or later
版权网址: 版权信息

标签

eu label energy EU tyre label EU energy label tyre

下载

详情介绍:

This plugin creates an image of the legally required EU tyre label with parameter via a shortcode. [eutl fuel= "A" grip="G" noise="3" db="77" size="" ] To add the shortcode you have the following options: Within the shortcode you can specify all the necessary parameter options of the label: You can specify the size of the resulting image. By default the shortcode generates an image with 225 x 330 pixel. The size parameter determines the width of the image. Possible values are 25 px width up to max 300 px width (at 440 px height). The shortcode calls a php-function and returns a png-image of the label. Further information about the EU tyre label requirements and legal background can be found here: IMPORTANT: We created this plugin as a useful tool for you. We do not claim that it follows 100 % whatever legal regulations and requirements. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. You have to check legal aspects yourself. If you use this plugin, you agree to this.

安装:

  1. download the eu-tyre-label-shortcode.zip, or install the plugin through the WordPress plugins menu directly
  2. in case you install it manually: unpack the zip file and upload it to the "/wp-content/plugins/" directory
  3. activate the plugin through the "Plugins" menu in WordPress

屏幕截图:

  • You can enter the shortcode manually, or very comfortabel via a button in the tinyMCE editor.(screenshot-01.png).
  • The button in the tinyMCE editor opens a window where you can input all parameter data. The size parameter is optional. (screenshot-02.png).
  • The shortcode contains all necessary parameter for the label image.(screenshot-03.png).
  • The default size of the generated image is 225 x 330 px. But you can use any width from 25 to 300 pixel. The maximum size is 300 x 440 pixel(screenshot-04.png).

常见问题:

How does the shortcode looks like?

A correct shortcode looks like this: [eutl fuel="A" grip="G" noise="3" db="77" size="" ]

What is the dimension of the generated label image?

You can specify in the shortcode the parameter size with the width of the generated image in pixel. Minimum width is 25 pixel; maximum is 300 pixel. If you leave this parameter empty, the image will be generated in the default size of 225 x 330 pixel. The maximum is 300 x 440 pixel.

How does the resulting HTML code looks like?

<img src="http:// ... /wp-content/plugins/eu-tyre-label-shortcode/php/get-eu-tyre-label.php?fuel=A&grip=G&noise=3&db=77&size=225" alt="EU tyre label" />

The image does not show correctly

This error can occur when the shortcode is not correctly formated. Check that all values in the shortcode are inside double quotes. Also make sure, that an empty value is represented by an empty pair of double quotes. A correct shortcode looks like this: [eutl fuel="A" grip="G" noise="3" db="77" size="" ]

Values of the shortcode are not shown

Check if the quotation marks in the shortcode are correct. The simple quotation marks are needed, not typographic marks.

How much space occupy the images on my server?

The images are not stored, and do not occupy space. They are generated on the fly each time the shortcode is called.

Can you help me with coding problems?

As this is a free plugin, we can only offer limited support to the direct use of the shortcode. If you need further professional service for implementing the EU tyre label in you projects, you can contact us for an individual agreement. Leusing Webdesign

Is there a special solution for WooCommerce?

Yes, at Leusing Webdesign we work on a special plugin for WooCommerce with database connection. This will be soon available as premium version.

C1, C2 and C3 type of vehicle tyres

We got a feedback, that the label should show one more parameter for the type of vehicle, C1, C2 or C3. The coding for this extra parameter is ready. If you like to see this feature, please give us an info, then we will publish and update the new code here.

Are other languages supported?

The plugin contains by nature very little text. Only the parameter fields of the shortcode have some words. So far the version is english. A later version will soon have translation features. Also we plan a specific german version, too.

Where can I share any ideas or suggestions to make the plugin better, or where to report a bug?

Any suggestions are very welcome! Please visit www.leusing.de/kontakt and tell us about the issue you found.

I love this plugin! Can I help somehow?

Yes, we appreciate your feedback. Also any financial contributions are welcome! Just visit my website and click on the donate button. Thank you!

更新日志:

1.0.20170920