コード例 #1
0
 /**
  * Returns the object path within the bucket.
  *
  * @param string $path The base path of the resource.
  * @param string $filter The name of the imagine filter in effect.
  *
  * @return string The path of the object on S3.
  */
 protected function getObjectPath($path, $filter)
 {
     // If original in aws3, then it is in the images folder
     if ($filter == 'original') {
         return $path;
     }
     return parent::getObjectPath($path, $filter);
 }