|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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 <?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%;">',
),
);
?>
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,833
Joined: January 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|