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 curtidas

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 curtida

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 curtida

Essa é uma ótima funcionalidade, mas há uma desvantagem: perdemos a capacidade de dar zoom na foto até seu tamanho máximo.

Quando há apenas uma imagem no post e eu clique na imagem em lightbox, ela é exibida como ajustada à tela. Posso clicar novamente na imagem para exibi-la no tamanho em pixels reais (a rolagem do navegador está habilitada). Ao clicar na imagem, posso alternar entre ajustada à tela e pixels reais.

Quando há duas ou mais imagens no post, o modo gallery do Magnific é ativado. Perco a opção descrita anteriormente, pois ao clicar na imagem, a próxima foto é exibida.

Existe alguma maneira de desativar o modo gallery com uma correção rápida?

Você estaria interessado em tornar o modo gallery opcional nas Configurações do Site? Eu tentaria criar um PR se houver interesse.

Obrigado..

2 curtidas

Há alguma razão para manter isso aberto? Sinto que agora lidamos com isso de forma excelente “out-of-the-box” e é um pouco difícil saber exatamente o que é pr-welcome aqui. (removendo a tag por enquanto)

@Johani?

1 curtida

Acho que este tópico cumpriu seu propósito. Havia três ideias aqui.

  1. Recurso: Se uma postagem tiver várias imagens, exiba-as em uma galeria - isso foi implementado há muito tempo.
    FEATURE: Use image gallery functionality in magnific by gdpelican · Pull Request #4831 · discourse/discourse · GitHub

  2. Bug: quando dentro de uma galeria, clicar em uma imagem costumava ampliar e navegar para a imagem seguinte. Isso foi corrigido aqui
    UX: improve lightbox gallery zoom/navigation by hnb-ku · Pull Request #13500 · discourse/discourse · GitHub

  3. Recurso: Se eu navegar para a última imagem em uma postagem dentro da galeria, mostre-me imagens da próxima postagem. Eu não apoio essa mudança porque seria bastante confuso.

Portanto, tudo bem fechar isto :+1:

5 curtidas