Yes! Been waiting for this. Keep up the awesome work
Good catch, thanks for reporting
It’s all fixed now:
Go ahead and update the theme it won’t be an issue anymore.
seems like slick does not work with recent 2.0.0.beta5
after upgrade from 2.0.0.beta4 (where it worked nicely), now the page simply does not load and in browser console i see the following error twice.
_ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:29446 TypeError: Cannot set property 'slick_add_images_prompt' of undefined
at (index):104
at O (_application-4f2596d165aa73d5730c4d02b5334e59b8f55b495d4197974d87bd84efa1c94b.js:21941)
at Object.initialize (_application-4f2596d165aa73d5730c4d02b5334e59b8f55b495d4197974d87bd84efa1c94b.js:6960)
at _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:16963
at e.each (_ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:15063)
at e.topsort (_ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:15030)
at e.topsort (_ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:14975)
at s._runInitializer (_ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:16978)
at s.runInstanceInitializers (_ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:16962)
at s._bootSync (_ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:15281)
Crosspost
There was a small update today that fixes the translation error for good! If you’re on beta 7 and face any errors, please update the theme.
I just tested and everything seems to be working ok? Are you seeing any errors in the console? What version of Discourse are you on?
Like with Tiles, I also added a couple of settings that will allow you to change the strings:
Can you please upload those images here so I can test?
cross post:
No, it’s not normal. I think I know what the problem is, the theme might need to be translated. I will post an update on that soon.
I just checked on v2.0.0.beta10 +49
and everything seems to be working in order.
Can you share more details about what’s happening on your install?
For some reason it wasn’t working with larger images, had to reset some settings and refresh to get it to work but it is working now, great theme addon, thanks!
Is it possible to display another icon? My community thinks they have to display slick even if they have 1 image.
If you have a font-awesome icon in mind, you can do something like so:
.SlickGallery .fa-picture-o:before {
content: "\f152"; // font awesome code
}
Later edit: my mistake.
The right mode is like this:
<div data-theme-slick="1">





</div>
Not like this:
<div data-theme-slick="1">

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

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

</div>
How can I make the images look like here? Without the black background.
This has to do with the aspect ratio of your images. Slick always maintains the original aspect ratio of the image.
The height of each gallery is determined by the height of the tallest image in it. The width of the gallery is always the full width of the post.
The images you add are slotted in and centred both vertically and horizontally in the gallery. This prevents the page content from moving around when you navigate between images of different heights and keeps the navigation buttons fixed in one place.
You can control the color of the background with:
.slick-track {
background: black;
}