Commit 04420479 authored by Dylan Araps's avatar Dylan Araps

image: store thumbnail with path name

parent 8aab756a
...@@ -3702,7 +3702,7 @@ get_image_size() { ...@@ -3702,7 +3702,7 @@ get_image_size() {
make_thumbnail() { make_thumbnail() {
# Name the thumbnail using variables so we can # Name the thumbnail using variables so we can
# use it later. # use it later.
image_name="${crop_mode}-${crop_offset}-${width}-${height}-${image##*/}" image_name="${crop_mode}-${crop_offset}-${width}-${height}-${image//\/}"
# Handle file extensions. # Handle file extensions.
case "${image##*.}" in case "${image##*.}" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment