remove_originals

Name

remove_originals -- instruct makethumbs to remove original images

Synopsis

    remove_originals=0
  

Description

When remove_originals is set to 1, makethumbs will remove the original image if it has created reduced or large images.

This option is most often used when you have a small amount of disk space for your web pages. It is usually activated with the --remove-originals command line option. If you have both reduced images and large images in addition to the original images, remove_originals will remove the original images and promote the large images to the original images. If you run makethumbs again with the same option in the same directory, the current-original images (which are really the large images that makethumbs created previously) are removed and the reduced images are promoted to the original filenames.

Because of the way this command works, it is usually best to use the command line option instead of the .makethumbsrc setting. If you set remove_originals in the .makethumbsrc file, you're likely to always end up with the reduced (640x480 by default) images as the only images available to your useres.

This option can also be useful if you are imprinting attributions/copyrights on to your images via the image_imprinting_text so that you can remove the original images which don't have the text imprinted on them.

remove_originals is a boolean variable with a valid setting of either 0 or 1.

Caution

Your original images will most likely be removed when remove_originals is enabled. Don't run this on your only copy of an image your you will lose that image!. This is one of the only times that makethumbs will ever touch any of your original images, but it's a doosey so please be careful.

See also

image_imprinting_text , compression_level