Overloads Image->cacheFilename() so the filename of a formatted image stays the same as the original.
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_config
code
tests
.htaccess
README.md
_config.php
composer.json

README.md

RSImage

Overloads Image->cacheFilename() so the filename of a formatted image stays the same as the original

Image->Filename:

assets/Uploads/filename.jpg

Image->cachedFilename():

assets/Uploads/_resampled/croppedImage800600-filename.jpg

RSImage->cachedFilename():

assets/Uploads/_croppedImage800600/filename.jpg

Requirements

SilverStripe 3.1