sort out a few more large image upload issues

This commit is contained in:
zotlabs
2017-11-14 17:39:33 -08:00
parent 3c3c0ed342
commit 8e53491867
6 changed files with 80 additions and 16 deletions

View File

@@ -588,6 +588,12 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
$def_extension = '.png';
}
// If we know it's a photo, over-ride the type in case the source system could not determine what it was
if($is_photo) {
$type = $gis['mime'];
}
$pathname = '';
if($is_photo) {