MyBBHacks.com Plugins for  MyBB
New image format support .webp - Printable Version

+- MyBBHacks.com Plugins for MyBB (https://www.mybbhacks.com)
+-- Forum: ezGallery Pro for MyBB (https://www.mybbhacks.com/forumdisplay.php?fid=8)
+--- Forum: Feature Requests (https://www.mybbhacks.com/forumdisplay.php?fid=11)
+--- Thread: New image format support .webp (/showthread.php?tid=3015)

Pages: 1 2


RE: New image format support .webp - Lvnt - 10-19-2018

(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)


RE: New image format support .webp - MyBBHacks - 10-20-2018

Thumb_filename is only used when the image is resized to make the thumbnail
Otherwise the main filename is filename.webp


RE: New image format support .webp - Lvnt - 10-20-2018

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


RE: New image format support .webp - MyBBHacks - 10-20-2018

Umm it isn't possible? to create thumb webp images? If so that is why i i didn't add it.


RE: New image format support .webp - Lvnt - 10-20-2018

(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.