Hubzilla
Login
Hubzilla
Login
System Apps
Directory
Help
Language
Public Stream
Random Channel
Report Bug
Search
Thu, 16 Mar 2023 07:28:44 +0100
View Profile
Hubzilla Support Forum
adminsforum@hubzilla.org
Victoria
wrote the following
post
Thu, 16 Mar 2023 07:28:43 +0100
Hi everyone! Is there a way to add alt text descriptions to images and embeds? (Sorry if it's in the documentation somewhere - I looked but couldn't find anything.)
Link to Source
show all
8 comments
Thu, 16 Mar 2023 07:53:10 +0100
View Profile
Mario Vavti
mario@hub.somaton.com
You can use this syntax for images
[img=https://example.com/pathtoimage]Image description[/img]
2
Victoria
Ema エマ
Image description
Link to Source
Thu, 16 Mar 2023 08:23:18 +0100
View Profile
Victoria
vsrjaccount@hub.netzgemeinde.eu
Ooh wow that works great! Thank you.
Is there any way to set a size for the image as well when using that notation? If there isn't that's fine - it's the descriptions that are most important for me right now.
Link to Source
Thu, 16 Mar 2023 09:11:40 +0100
View Profile
Mario Vavti
mario@hub.somaton.com
IIRC the size will be always set to width 100% and max-width to the actual image width if notated this way.
1
Victoria
Link to Source
Fri, 17 Mar 2023 11:54:53 +0100
View Profile
Jupiter Rowland
jupiter_rowland@hub.netzgemeinde.eu
From my experience, the gallery app is utterly broken and even messes with your stream. I actually had to uninstall it from my channel.
That is, maybe it has been fixed meanwhile.
Link to Source
Fri, 17 Mar 2023 13:20:34 +0100
View Profile
Mario Vavti
mario@hub.somaton.com
AFAIK the gallery addon is enabled at zotum.net and if you have the gallery app installed for your channel it should just work... It will create a gallery view of the images at the beginning of a toplevel post or from attachments like for example from mastodon. It will do nothing in comments and to images that appear after some text. Image descriptions should also work in the gallery view.
1
Victoria
Link to Source
Fri, 17 Mar 2023 14:04:23 +0100
View Profile
Victoria
vsrjaccount@hub.netzgemeinde.eu
That's perfect - I just tried putting the image at the top, using the syntax that includes the description, and it works really well. Thank you so much!
1
Ema エマ
Link to Source
Fri, 17 Mar 2023 18:18:23 +0100
View Profile
Victoria
vsrjaccount@hub.netzgemeinde.eu
@
Jupiter Rowland
It seems to be working ok for me right now, and not breaking anything. It looks like it's working fine on the channel I linked, too. But if I run into any problems, I'll let you know 👍
Link to Source
Mon, 20 Mar 2023 08:39:22 +0100
View Profile
Victoria
vsrjaccount@hub.netzgemeinde.eu
@
Jupiter Rowland
I've been using the Gallery app quite a bit and so far the only issue I've run into is that with two images, once the aspect ratio exceeds a certain threshold, it gives up on trying to put them next to each other and just displays one of them instead. The width/height threshold where it stops working seems to be around 1.487.
There probably is a point where they'd be so shallow they'd look ridiculous, but if that's what it's trying to avoid I'm not sure it's set to the correct level right now. It's not that it's impossible to display the images - just looking at them you can see they could be displayed fine.
For now I'm working around it by manually adding cinema bars to the images affected (fortunately not many). Once I've got through some other things on my todo list I will look for the code and see if I can figure out what's going wrong.
That said, it fails quite elegantly - just showing one image instead and indicating that there are more to see, behind a "+1" icon in the bottom right corner.
Link to Source
Conversation Features
Loading...
Conversation Features
Loading...
Login
Email or nickname
Password
Remember me
Login
Register
Password Reset
Remote Authentication