Thatās so cool!
So itās a merge of PhotoSwipe and Masonry (besides the client-side / server-side part) ?
I didnāt make that out of the opening post - thanks for mentioning!
ā¦and sorry for the misunderstanding (bad, my English!).
Thatās so cool!
So itās a merge of PhotoSwipe and Masonry (besides the client-side / server-side part) ?
I didnāt make that out of the opening post - thanks for mentioning!
ā¦and sorry for the misunderstanding (bad, my English!).
Thanks @distantnative for clearing things up. The kirbytag is already there, thereās just the opportunity missing (at least as far as I can tell) that the plugin automatically gets a caption for PhotoSwipe from a field defined in the txt-source file.
Yeah, like @distantnative just said, youāre bit on the wrong track about the plugin
Iām only suggesting using PhotoSwipe through my referencing Gist because the two goes beautiful together and creates an experience comparable to medium.comās image grids, you can in fact disable PhotoSwipe and leave it out completely - So PhotoSwipe is actually only added sugar on top of Guggenheim which on the other hand introduces an magically awesome algorithm for creating the responsive gallery layout you see on the screenshot and live demo (unless youāre on a mobile in portrait mode).
Masonry, doesnāt balance its grid anything like this, and if you care about mobile performance (expensive browser paints, reflows, grid calculations and DOM manipulations) youāll love Guggenheim as itās completely server-side - just like seen ONLY at medium.com.
By the way, Iām happy to tell that Dmitry, the creator of PhotoSwipe, likes the plugin and now have listed Kirby CMS in his list of integrations on the repo https://github.com/dimsemenov/PhotoSwipe
Iām doing the captions very soon, i just didnāt think that part through before it shipped
Thatās so very cool!
I visited the Guggenheim Museum SoHo way back in the 1970ās of the previous century and itās nice to have it back āonlineā
I still remember the silence of the white walls and itās impressive architecture!
No problem
Thatās awesome - Sure it was in fact the idea behind naming it Guggenheim - to leave all of its complexities entirely behind and just present the content in the most clean and simple way possible.
Guggenheim is perfect
Once youāve been there, youāll never forget itās architecture and impressive state of mind!
Thanks mate. And again, awesome work youāve done with this!
Thank you @jakobploens!
Beautiful beautiful beautiful. I currently have a codepen open trying to achieve this exact alignment⦠and Iām headed down the exact wrong path. More than happy to pay for a moral license.
Thank you very much @samnabi and also for your contribution which I have received and by the way was the first!
I already said it on Twitter. I love this!! Having a server side implementation is awesome and exactly what I needed for a current client project. Just bought a license as well.
A little side-note: I think itās brilliant that more and more Kirby plugin developers go for the moral license. But please keep in mind that this model has its limitations. So far it works great for Kirby, but it only works because of Kirbyās main target audience is a very professional and decent bunch of people Iām not sure if this easily scales to all plugins though. Iām more than happy if it does, but donāt feel bad about just taking money for something you spent time and knowledge on in the old fashioned way. Many people forget how much it takes to maintain and support code you put out there. Building something is easy. Taking care for it over a long time is not. Kirby is getting better and better with all the available plugins out there. The more sustainable those plugins are for their creators the more other users can rely on them. Iām a huge fan of open-source, of sharing knowledge and code, but we should never forget the people behind the projects we build upon.
Thank you, @bastianallgeier it means a lot to me!
This plugin is actually my first real code project in the wild, to be honest I was indeed really really worried about how it mightāve been received if I went that exact old fashioned route youāre mentioning. But I have actually now decided to put it on hold for a minute, as Iām rethinking itās future a bit (I promise it will be back again soon).
Hi,
thats really bad to hear that you have decided to put the code out off the web.
And I canāt understood why you do this btw. where a problem could be?
That plugin would solve a problem actually for me.
Kind
Itās still out there (or maybe again?): https://github.com/SiteMarina/guggenheim
Hi,
but without any files .
Oh, sorry, I didnāt see that itās empty ā¦
Iām really sorry guys, Iām currently working on a way that follows Kirbyās well known way of maintaining updates through Git.
Iāve just added a Pre-launch Option for those off you who wants the plugin earlier, and Iām making sure to also update and email you as soon as I have the better and more streamlined option for future updates ready.
This looks very promising!
How predictable is the algorithm? For example, if I select two portrait photos, would it split them 50/50? What about three? Are there ways of defining a preferred layout or column-count (either in the kirbytag or by modifying the pluginās core)?
Either way, this will be very useful for an upcoming project.
Thank you very much @onartis!
I really havenāt met any edge cases against its use case, which is exactly what you see in the demo.
If you give it two photos, itāll most likely split 'em two up aside each other (unless it collides with the width and height options, which you can specify and manipulate its calculations from by yourself, that way you can interfeer with its behaviour), so the images will not necessarily come out as 50%/50% unless they have the same aspect ratio because remember, this is weighted out from the aspect ratios of the images against a overall width and an ideal row height - but what I can assure you of, is that itāll go beautifully up - letās say the aspect ratio of the images is exactly the same, then theyāll be balanced 50%/50% at some height, but if you give it an image in portrait ratio and one in landscape ratio, theyāll not be 50%/50% but balanced out, two up aside each other. I hope this makes sense
Theres no way to define layout or column count, as that would essentially disable the algorithm from exactly figuring all this stuff out on its own from the images and their order you feed the gallery with - but you can tweak the overall width and the ideal height, to somewhat interfeer with how it balance them.