Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/www/domains/hppgallery_com/design/defaulttheme/tpl/pagelayouts/main.php on line 59

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/www/domains/hppgallery_com/design/defaulttheme/tpl/pagelayouts/main.php on line 59
Wednesday, June 28, 2017
 

Amazon S3 activation

In order to activate Amazon S3 storage support on gallery you have to :

1. Change storage file system backend

From:

'file_storage_backend' => 'filesystem', 

To:

'file_storage_backend' => 'amazons3', 

2. Set appropriate Amazon S3 service settings:

Example configuration, from now all uploaded photos will be delivered from amazon S3

'amazons3' => array (
        'bucket'            => 'bucket_name',
        'endpoint'          => 'http://bucket_name.s3-website-eu-west-1.amazonaws.com',
        'aws_access_key'    => 'access_key',
        'aws_secret_key'    => 'access_key'
    ),

Also you have to set appropriate CDN addresses (change accordingly):

'cdn' => array(
        'css' => '',
        'images' => array(
                0 => 'http://bucket_name.s3-website-eu-west-1.amazonaws.com'            
        ),
        'full_img_cdn' => 'http://bucket_name.s3-website-eu-west-1.amazonaws.com'
    ),

Limitations

Currently gallery supports only image file storage using Amazon S3 storage service. Video file support for amazon S3 will be addedd in some time.

 

 

Back »

Comments: 0

Leave a reply »

 
  • Leave a Reply
    Your gravatar
    Your Name
     
     
     
     
 
About HPPG

High performance photo gallery dedicated for large numbers of image storage.

Get in touch

Donate



Download