Code Monkey home page Code Monkey logo

metalsmith-picset-handlebars-helper's People

Contributors

anthonyastige avatar anthonyatzinid avatar

Watchers

 avatar  avatar

metalsmith-picset-handlebars-helper's Issues

Missing helper: "picset"

Ok, I am at a loss - I'm getting the following error and I have tried everything under the moon. Any ideas? I appreciate your input. Thnx

{ Error: Missing helper: "picset"
at Object. (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\helpers\helper-missing.js:19:13)
at Object.eval [as main] (eval at createFunctionContext (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\compiler\javascript-compiler.js:254:23), :25:74)
at main (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\runtime.js:175:32)
at Object.ret (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\runtime.js:178:12)
at Object.ret [as wrapper/main/article] (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\compiler\compiler.js:526:21)
at Object.invokePartialWrapper [as invokePartial] (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\runtime.js:72:46)
at eval (eval at createFunctionContext (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\compiler\javascript-compiler.js:254:23), :5:31)
at prog (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\runtime.js:221:12)
at execIteration (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\helpers\each.js:51:19)
at Object. (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\helpers\each.js:61:13)
at eval (eval at createFunctionContext (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\compiler\javascript-compiler.js:254:23), :5:34)
at Object.prog [as fn] (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\runtime.js:221:12)
at Object. (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\helpers\if.js:19:22)
at Object.eval [as main] (eval at createFunctionContext (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\compiler\javascript-compiler.js:254:23), :12:32)
at main (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\runtime.js:175:32)
at ret (C:\xampp\htdocs\node_modules\handlebars\dist\cjs\handlebars\runtime.js:178:12)
description: undefined,
fileName: undefined,
lineNumber: undefined,
message: 'Missing helper: "picset"',
name: 'Error',
number: undefined }

Default quality differentiation?

It might be optimal to set default quality to 100 for different filetype sources

  • png @ 100 (expected lossless)
  • jpg @ 80 (expected compression)

Reading quality from jpg would be iffy as it's not stored in the format by default, so don't go there.

Sizes helpers

I work a lot in bootstrap and would like helpers to generate the sizes="" parameter more easily.

However this plugin should be generic enough to work outside of bootstrap.

Maybe another plugin to help this one? Would prefer not to extend it, but we could if needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.