MyBBHacks.com Plugins for MyBB

Full Version: New image format support .webp
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(10-19-2018, 01:55 AM)MyBBHacks Wrote: [ -> ]In the files look for

$extensions = array(
1 => 'gif',
2 => 'jpeg',
3 => 'png',
5 => 'psd',
6 => 'bmp',
7 => 'tiff',
8 => 'tiff',
9 => 'jpeg',
14 => 'iff',
);

Change to


$extensions = array(
1 => 'gif',
2 => 'jpeg',
3 => 'png',
5 => 'psd',
6 => 'bmp',
7 => 'tiff',
8 => 'tiff',
9 => 'jpeg',
14 => 'iff',
18 => 'webp',
);

It's fine now. There is just a little one, I want to change

sitename.com/gallery/thumb_filename.webp
to
sitename.com/gallery/filename.webp (I think u gave codes to something like this on mybb.com but not sure)
Thumb_filename is only used when the image is resized to make the thumbnail
Otherwise the main filename is filename.webp
I mean i dont want to use thumnails at all. Gallery cant create thumbnails from webp images for listing page. i want to use original images instead of thumbnails
Umm it isn't possible? to create thumb webp images? If so that is why i i didn't add it.
(10-20-2018, 04:20 AM)Lvnt Wrote: [ -> ]I mean i dont want to use thumnails at all. Gallery cant create thumbnails from webp images for listing page. i want to use original images instead of thumbnails

I made something as a caveman Smile
http://digiartreklam.com.tr/ezgallery.php?cat=1

It has wrong techniques in it but works for me.
This was what I want to do, If you have better solutions for this result I'm gladly apply them. 
Thank you for every kind helps.

ps: I turned of GD and than manually add height code in ezgallery.php and leave weight value empty.
Pages: 1 2