add docs for fixing missing thumbnails and add the --help switch to the thumbnailer script
This commit is contained in:
parent
7fb381c646
commit
83eb765fef
3 changed files with 19 additions and 2 deletions
|
|
@ -2,6 +2,8 @@
|
||||||
- fix: Fixing bad link on the Event page to the search engine. Added a new
|
- fix: Fixing bad link on the Event page to the search engine. Added a new
|
||||||
Event template variable called urlSearch to handle it. (perlDreamer Consulting, LLC)
|
Event template variable called urlSearch to handle it. (perlDreamer Consulting, LLC)
|
||||||
- fix: Set default groupIdEditEvent to groupIdEdit during upgrade (perlDreamer Consulting, LLC)
|
- fix: Set default groupIdEditEvent to groupIdEdit during upgrade (perlDreamer Consulting, LLC)
|
||||||
|
- Rewrote the sbin/thumbnail.pl script and added an option to only create
|
||||||
|
thumbnails for images without thumbnails. (perlDreamer Consulting, LLC)
|
||||||
|
|
||||||
7.3.11
|
7.3.11
|
||||||
- Added an option for enabling coverage tests to testCodebase.pl.
|
- Added an option for enabling coverage tests to testCodebase.pl.
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,16 @@ upgrading from one version to the next, or even between multiple
|
||||||
versions. Be sure to heed the warnings contained herein as they will
|
versions. Be sure to heed the warnings contained herein as they will
|
||||||
save you many hours of grief.
|
save you many hours of grief.
|
||||||
|
|
||||||
|
7.3.12
|
||||||
|
--------------------------------------------------------------------
|
||||||
|
|
||||||
|
* The sbin/thumbnailer.pl script was almost completely rewritten.
|
||||||
|
It now accepts a script to only thumbnail things that do not
|
||||||
|
already have thumbnails, to help compensate for problems with
|
||||||
|
the RTE Collateral Image manager upload/thumbnail bug.
|
||||||
|
Run the script with no arguments to get a summary of the new
|
||||||
|
usage.
|
||||||
|
|
||||||
7.3.11
|
7.3.11
|
||||||
--------------------------------------------------------------------
|
--------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,21 +23,26 @@ use WebGUI::Utility;
|
||||||
|
|
||||||
my $thumbnailSize;
|
my $thumbnailSize;
|
||||||
my $onlyMissingThumbnails;
|
my $onlyMissingThumbnails;
|
||||||
|
my $help;
|
||||||
|
|
||||||
my $path = shift @ARGV;
|
my $path = shift @ARGV;
|
||||||
|
|
||||||
my $ok = GetOptions(
|
my $ok = GetOptions(
|
||||||
'size=i'=>\$thumbnailSize,
|
'size=i'=>\$thumbnailSize,
|
||||||
'missing'=>\$onlyMissingThumbnails,
|
'missing'=>\$onlyMissingThumbnails,
|
||||||
|
'help'=>\$help,
|
||||||
);
|
);
|
||||||
|
|
||||||
unless ($path ne "" and $ok){
|
if ($help || ($path && $ok) ) {
|
||||||
print <<USAGE;
|
print <<USAGE;
|
||||||
Usage: perl $0 <uploadsPath> [--size=thumbnailSize] [--missing]
|
Usage: perl $0 <uploadsPath> [--size=thumbnailSize] [--missing]
|
||||||
|
|
||||||
uploadsPath is the complete path to your uploads directory
|
uploadsPath is the complete path to your uploads directory
|
||||||
--size allows you to override the default thumbnail size of 50
|
|
||||||
|
--size=thumbSize allows you to override the default thumbnail size of 50.
|
||||||
|
|
||||||
--missing says to only create thumbnails for images that are missing thumbnails.
|
--missing says to only create thumbnails for images that are missing thumbnails.
|
||||||
|
|
||||||
USAGE
|
USAGE
|
||||||
|
|
||||||
exit 0;
|
exit 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue