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.
这个和 Slick Image Gallery 组件无法正常工作。@Johani
这两者在这里都能完美运行。您能具体说明一下哪里不工作吗?您使用的是哪个版本的 Discourse?
我们由 Discourse 托管。因此我不确定确切数字,但上次更新似乎发生在 17 小时前。我已安装该组件并上传了几张图片进行测试,但无法正常工作。就这些了:思考中
你可以通过查看任意页面的 HTML 头部来找到你当前使用的 Discourse 版本:
这仍然没有提供有效信息——具体哪里无法正常工作?编辑器中是否显示了按钮?保存之前生成的文本看起来是什么样的?你的帖子中是否显示了图片?等等。
除非他们能够了解具体出现了什么问题,否则没有人能够提供帮助。
您的图片太小。图片必须足够大,以激活 Discourse 的内部图像调整大小功能,从而使瓷砖或 Slick 画廊正常工作。
图片的最小尺寸是多少,才能确保组件正常工作?
无论您的站点设置如何。
查找“最大图像宽度”和“最大图像高度”。
图像必须大于此设置才能触发该组件。
可能是个 Bug?当然也是一个改进的机会。我今天刚安装,一直在努力调整布局,最终终于解决了。我需要在点击编辑器按钮之前,将所有图片放在同一行。否则,生成的代码会像这样:

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

</div>
结果所有图片都排成了一列。
我猜如果你一次性批量上传所有图片,可能不会出现这个问题。但我的情况是从多个帖子中收集图片,然后逐个复制链接。