Skip to content

Releases: morrelinko/simple-photo

0.7.0

22 Jun 16:49
Compare
Choose a tag to compare
  • Configuration options for simple-photo are now passed along to photo-sources.
  • Ability to change tmp_dir that photos will be saved temporarily during transformation.
  • Fixed error in build() when trying to get a photo that does not exist.
  • Some api cleanup.

0.6.0

18 Apr 16:45
Compare
Choose a tag to compare
  • Moved classes from Utils\ to Toolbox.
  • Added AwsS3 Storage.
  • Re-arranged the order of arguments passed to callback when building photo collection.
  • Renamed transform option 'size' to 'resize'
  • Added feature for extending photo transformations using Transformers
  • Added uploadFromUrl() shortcut/alias for uploading photo from a url
  • Removed allowing Iterator objects to be passed to push()
  • Added replace() to StorageManager for swapping existing storage
  • Added feature for implementing custom transformers

0.5.0

06 Apr 12:53
Compare
Choose a tag to compare
  • Changed PhotoResult mime() to fileMime()
  • Started using psr-4
  • Fixed: retrieving already modified photo returns original photo
  • Got rid of deprecated uploadFrom()

0.4.0

20 Feb 12:40
Compare
Choose a tag to compare
  • Added upload() method with a cleaner api for uploading
  • Added UrlSource implementation for uploading photo from url sources
  • Added MemoryStorage implementation for saving image to memory
  • Added MemoryDataStore implementation for persisting photo details in memory
  • Added 'file_size' to details stored in data store
  • Deprecated uploadFrom() method
  • Updated data store schema
  • Consistent setup across storage

0.3.1

19 Feb 01:48
Compare
Choose a tag to compare
  • Added RemoteHostStorage for saving and manipulating photos on external domains
  • Some few code fixes

0.3.0

28 Jan 16:42
Compare
Choose a tag to compare
  • Added collection() for getting a list of photos
  • Added push() for appending photo results to an array or a list of array items.
  • Method parameters changes for constructor and uploadFrom
  • Added convenient method hasFallback() to storage manager for checking if a fallback storage has been defined
  • Started using imagine library for photo transformation.

0.2.1

27 Jan 16:34
Compare
Choose a tag to compare
  • Fixed bug with gd unable to create resource for some corrupt jpeg images

0.2.0

19 Jan 23:18
Compare
Choose a tag to compare
  • Some api changes