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
|
||||
Event template variable called urlSearch to handle it. (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
|
||||
- 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
|
||||
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
|
||||
--------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -23,21 +23,26 @@ use WebGUI::Utility;
|
|||
|
||||
my $thumbnailSize;
|
||||
my $onlyMissingThumbnails;
|
||||
my $help;
|
||||
|
||||
my $path = shift @ARGV;
|
||||
|
||||
my $ok = GetOptions(
|
||||
'size=i'=>\$thumbnailSize,
|
||||
'missing'=>\$onlyMissingThumbnails,
|
||||
'help'=>\$help,
|
||||
);
|
||||
|
||||
unless ($path ne "" and $ok){
|
||||
if ($help || ($path && $ok) ) {
|
||||
print <<USAGE;
|
||||
Usage: perl $0 <uploadsPath> [--size=thumbnailSize] [--missing]
|
||||
|
||||
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.
|
||||
|
||||
USAGE
|
||||
|
||||
exit 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue