Hello @Friendica Developers @Friendica Support @https://friendica-dev.mbbit.de/profile/friendicadev Hello dear community, I would like to discuss with you about the appearance of posts with multiple images on #Friedica. Here is my opinion:
The current way multiple #images are displayed is awful:
Yeah, you saw it by my embedded examples your self. What bothers me most is:
My suggestion on which I would love to hear your opinion is to use a grid format like on #mastodon:
I would pitch a suggestion by adding a PR for a (from my point of view) "better" appearance based to this
tutorial. I do not like to use JS in general and would leave it out by determine the suited amount of columns in the backend.
But before I invest time on that, I want to hear your feedback. Thank You!
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.www.w3schools.com
templates/wall_thread.tpl
theme/frio/templates/wall_thread.tpl
theme/vier/templates/wall_thread.tpl
Model\Item
: https://github.com/friendica/friendica/blob/e32654381b5715157f0302acd168837ddcf18eb4/src/Model/Item.php#L3043-L3054Friendica Communications Platform. Contribute to friendica/friendica development by creating an account on GitHub.GitHub
THIS IS NOT A FINAL PR. THIS IS A DRAFT FOR DISCUSSION. Hello, this is just a very first draft for this feature. I hope that we can discuss this PR and improve it over time. I still have a lot of q...GitHub
Friendica Communications Platform. Contribute to friendica/friendica development by creating an account on GitHub.GitHub
<img src="{{$image.preview}}" alt="{{$image.attachment.description}}" title="{{$image.attachment.description}}"
. So including the description is considered at his point. [img="quelle"]Beschreibung des Bilds[/img]
[img=https://friendica.mbbit.de/photo/preview/1024/30283]The Friendica Logo[/img]
[img][/img]
) anfängst zu tippen.Wenn Du ein eigenes Bild verlinken möchtest, geht es recht komfortabel mit diesem Button:
Bei externen Bildern müsstest Du den [img=quelle]Beschreibung[/img]
Tag selbst erstellten, ja. Immerhin kannst Du die URL zum Bild selbst ja kopieren und einfügen
Wenn ich Dich richtig verstehe, wünschst Du Dir die Möglichkeit "einfach externe Bilder mit einer Beschreibung einzufügen"?
THIS IS NOT A FINAL PR. THIS IS A DRAFT FOR DISCUSSION. Hello, this is just a very first draft for this feature. I hope that we can discuss this PR and improve it over time. I still have a lot of q...GitHub
https://friendica-dev.mbbit.de/display/fa8fe840-2163-95ff-eaad-d3d249610322
Cc @brockhaus It looks like the regular expression to convert image links into fancybox links needs a little refreshing. See new HTML structure:GitHub
And exactly for the fancybox addon I was thinking about a similar solution. But I have problems with the lightbox lib that is used in Friendica atm, for that my post in the developer forum just before yours was written. :)
For a theme I am not sure atm. I am poking myself. It depends. There seem to be different templates for different types of posts. wall_thread.tpl seems to be one.
It is more that I look into the developer console of my browser and try to find matching code in order to identify the template.
[fancybox addon] Image gallery is created for only the images <= clicked image · Issue #12331 · friendica/friendica
[fancybox addon] Image gallery is created for only the images
GitHub