Why we can not use tile image gallery when the image is only 2 ? It shows just 1 “thumbnail” image. But when the image are 3 and more, it works. Hope, someday, tile image gallery can works even only 2 images on it.
Thanks a lot
Why we can not use tile image gallery when the image is only 2 ? It shows just 1 “thumbnail” image. But when the image are 3 and more, it works. Hope, someday, tile image gallery can works even only 2 images on it.
Thanks a lot
So, I’m having this component fail for me. I installed it on the default theme just to give it a test run before I added it to others, but it’s not working properly. I’ve tried it myself, and so have users.
This is what ends up happening:
What other components/plugins are you using? A conflict is usually the culprit in these situations, as that component is working fine on both of my Discourse instances.
Also, I am looking forward to NaNoWriMo this year! 
Nothing fancy. Just these, no plugins.
(The Vincent one is straight css, only on the Vincent theme, not default.)
First year we’ll have nano on discourse. Can’t WAIT.
I’m using Vincent on one of my sites as well. It’s a great theme, though you may have to fix the CSS in a few places, as the theme hasn’t been updated for the changes in Discourse 2.3. (I just added a theme component containing the CSS fixes … easy peasy.)
I’m using all of the components you are except for the Staff Color Fix one.
Are you using any unusual plugins?
Nope, no plugins at all, just SSO
Okay, so I was BRIEFLY able to replicate what you were seeing by installing the component on a Discourse instance which didn’t have it installed previously. When I used the component for the first time, I got the same behavior you saw (images way off to the right side).
HOWEVER, the problem resolved itself after I did one small thing: I added line breaks between the image URIs. When I saved the message, within a moment or two, the engine re-rendered the images in tile format as expected.
So, I changed this:
  
</div>
To this:
<div data-theme-tiles="1">



</div>
Interestingly, after it worked once, it no longer seems to matter whether there are line breaks between the image URLs 
If you want to test it out on either of my sites, just send me a message and I’ll send you links (one is non-public rn) 
Okay, after a lot of experimentation and work with @cjk77 on his own installation, we’ve figured out we’re bumping up against the max image size limitations. It doesn’t handle that gracefully, so instead of just failing, it does some weird reformatting on the final product. IF you post an image that’s too small you may get this:
I have this issue also. This is due to the size of the image? Should they be enlarged and reuploaded?
Edit: that fixed it.
Yes, based on my experiments the component won’t work on images smaller than the max limit. It has to do with the way oneboxing works, I believe.
Este componente e o Slick Image Gallery não estão funcionando. @Johani
Ambos funcionam perfeitamente aqui. Você poderia ser mais específico sobre o que não está funcionando para você? Qual versão do Discourse você está usando?
Nós somos hospedados pelo Discourse. Então não sei o número exato, mas parece que a última atualização ocorreu há 17 horas. Instalei o componente e carreguei várias imagens para testar, mas não está funcionando. É só isso ![]()
Você pode encontrar a versão do Discourse em que está ao examinar o cabeçalho HTML de qualquer página:
Isso ainda não é útil — O QUE não está funcionando? Os botões aparecem no editor? Como fica o texto resultante antes de você salvá-lo? As imagens aparecem em sua postagem de alguma forma? Etc.
Ninguém poderá ajudar a menos que consigam entender especificamente o que está acontecendo.
Suas imagens estão muito pequenas. Elas precisam ser grandes o suficiente para ativar o redimensionamento interno de imagens do Discourse, para que as galerias Tiles ou Slick funcionem.
Quais são os tamanhos mínimos das imagens para que o componente funcione corretamente?
Independentemente da configuração do seu site.
Procure por largura máxima da imagem e altura máxima da imagem.
As imagens devem ser maiores que essa configuração para ativar o componente.
Talvez seja um bug? Certamente uma oportunidade de melhoria. Acabei de instalar isso hoje e tenho tido dificuldades para ajustar o layout. Finalmente consegui resolver. Precisei colocar todas as minhas imagens em uma única linha antes de usar o botão do editor. Caso contrário, acabo com um código que parece com este:

</div>
<div data-theme-tiles="1">

</div>
E todas as minhas imagens ficam em uma única coluna.
Acho que isso não é um problema se você fizer o upload de todas as imagens em um único lote, mas no meu caso, eu estava reunindo imagens de vários posts e copiando os links um por um.