evanshunt / silverstripe-remote-images
A Silverstripe module that can pull in images from a remote site for local display
Package info
github.com/evanshunt/silverstripe-remote-images
Type:silverstripe-vendormodule
pkg:composer/evanshunt/silverstripe-remote-images
v0.0.3
2024-08-16 17:40 UTC
Requires
- jakeasmith/http_build_url: ^1.0
- silverstripe/framework: ^4 | ^5
README
Module for using remote versions of image files when copying a site to a local environment. Inspired by the Silverstripe Asset Proxy for SilverStripe 3.
Installation
composer require evanshunt/silverstripe-remote-images
Usage
Set a remote host in your .env file
REMOTE_IMAGES_PROXY_HOST=http://example.com
Known issues
Files are downloaded locally, but not totally recognized by the CMS, leading to some not being cropped and issues in the assets admin area.