diff --git a/lib/api/image/class-beans-image-editor.php b/lib/api/image/class-beans-image-editor.php index 5a931356..171aab5f 100644 --- a/lib/api/image/class-beans-image-editor.php +++ b/lib/api/image/class-beans-image-editor.php @@ -61,7 +61,7 @@ final class _Beans_Image_Editor { * Default is STRING. */ public function __construct( $src, array $args, $output = 'STRING' ) { - $local_source = beans_url_to_path( $this->src ); + $local_source = beans_url_to_path( $src ); $this->src = file_exists( $local_source ) ? $local_source : $src; $this->args = $args; $this->output = $output;