_processed_images -> processed_images
|
@ -13,6 +13,7 @@
|
||||||
- Many many times faster (x10-x20) for sites with thousands of pages
|
- Many many times faster (x10-x20) for sites with thousands of pages
|
||||||
- Add more Emacs temp file to the ignored patterns in `gutenberg serve`
|
- Add more Emacs temp file to the ignored patterns in `gutenberg serve`
|
||||||
- Files starting with `.` are not considered pages anymore even if they end with `.md`
|
- Files starting with `.` are not considered pages anymore even if they end with `.md`
|
||||||
|
- `_processed_images` folder for image processing has been renamed `processed_images` to avoid issues with GitHub Pages
|
||||||
|
|
||||||
## 0.4.2 (2018-09-03)
|
## 0.4.2 (2018-09-03)
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ use utils::fs as ufs;
|
||||||
use errors::{Result, ResultExt};
|
use errors::{Result, ResultExt};
|
||||||
|
|
||||||
|
|
||||||
static RESIZED_SUBDIR: &'static str = "_processed_images";
|
static RESIZED_SUBDIR: &'static str = "processed_images";
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
pub static ref RESIZED_FILENAME: Regex = Regex::new(r#"([0-9a-f]{16})([0-9a-f]{2})[.]jpg"#).unwrap();
|
pub static ref RESIZED_FILENAME: Regex = Regex::new(r#"([0-9a-f]{16})([0-9a-f]{2})[.]jpg"#).unwrap();
|
||||||
|
|
|
@ -26,7 +26,7 @@ resize_image(path, width, height, op, quality)
|
||||||
Gutenberg performs image processing during the build process and places the resized images in a subdirectory in the static files directory:
|
Gutenberg performs image processing during the build process and places the resized images in a subdirectory in the static files directory:
|
||||||
|
|
||||||
```
|
```
|
||||||
static/_processed_images/
|
static/processed_images/
|
||||||
```
|
```
|
||||||
|
|
||||||
Resized images are JPEGs. Filename of each resized image is a hash of the function arguments,
|
Resized images are JPEGs. Filename of each resized image is a hash of the function arguments,
|
||||||
|
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |