/[dtapublic]/projs/dtats/trunk/projs/20161008_web_page_thumbnail_make/pics_filenames_canonize.php
ViewVC logotype

Diff of /projs/dtats/trunk/projs/20161008_web_page_thumbnail_make/pics_filenames_canonize.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 114 by dashley, Sat Dec 31 21:09:47 2016 UTC revision 115 by dashley, Sun Jan 1 02:24:49 2017 UTC
# Line 29  Line 29 
29  //  //
30  //The 3 programs in the 3-program suite are:  //The 3 programs in the 3-program suite are:
31  //  //
32  //   pics_filenames_canonize.php (this program):  //   pics_filenames_canonize.php (this script):
33  //      Converts all names of files in a directory to lower-case, and makes substitutions for any  //      Converts all names of files in a directory to lower-case, and makes substitutions for any
34  //      unusual characters.  //      unusual characters.
35  //  //
36  //   pics_thumbnails_make.php:  //   pics_thumbnails_make.php:
37  //      Creates thumbnails from recognized image types.  The thumbnails are named relative to the  //      Creates thumbnails from recognized image types.  The thumbnails are named relative to the
38  //      original image file with the suffix "_small".  Only 20 files are converted on each  //      original image file with the suffix "_small".  To support shared hosting environments where
39  //      invocation of the program, to avoid the involuntary process termination that typically  //      CPU utilization of a script may be capped, there is a configuration constant in the script
40  //      occurs in a shared hosting environment when a process uses too much CPU time.  The program  //      that will perform only a fixed number of conversions per invocation.  If this configuration
41  //      should be run repeatedly until it indicates that it has no more thumbnails to create.  //      option is used, the script should be run repeatedly until it indicates that it has no more
42    //      thumbnails to create.
43  //  //
44  //      If any full-sized photos are modified, any corresponding thumbnails should be deleted and  //      If any full-sized photos are modified, any corresponding thumbnails should be deleted and
45  //      pics_thumbnails_make.php and pics_indexfile_make.php should be run again.  //      pics_thumbnails_make.php and pics_indexfile_make.php should be run again.

Legend:
Removed from v.114  
changed lines
  Added in v.115

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25