This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 19 - Pages: 2 [ 1 2 | Next ] - Last Post: 21 Jun 23, 21:53 Last Post By: JeffTucker
JeffTucker

Posts: 8,127
Registered: 31-Jan-2006
Profile page won't accept WEBP images
Posted: 22 Aug 22, 20:10
 
  Click to reply to this thread Reply
This is a fun one. I was tinkering with using WEBP as the output format (not as a variant, but as the only output). Even my 2013-vintage Macbook Air can display them (Big Sur 11.6.8, Safari 15.6.1), so I suspect the number of visitors who can't view them is dwindling fast.

But when one uploads such an album to the jalbum.net hosting space, it can't extract a thumbnail image for the profile page. You can't even manually force it to do so after the upload, by "editing" the album.

Console:
Uploading "webp" to https://jefftucker.jalbum.net/webp/
Zip stream support detected
"webp" uploaded to https://jefftucker.jalbum.net/webp/ in 1.708s
Posting albumUrl: https://jefftucker.jalbum.net/webp/
Posting thumbnailUrl: https://jefftucker.jalbum.net/webp/thumbs/1929%20Packard%20633%205470.webp
java.io.IOException: Error while adding album. Server reported: Could not read album image. Not an image: url = https://jefftucker.jalbum.net/webp/thumbs/1929%20Packard%20633%205470.webp
	at se.datadosen.jalbum.Notifier.albumAdded(Notifier.java:130)
	at se.datadosen.jalbum.UploadBean.doAfterUploadAlbum(UploadBean.java:931)
	at se.datadosen.jalbum.UploadBean.uploadAlbum(UploadBean.java:877)
	at se.datadosen.jalbum.JPublishWizard$PublishStep$19.run(JPublishWizard.java:2053)
All workers shut down
No problem within the app itself - the project thumbnail is correctly displayed in the project list. The integrated browser can't handle them, but that's a known problem.
AnCa

Posts: 408
Registered: 25-Mar-2005
Re: Profile page won't accept WEBP images
Posted: 23 Aug 22, 14:40   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Yes, only JPEGs (and I think PNGs) are supported as source for album thumbnails. Isn't it quite tricky to generate an album without JPEGs? I didn't even know it was possible...
RobM

Posts: 3,844
Registered: 4-Aug-2006
Re: Profile page won't accept WEBP images
Posted: 23 Aug 22, 14:48   in response to: AnCa in response to: AnCa
 
  Click to reply to this thread Reply
JeffTucker

Posts: 8,127
Registered: 31-Jan-2006
Re: Profile page won't accept WEBP images
Posted: 23 Aug 22, 14:53   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
Too easy to do it ;)

Anders is new here. ;)
AnCa

Posts: 408
Registered: 25-Mar-2005
Re: Profile page won't accept WEBP images
Posted: 23 Aug 22, 15:12   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Ah, and seems to be even easier in my jAlbum, with a drop down menu to select output format... :) Never seen that before. :)
JeffTucker

Posts: 8,127
Registered: 31-Jan-2006
Re: Profile page won't accept WEBP images
Posted: 23 Aug 22, 15:22   in response to: AnCa in response to: AnCa
 
  Click to reply to this thread Reply
Documentation usually lags reality by a few versions.

(For my skins, on the other hand, the user's manuals usually reflect the latest unreleased beta!)
AnCa

Posts: 408
Registered: 25-Mar-2005
Re: Profile page won't accept WEBP images
Posted: 23 Aug 22, 19:49   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
Documentation usually lags reality by a few versions.
If we would not have our highly appreciated help wiki admins we would be stuck in 2015. :)

(For my skins, on the other hand, the user's manuals usually reflect the latest unreleased beta!)
Yeah, it's probably best to write the documentation first, in the way you want the software to work. And then implement the features to match the documentation. :)
JeffTucker

Posts: 8,127
Registered: 31-Jan-2006
Re: Profile page won't accept WEBP images
Posted: 23 Aug 22, 19:57   in response to: AnCa in response to: AnCa
 
  Click to reply to this thread Reply
I always start with the UI, then do the documentation (including the screenshots of the settings), then the template coding, and finally updating all the demo albums (which is a good sanity check - I follow it with a validation run).
RobM

Posts: 3,844
Registered: 4-Aug-2006
Re: Profile page won't accept WEBP images
Posted: 23 Aug 22, 20:12   in response to: AnCa in response to: AnCa
 
  Click to reply to this thread Reply
AnCa wrote:
Ah, and seems to be even easier in my jAlbum, with a drop down menu to select output format... :) Never seen that before. :)
Now updated. I was waiting for some texts to get updated and since they didn't I just forgot. Maybe Team Sweden will also fix the oversight ;)
JeffTucker

Posts: 8,127
Registered: 31-Jan-2006
Re: Profile page won't accept WEBP images
Posted: 9 Feb 23, 20:06   in response to: AnCa in response to: AnCa
 
  Click to reply to this thread Reply
AnCa wrote:
Yes, only JPEGs... are supported as source for album thumbnails.

jAlbum 30 has improved abilities to handle WebP images, but the profile page still won't swallow them, I'm afraid!
davidekholm

Posts: 3,471
Registered: 18-Oct-2002
Re: Profile page won't accept WEBP images
Posted: 9 Feb 23, 21:56   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Oops. We should prioritize fixing that.
AnCa

Posts: 408
Registered: 25-Mar-2005
Re: Profile page won't accept WEBP images
Posted: 21 Jun 23, 20:59   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
jAlbum 30 has improved abilities to handle WebP images, but the profile page still won't swallow them, I'm afraid!
It does now! :)
JeffTucker

Posts: 8,127
Registered: 31-Jan-2006
Re: Profile page won't accept WEBP images
Posted: 21 Jun 23, 21:06   in response to: AnCa in response to: AnCa
 
  Click to reply to this thread Reply
Attachment ss011004.png (11.6 KB)
Hmmmm.... I just tried to edit my (hidden) webp album, and I'm still getting the attached.

Feel free to meddle with that album. :)
AnCa

Posts: 408
Registered: 25-Mar-2005
Re: Profile page won't accept WEBP images
Posted: 21 Jun 23, 21:13   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
Hmmmm.... I just tried to edit my (hidden) webp album, and I'm still getting the attached.

Feel free to meddle with that album. :)

There is no album.rss file in that album so the server doesn't know where the images are. (Though the server-generated album.rss used when a real file is missing should probably support webp too, which might not be the case.)
JeffTucker

Posts: 8,127
Registered: 31-Jan-2006
Re: Profile page won't accept WEBP images
Posted: 21 Jun 23, 21:20   in response to: AnCa in response to: AnCa
 
  Click to reply to this thread Reply
I never include RSS files, since I don't use them for anything. But the suggested address for the thumbnail is correct - that's where the thumbnail image is. Copy it, and paste it into your browser!
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums