GeoCore addon that uploads user images to an Amazon S3 bucket.
The allows for hosting GeoCore on cloud services without persistent storage and scaling beyond a single instance.
Note: rotating images is not yet supported.
- AWS SDK for PHP version 3.
- ramsey/uuid version 3.
These dependencies are also listed in composer.json
.
- Ensure the above dependencies are installed.
- Place the contents of
src
intoaddons/s3image
under the root of your GeoCore install. - Install and enable the addon from the GeoCore admin panel.
- Configure S3 from the addon's settings page.
The geocore-s3image source is hosted on GitHub. Clone the project with
$ git clone https://github.com/ourtownrentals/geocore-s3image.git
Please submit and comment on bug reports and feature requests.
To submit a patch:
- Fork it (https://github.com/ourtownrentals/geocore-s3image/fork).
- Create your feature branch (
git checkout -b my-new-feature
). - Make changes.
- Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create a new Pull Request.
This GeoCore addon is licensed under the MIT license.
This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright holder or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.