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.
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.
- Installation Instructions
- How does the shortcode looks like?
A correct shortcode looks like this: [eutl fuel= ”A” grip=”G” noise=”۳” db=”۷۷” 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=”۳” db=”۹۹” 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.
- initial release
- stable version