MyBBHacks.com Plugins for  MyBB

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New image format support .webp
#11
(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)
Reply
#12
Thumb_filename is only used when the image is resized to make the thumbnail
Otherwise the main filename is filename.webp
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#13
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
Reply
#14
Umm it isn't possible? to create thumb webp images? If so that is why i i didn't add it.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#15
(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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)