Results 73 comments of Robert Buchberger

Awesome! That's a good first choice. You'll have to decide what format the output JSON should take and what information should be included there.

I'm away from a computer right now so I can't do any research, but can you make loops with liquid tags? JPT can parse liquid variables, so you might wrap...

I'm back at a computer now, and did some searching. I'm not sure what your specific implementation is, but liquid can indeed create [for loops](https://shopify.github.io/liquid/tags/iteration/). Since your products are already...

Hmm.... that is tough. The hashes are really important to how JPT functions, there's no way to turn them off. You need some way during the build step to get...

Yeah, that works but it doesn't sound very maintainable. Maybe a shell script during the build process could work? Also, could one of the other [output formats](https://rbuchberger.github.io/jekyll_picture_tag/users/presets/markup_formats/) help? It'll be...

No apologies, that's a great suggestion and I'd like to add it! I'll look into fastimage's svg capabilities a little further-- inlining base64 images is probably doable. I'm on vacation...

Well, I was thinking the same but there are some limitations to the width and height attributes. It only works on browsers less than ~6 months old, and it doesn't...

Update: I found a [gem](https://github.com/DannyBen/victor) that makes generating SVGs super easy. Since we already have width and height, we won't need tons of code to make this work. @stuntbox -...

Thanks for the ideas! I was considering some sort of multithreading awhile back, but ultimately never put the time into making it work. You're right that Jekyll runs the show,...

> I'm a low level C guy by trade. Cool :) Regarding the code, I believe what you've written would actually generate all of the widths for a particular srcset...