A thought about the #Fediverse and the origin of #Internet
I think that the #Fediverse has the potential to bring (social) #Web back closer to its original vision of its most important inventor, Tim #Berners-Lee:
"There is the idea that society can run without a hierarchical bureaucratic government being involved at every step, if only we can hit on the right set of rules for peer-peer interaction. So where design of the Internet and the Web is a search for set of rules which will allow computers to work together in harmony, so our spiritual and social quest is for a set of rules which allow people to work together in harmony." (source)
And from my point of view, the term "hierarchical bureaucratic government" also holds for "#centralized #commercial #social #networks".
blaubeerbrot mag das.
teilten dies erneut
Der Marek hat dies geteilt.
Appeareance of images attached to a post
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:
- It just looks messy (especially when there is a mix of landscape and portrait format)
- Besides the aesthetics, multiple images take a lot of room (when you do not use an add-on like show more)
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!
How To Create an Image Grid
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
mögen das
Spencer, Matthias Moritz, Hypolite Petovan, jakob 🇦🇹 ✅, Signor Amministratore ⁂, devadideva, Cochise und Шуро mögen das.
teilten dies erneut
Friendica Developers, Haplogroup News :autistic: :ace: :n95: :p_pride:, Signor Amministratore ⁂ und devadideva haben dies geteilt.
grischa mag das.
teilten dies erneut
Friendica Developers hat dies geteilt.
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. :)
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
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.
teilten dies erneut
Friendica Developers hat dies geteilt.
[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
[x ] I have searched open and closed issues for duplicates Bug Description When you click on an image in a post with images and this image is not the last one attached, the fancybox gallery lets yo...GitHub
teilten dies erneut
Friendica Developers hat dies geteilt.
Marek Bachmann mag das.
teilten dies erneut
Friendica Developers hat dies geteilt.
@Marek Bachmann Standard Mastodon crops the images (in the grid, but even if there is one) and I wouldn't like that; that should at least be configurable. But I do agree that the Mastodon, Pleroma, Twitter, Tumblr way of showing multiple images looks better than Friendica.
You can achieve a better look when you post multiple images by putting an empty line between the tags of the photos. The preview will help getting a better look.
If implementing a Mastodon like thing, especially if some form of cropping could occur, can I then also note that Mastodon's 'focal point' feature is really useful. It prevents photos from being cropped in embarrassing ways.
Marek Bachmann mag das.
teilten dies erneut
Friendica Developers hat dies geteilt.
I do not like to have a limit of four images in the grid without any notification that more images are attached, like currently on mastodon.
Cochise mag das.
teilten dies erneut
Friendica Developers hat dies geteilt.
There are times when I want to use images in the middle of a post, and they'd become much less meaningful in a compiled cluster at the end of the post, even if they were in a much prettier grid.
mögen das
Marek Bachmann, Montag und Cochise mögen das.
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
Cochise mag das.
teilten dies erneut
Friendica Developers hat dies geteilt.
@Spencer @Marek Bachmann :friendica: Friendica detects images at the end and groups them in "attachments" as Mastodon does. However, we don't touch images interspersed between paragraphs.
Marek's feature could handle the attachment pictures without touching the post illustrations.
mögen das
Jonathan Lamothe, Spencer und Cochise mögen das.
teilten dies erneut
Friendica Developers hat dies geteilt.
https://fdc.mbbit.de/display/b25b9f4f-8963-893c-d882-8d2666919569
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
@Marek Bachmann :friendica: The rendering of conversations is a little complex, but I can easily point you to the main template:
- templates/wall_thread.tpl
- theme/frio/templates/wall_thread.tpl
- theme/vier/templates/wall_thread.tpl
Where the attachments are prepared is in Model\Item
: https://github.com/friendica/friendica/blob/e32654381b5715157f0302acd168837ddcf18eb4/src/Model/Item.php#L3043-L3054
friendica/Item.php at e32654381b5715157f0302acd168837ddcf18eb4 · friendica/friendica
Friendica Communications Platform. Contribute to friendica/friendica development by creating an account on GitHub.GitHub
Marek Bachmann mag das.
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
mögen das
Marek Bachmann und Roland Häder mögen das.
teilten dies erneut
Friendica Developers hat dies geteilt.
mögen das
Hypolite Petovan und Roland Häder mögen das.
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
If there is a implementation, you can gladly add this info to the GitHub discussion since this might not so important for the readers here.
Am I right that there is no attachment feature for the creators of post, or is it? I never saw such an option yet.
My current assumption is that the term "attachment" refers solely to an implicit definition like "the media at the end of a post can be / is considered as attachments"
Show Images in posts in an image grid by MarekBenjamin · Pull Request #12334 · friendica/friendica
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
teilten dies erneut
Friendica Developers hat dies geteilt.
friendica/Item.php at e32654381b5715157f0302acd168837ddcf18eb4 · friendica/friendica
Friendica Communications Platform. Contribute to friendica/friendica development by creating an account on GitHub.GitHub
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
<img src="{{$image.preview}}" alt="{{$image.attachment.description}}" title="{{$image.attachment.description}}"
. So including the description is considered at his point. The description for images from Mastodon are definitely obeyed on friendica. On Friendica you post you can use bbcode to add a description in this way:
-->
teilten dies erneut
Friendica Developers hat dies geteilt.
As I understand your reply, your fancybox plugin is not loaded but something else called "lightbox"? Sorry for I am a little bit confused
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
Marek Bachmann mag das.
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
This exactly what I observe, I was asking and wondering in regard to this answer (don't want to link mrpetovan again and again ):
https://friendica.mrpetovan.com/display/735a2029-6763-893c-34b6-64d778674108
I think the overview is a little messy by now in this thread regarding who answers to what .
teilten dies erneut
Friendica Developers hat dies geteilt.
https://fdc.mbbit.de/display/b25b9f4f-1363-8e35-d4bb-ef7666696046
teilten dies erneut
Friendica Developers hat dies geteilt.
[img="quelle"]Beschreibung des Bilds[/img]
Hypolite Petovan mag das.
teilten dies erneut
Friendica Developers hat dies geteilt.
[img=https://fdc.mbbit.de/photo/preview/1024/30283]The Friendica Logo[/img]
Marek Bachmann mag das.
teilten dies erneut
Friendica Developers hat dies geteilt.
[img][/img]
) anfängst zu tippen.teilten dies erneut
Friendica Developers hat dies geteilt.
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"?
teilten dies erneut
Friendica Developers hat dies geteilt.
Show Images in posts in an image grid by MarekBenjamin · Pull Request #12334 · friendica/friendica
Show Images in posts in an image grid by MarekBenjamin · Pull Request #12334 · friendica/friendica
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
Hypolite Petovan mag das.
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
Das ist ist KEIN Fehler sondern einfach die Einstellung für dein Profil (ob die nun bewusst war oder nicht ).
Ich bin gerade unterwegs, und kann daher nicht gut nachgucken, aber irgendwo in deinen Einstellungen kannst du das ändern (wenn überhaupt gewünscht).
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
Dieser Thread ist ja eigentlich für das Image Grid gedacht.
teilten dies erneut
Friendica Developers hat dies geteilt.
https://friendica-dev.mbbit.de/display/fa8fe840-2163-95ff-eaad-d3d249610322
jakob 🇦🇹 ✅ mag das.
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Support hat dies geteilt.
Das Image Grid wurde erst gestern in 2022.12-rc gemerged. Es kann sehr gut sein das dein Instanz-Admin @Steffen K9 🐰 die neuen Commits hoch nicht geholt hat.
Ich sehe aber gerade auch, dass die Bilder im eingebetten Link scheinbar tatsächlich nicht im Image Grid erscheinen. Kannst du mal auf den Link
https://friendica-dev.mbbit.de/display/fa8fe840-2163-95ff-eaad-d3d249610322
in meiner vorletzten Nachricht klicken und mir sagen, ob die Bilder dann im Grid sind? Danke.
teilten dies erneut
Friendica Developers hat dies geteilt.
Thank you very much for all the feedback and support!
One known issue is that the grid is not generated in "quote shared" post, and I did not find the time to analyze / address it (https://github.com/friendica/friendica/issues/12403).
Hypolite Petovan mag das.
teilten dies erneut
Friendica Developers hat dies geteilt.
Bitte schön:
And Fancybox works seamlessly with it ❤
teilten dies erneut
Friendica Developers hat dies geteilt.
@Grischa @Marek Bachmann :friendica: Oh by the way https://github.com/friendica/friendica/issues/12413
😅
[fancybox] Only first column images open in gallery in new image grid feature · Issue #12413 · friendica/friendica
Cc @brockhaus It looks like the regular expression to convert image links into fancybox links needs a little refreshing. See new HTML structure:GitHub
Can you provide an example? Thank You!
teilten dies erneut
Friendica Developers hat dies geteilt.
teilten dies erneut
Friendica Developers hat dies geteilt.
fbievan
Als Antwort auf Marek Bachmann • • •