EU tyre label shortcode

[ad_1]

This plugin creates an image of the legally required EU tyre label with a shortcode. With a convinient button in the tinyMCE editor you can generate and insert the shortcode very easy to your text. Just click on the editor button and a window pops up where you can input all the possible parameters.

The shortcode uses the following parameter options for the label:
* fuel consumption A-G
* wet grip A-G
* noise level 0-3
* dB level 0-99

Furthermore you can specify the size of the resulting image. By default the shortcode generates an image with 225 x 330 pixel. If you add the size parameter to the shortcode you get images from 25 px width up to 300 px width and 440 px height.

The shortcode returns a png-image of the label.

Further information about the EU tyre label requirements and legal background can be found here:
* en.wikipedia.org/wiki/Tyre_label
* eur-lex.europa.eu

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.

Leusing Webdesign

  • 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).
  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
Installation Instructions
  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
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?
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=”99” size=”” ]

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 service for implementing the EU tyre label in you projects, 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.

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. But we plan a spezific german version, too.

“EU tyre label shortcode” is open source software. The following people have contributed to this plugin.

Contributors

1.0.20170920

  • initial release
  • stable version

[ad_2]

source_link
وردپرس

Leave a Reply

چهار × 5 =