Added getMediaSource function - looks for setting gallery.mediaSource
Updated item+gallery to use mediasource on 'upload item'
Added Multi-upload support with media sources
Updated batchUpload to use media Source
Updated zip upload to use media source
Tidied comments
Updated img paths for output - if a media source has a baseUrl it is used
Tidied up - removed some comments
Added image delete (mediaSource)
Added new system setting for default media source
Updated absolute paths on image name
Updated method that gets the selected media source - now works better in manager
Merge remote-tracking branch 'splittingred/pr/269' into media-sources
Updated the tmp folder to exist only within the modx installation (Fixing open_basedir issue)
Fixed removal of temporary image
Removed debug logging
Merge branch 'FEATURE-mediaSources' of github.com:Adido/Gallery into media-sources
Updated BASE path to CORE path
Merge branch 'FEATURE-mediaSources' of github.com:Adido/Gallery into media-sources
Merge branch 'media-sources' into develop