docpad-plugin-imagin
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "docpad-plugin-imagin", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Adds support for thumbnail generation to DocPad", | ||
"author": "Almero (http://almero.com)", | ||
"author": "Almero Digital Marketing (http://almero.com)", | ||
"keywords": [ | ||
@@ -15,3 +15,3 @@ "docpad", | ||
"type": "git", | ||
"url": "https://github.com/dimitarkolev/docpad-plugin-imagin" | ||
"url": "https://github.com/almero-digital-marketing/docpad-plugin-imagin" | ||
}, | ||
@@ -37,6 +37,6 @@ "engines": { | ||
"bugs": { | ||
"url": "https://github.com/dimitarkolev/docpad-plugin-imagin/issues" | ||
"url": "https://github.com/almero-digital-marketing/docpad-plugin-imagin/issues" | ||
}, | ||
"homepage": "https://github.com/dimitarkolev/docpad-plugin-imagin", | ||
"homepage": "https://github.com/almero-digital-marketing/docpad-plugin-imagin", | ||
"license": "ISC" | ||
} |
# Thumbnails Plugin for DocPad | ||
Adds support for thumbnail generation to [DocPad](https://docpad.org) using the [gm](http://aheckmann.github.com/gm/) library. | ||
This plugin is based on the original [Thumbnails Plugin for DocPad](https://github.com/rantecki/docpad-plugin-thumbnails). It is drop in replacement of thumbnaiils plugin. | ||
This plugin is based on the original [Thumbnails Plugin](https://github.com/rantecki/docpad-plugin-thumbnails). It is drop in replacement of thes thumbnails plugin but with some extra features like the suport for [Raw Plugin](https://github.com/docpad/docpad-plugin-raw) | ||
@@ -15,6 +15,10 @@ ## Install | ||
### Extra features and improvments | ||
### Extra features and improvements | ||
Imagin plugin can use images located not ony in `documents` and `static` folders. It can use images from any folder under `src`. This makes it compatible with 'docpad-plugin-raw'. It and even use images that are neither in `documents`, `static` nor `raw`, but any folder which even does not make it to the `out` folder. Imagine a situation where you have `hub` folder with very large images (several MBs) and you don't want them copied to the out folder, you can create `data` folder inside `src` folder and refer images from there so only the resized images are generated in the `out` folder. You can move the source images from one folder to another and it will still work. Lets say by now you had your images in 'static' and want to move them to 'raw' and gain some performance, the only thing you have to do is move your images there and everything will just work. | ||
Imagin plugin can use images located not ony in `documents` and `static` folders. It can use images from any folder under `src`. This makes it compatible with 'docpad-plugin-raw'. | ||
It can even use images that are neither in `documents`, `static` nor `raw`, but any other folder inside `src` which even does not make it to the `out` folder. Imagine a situation where you have `data` folder with very large images (several MBs each) and you don't want them copied to the out folder, you can put your images there and refer them as usual so only the resized images are generated in the `out` folder. | ||
You can move the source images from one `src` folder to another and it will still work. Lets say by now that you had your images in `static` and want to move them to `raw` and gain some performance, the only thing you have to do is move your images there and everything will just work. | ||
Another change that is made to the original thumbnail plugin is that all image processing is done is sequence instead in parallel. Parallel processing led to many out of memory problems and did not ofer any performance benefit. | ||
@@ -21,0 +25,0 @@ |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
21390
1
0
228