'; $html .= ''; $src = 'transformation_wrapper.php' . $options['wrapper_link']; } $html .= ''
            . __('Image preview here') . ''; $html .= '
'; return $html; } /** * Returns the array of scripts (filename) required for plugin * initialization and handling * * @return array javascripts to be included */ public function getScripts() { return array( 'transformations/image_upload.js', ); } /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ /** * Gets the transformation name of the specific plugin * * @return string */ public static function getName() { return "Image upload"; } }