saplingjs / sapling

🌿 Sapling is a Node.js framework for faster-than-light web development.
https://www.saplingjs.com
MIT License
14 stars 0 forks source link

Generate thumbnails for image uploads #434

Closed groenroos closed 2 years ago

groenroos commented 2 years ago

Generate n number of thumbnails for each image upload, either from A) the file field definition in the model; B) user-supplied global definition in config; or C) fallback default definition in config.

Closes #89.

codecov[bot] commented 2 years ago

Codecov Report

Merging #434 (1195a8e) into master (4484aad) will increase coverage by 0.03%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #434      +/-   ##
==========================================
+ Coverage   98.02%   98.06%   +0.03%     
==========================================
  Files          37       37              
  Lines        4607     4644      +37     
==========================================
+ Hits         4516     4554      +38     
+ Misses         91       90       -1     
Impacted Files Coverage Δ
core/loadConfig.js 100.00% <100.00%> (ø)
lib/Uploads.js 98.78% <100.00%> (+0.21%) :arrow_up:
lib/Templating.js 99.07% <0.00%> (+0.92%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4484aad...1195a8e. Read the comment docs.