fixed Gallery Disk Space problem by adding a way to change image density
This commit is contained in:
parent
4683e4b769
commit
b0669c1a36
6 changed files with 100 additions and 18 deletions
|
|
@ -12,6 +12,7 @@
|
|||
- fixed: per item shipping
|
||||
- fixed: product title problem
|
||||
- fixed: adding payment brings me to /
|
||||
- fixed: Gallery uses too much disk space. Added a way to change an images pixel density.
|
||||
|
||||
7.5.18
|
||||
- fixed: Collateral Image Manager broken in Firefox 3
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ my $session = start(); # this line required
|
|||
addNewInboxIndexes( $session );
|
||||
updateAddressTable( $session );
|
||||
addProductShipping( $session );
|
||||
addGalleryImageDensity( $session );
|
||||
correctPayDriverReceiptTemplate( $session );
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -45,6 +46,19 @@ finish($session); # this line required
|
|||
# print "DONE!\n" unless $quiet;
|
||||
#}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Add the image density property to the Gallery
|
||||
sub addGalleryImageDensity {
|
||||
my $session = shift;
|
||||
print "\tAdding Image Density to Gallery... " unless $quiet;
|
||||
|
||||
$session->db->write(
|
||||
"ALTER TABLE Gallery ADD COLUMN imageDensity INT"
|
||||
);
|
||||
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Corrects the asset id of the default receipt email template for the PayDriver
|
||||
sub correctPayDriverReceiptTemplate{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue