Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scope of Webp
#1
Do you think that it is worth using Webp for animated images through GIMP 2.10 ? I found how to do it, but I am not sure whether I will be able to upload one here, or Imgur.
Reply
#2
You can upload it here (I added that to the possible upload extensions a while ago) but unfortunately the forum software still doesn't see it as an "image" type. So you can have webp attachments:


.webp   Peggy-90.webp (Size: 226.09 KB / Downloads: 132)

But you won't get the image displayed in the post text, and if you click on them , you'll be asked if you want to download them (but one possible answer in the dialog is to have them opened in Firefox/Chrome...).

Personally, I have switched to Webp for the images in the HTML docs of my scripts, but since they are loaded as local files, the browser uses the extension to determine what to do (when the image in from a server, it's the server that tells what to do).
Reply
#3
Looking this up during my lunch break. Made a first change so that Webp is no longer a "force-download" type, if you click on a webp attachnment (such as the one above) it opens in a new browser tab (at least on Firefox and Chrome). Have to find a way to coerce the code into generating a true thumbnail so that the image is displayed in the post. Maybe later tonight.
Reply
#4
You are good with PHP too ? Nice Smile
Reply
#5
(12-03-2019, 03:18 PM)meetdilip Wrote: You are good with PHP too ? Nice Smile

Nope. Just learning, actually my first lines of PHP code. But that makes it my 32th(*) programming language.

There a little programmer's limerick:

Code:
A programmer started to cuss
Cos getting to sleep was a fuss
As he lay in his bed, going round in his head
was while (!asleep) sheep++


(*) A while ago I bragged in a forum than I had used about 20 different programming languages. Feeling guilty, I made a a count, and got 29 Smile.
Reply
#6
Microsoft Edge (default browser for Win10) displays properly your attachment as an image.
Reply


Forum Jump: