Zum Inhalt der Seite gehen


Are these Images "attched" or "inline" ...


... and if inline, how do I even "attach" images to a post? So sorry, but I still just don't get this distinction @Hypolite Petovan @Grischa

Michael hat dies geteilt.

Als Antwort auf Marek Bachmann

@Marek Bachmann :friendica: @Grischa The distinction is the following:

  • Inline: There's text after the [img] tag.
  • Attached: There was no text after the [img] tag and as a result the image was extracted from the body and added to a separate data structure called "attachments".


Both images in your posts are attached, you can see this because they are displayed in your wonderfully crafted image grid.

Dieser Beitrag wurde bearbeitet. (2 Jahre her)
Unbekannter Ursprungsbeitrag

Hypolite Petovan
@Grischa @Marek Bachmann :friendica: Don't you dare switching to German! 😡
Dieser Beitrag wurde bearbeitet. (2 Jahre her)
Als Antwort auf Marek Bachmann

Then, summing it up: I just definitely do NOT have the issue that clicking only work in a specific column. But I think I should stop right now complaining about NOT having a problem for my karma.
Unbekannter Ursprungsbeitrag

Hypolite Petovan
Unbekannter Ursprungsbeitrag

Marek Bachmann
Ouh, the most interesting point on the screenshot is: Why this old profile image is still there, I changed it weeks ago! (see my screenshot) ;-)
Als Antwort auf Hypolite Petovan

Confirm this code for for my instance. Still no problem with fancyboy. Seriously, I think it then is a browser dependency. I use Firefox.
Unbekannter Ursprungsbeitrag

Hypolite Petovan
@Grischa @Marek Bachmann :friendica: No, it just piggybacks off of it. I didn't realize the bdy-attach feature was recent, but then again, I'm always on the edge, so nothing feels recent if it's more than a week old or so.
Als Antwort auf Marek Bachmann

@Marek Bachmann :friendica: You can see the issue in my code snippet, the first image link has the fancybox class, but the second image link doesn't, which fails to bring up the gallery when clicking on it.
Als Antwort auf Hypolite Petovan

Okay here we go and this is really strange:

<div class="body-attach"><div class="imagegrid-row">
	<div class="imagegrid-column">
		<a data-fancybox="gallery-352900" href="https://friendica-dev.mbbit.de/photo/114271928163960cc675f28036370262"><img src="https://fdc.mbbit.de/photo/preview/600/32336" alt="" title=""></a>
	</div>
	<div class="imagegrid-column">
		<a data-fancybox="gallery-352900" href="https://friendica-dev.mbbit.de/photo/394612332563960ce1561f3280329933"><img src="https://fdc.mbbit.de/photo/preview/600/32338" alt="" title=""></a>
		</div>
</div>
<div class="clear"></div></div>
Unbekannter Ursprungsbeitrag

Marek Bachmann
I do not even have the appropriate problem for testing! :-D
Unbekannter Ursprungsbeitrag

Marek Bachmann
Nope, it is "plain" 0e543b2d4 from 2022.12-rc with Fancybox 1.03