芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/cepali.edu.mx/wp-content/plugins/smart-slider-3/Nextend/Framework/Image/Image.php
ResourceTranslator::getResourceIdentifierKeywords(), 'imageUrls' => ResourceTranslator::getResourceIdentifierUrls(), 'protocolRelative' => ResourceTranslator::isProtocolRelative() ); $parameters['placeholderImage'] = '$ss3-frontend$/images/placeholder/image.png'; $parameters['placeholderRepeatedImage'] = '$ss3-frontend$/images/placeholder/image.png'; Js::addFirstCode('new _N2.ImageHelper(' . json_encode($parameters) . ');'); } public static function initLightbox() { self::$platformImage->initLightbox(); } public static function onImageUploaded($filename) { self::$platformImage->onImageUploaded($filename); } public static function SVGToBase64($image) { $ext = pathinfo($image, PATHINFO_EXTENSION); if ($ext == 'svg' && ResourceTranslator::isResource($image)) { return 'data:image/svg+xml;base64,' . Base64::encode(Filesystem::readFile(ResourceTranslator::toPath($image))); } return ResourceTranslator::toUrl($image); } }