CustomBB Code: WebP Image - 04/02/2021 2:44 AM
WebP is an image format developed and first released by Google in 2010. It supports encoding images in both lossless and lossy formats, making it a versatile format for any type of visual media, and a great alternative format to both PNG or JPEG. WebP’s visual quality is often comparable to more ubiquitous formats.
This Custom Tag allows you to embed them within your posts in UBB.threads.
Example at VNC Web Services.
CustomTags.txt
This Custom Tag allows you to embed them within your posts in UBB.threads.
Example at VNC Web Services.
CustomTags.txt
Code
<?php $export_tags = array ( 0 => array ( 'tag' => 'webp', 'descrip' => 'Embed WebP Image', 'prompt' => 'Image URL; eg: https://www.example.com/images/image.webp', 'regex' => '([a-zA-Z0-9-_.&:/]+)', 'markup' => '<img src="\\\\1" style="max-width:100%;">', ), ); ?>