Navigating between images within a post

Thank you so much for your reply

Ok, I am sorry. I was wrong in my first post.

What I meant was :
If there are multiple pictures in one post, click to zoom does not work. it instead goes to the next image in that post.

I have tested this here https://try.discourse.org/t/image-click-to-zoom-test/961
and gives the same result. (2nd post in that thread)

Ah, I understand now. Yes, this has been an “issue” since the lightboxing library was updated back in April. Prior to the update clicking on an image would display the image in its full resolution. However, when adding the ability to move between images in a single post, each half of the image became a click target to move forward or backwards in the sequence of images.

As noted above - this is not an easy issue to fix:

3 Mi Piace

Ok, thank you too for your reply !
I guess i should’ve read a bit better, sorry :blush:

So in short. No solution anytime soon.

We are also having the rotating image issue. Uploaded images turn 90 degrees when posted. I am still looking into that one, but it seems to do with pictures taking by a phone and the orientation data inside the picture.
However i found a thread saying it was fixed in 1.9.x.

Btw: I am just a member on our forum :blush:

1 Mi Piace

As far as I’m aware that one’s been fixed, but if you can reproduce the issue on try please post here in the relevant topic.

1 Mi Piace

Questa è una funzione eccellente, ma presenta un inconveniente: perdiamo la possibilità di ingrandire la foto alla sua dimensione massima.

Quando c’è un’unica immagine nel post e faccio clic sull’immagine in lightbox, questa viene visualizzata in modalità adatta allo schermo. Posso quindi fare di nuovo clic sull’immagine per visualizzarla nella dimensione pixel reali (lo scorrimento del browser è abilitato). Facendo clic sull’immagine posso passare tra la modalità adatta allo schermo e quella a pixel reali.

Quando ci sono due o più immagini nel post, viene attivata la modalità gallery di Magnific. Perdo l’opzione descritta in precedenza perché, quando faccio clic sull’immagine, viene mostrata la foto successiva.

Esiste un modo per disabilitare la modalità gallery con una rapida correzione?

Saresti interessato a rendere la modalità gallery opzionale nelle impostazioni del sito? Se c’è interesse, potrei provare a creare una PR.

Grazie..

2 Mi Piace

C’è qualche motivo per tenerlo aperto? Sento che ora lo gestiamo bene “out-of-the-box” ed è un po’ difficile sapere esattamente cosa è pr-welcome qui. (rimuovendo il tag per ora)

@Johani?

1 Mi Piace

Penso che questo argomento abbia esaurito il suo scopo. C’erano tre idee qui.

  1. Funzionalità: se un post ha più immagini, mostrale in una galleria - questo è stato implementato molto tempo fa.
    FEATURE: Use image gallery functionality in magnific by gdpelican · Pull Request #4831 · discourse/discourse · GitHub

  2. Bug: quando si è all’interno di una galleria, fare clic su un’immagine ingrandiva e passava all’immagine successiva. Questo è stato corretto qui
    UX: improve lightbox gallery zoom/navigation by hnb-ku · Pull Request #13500 · discourse/discourse · GitHub

  3. Funzionalità: se navigo all’ultima immagine in un post all’interno della galleria, mostrami le immagini dal post successivo. Non supporto quel cambiamento perché sarebbe piuttosto confuso.

Quindi, tutto bene per chiudere questo :+1:

5 Mi Piace