Browse Source

imageproc: Rename `_resized_images` as `_processed_images`

index-subcmd
Vojtech Kral Vincent Prouillet 6 years ago
parent
commit
17de3c9a97
12 changed files with 2 additions and 2 deletions
  1. +1
    -1
      components/imageproc/src/lib.rs
  2. +1
    -1
      docs/content/documentation/content/image-resizing/index.md
  3. +0
    -0
      docs/static/_processed_images/09c08ee3f954d0c100.jpg
  4. +0
    -0
      docs/static/_processed_images/28c11b70e6d31a8400.jpg
  5. +0
    -0
      docs/static/_processed_images/42758a649ef513b600.jpg
  6. +0
    -0
      docs/static/_processed_images/4df81a7c614e5cc000.jpg
  7. +0
    -0
      docs/static/_processed_images/6320cb783d4be30e00.jpg
  8. +0
    -0
      docs/static/_processed_images/6e0991f475d665df00.jpg
  9. +0
    -0
      docs/static/_processed_images/72d0be8c5e35e50f00.jpg
  10. +0
    -0
      docs/static/_processed_images/78e4b442f0b0cbf700.jpg
  11. +0
    -0
      docs/static/_processed_images/792676f9505fb47700.jpg
  12. +0
    -0
      docs/static/_processed_images/b12c7fc72d2815e700.jpg

+ 1
- 1
components/imageproc/src/lib.rs View File

@@ -23,7 +23,7 @@ use utils::fs as ufs;
use errors::{Result, ResultExt}; use errors::{Result, ResultExt};




static RESIZED_SUBDIR: &'static str = "_resized_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();
} }


+ 1
- 1
docs/content/documentation/content/image-resizing/index.md View File

@@ -26,7 +26,7 @@ The function usage is as follows:


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/_resized_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,
which means that once an image is resized in a certain way, it will be stored in the above directory and will not which means that once an image is resized in a certain way, it will be stored in the above directory and will not


docs/static/_resized_images/09c08ee3f954d0c100.jpg → docs/static/_processed_images/09c08ee3f954d0c100.jpg View File


docs/static/_resized_images/28c11b70e6d31a8400.jpg → docs/static/_processed_images/28c11b70e6d31a8400.jpg View File


docs/static/_resized_images/42758a649ef513b600.jpg → docs/static/_processed_images/42758a649ef513b600.jpg View File


docs/static/_resized_images/4df81a7c614e5cc000.jpg → docs/static/_processed_images/4df81a7c614e5cc000.jpg View File


docs/static/_resized_images/6320cb783d4be30e00.jpg → docs/static/_processed_images/6320cb783d4be30e00.jpg View File


docs/static/_resized_images/6e0991f475d665df00.jpg → docs/static/_processed_images/6e0991f475d665df00.jpg View File


docs/static/_resized_images/72d0be8c5e35e50f00.jpg → docs/static/_processed_images/72d0be8c5e35e50f00.jpg View File


docs/static/_resized_images/78e4b442f0b0cbf700.jpg → docs/static/_processed_images/78e4b442f0b0cbf700.jpg View File


docs/static/_resized_images/792676f9505fb47700.jpg → docs/static/_processed_images/792676f9505fb47700.jpg View File


docs/static/_resized_images/b12c7fc72d2815e700.jpg → docs/static/_processed_images/b12c7fc72d2815e700.jpg View File


Loading…
Cancel
Save