Changeset 2700536
- Timestamp:
- 03/28/2022 09:58:41 AM (4 years ago)
- Location:
- smartframe
- Files:
-
- 13 edited
-
tags/2.4/admin/partials/css/admin.css (modified) (4 diffs)
-
tags/2.4/admin/partials/inputs/apiKey.php (modified) (4 diffs)
-
tags/2.4/readme.txt (modified) (9 diffs)
-
tags/2.4/smartframe.php (modified) (1 diff)
-
tags/2.4/vendor/composer/installed.php (modified) (2 diffs)
-
tags/2.4/vendor/smartframe/smartlib/src/App/SmartFramePlugin.php (modified) (1 diff)
-
tags/2.4/vendor/smartframe/smartlib/src/App/config.plugin.php (modified) (2 diffs)
-
trunk/admin/partials/css/admin.css (modified) (4 diffs)
-
trunk/admin/partials/inputs/apiKey.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (9 diffs)
-
trunk/smartframe.php (modified) (1 diff)
-
trunk/vendor/smartframe/smartlib/src/App/SmartFramePlugin.php (modified) (1 diff)
-
trunk/vendor/smartframe/smartlib/src/App/config.plugin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smartframe/tags/2.4/admin/partials/css/admin.css
r2700524 r2700536 882 882 883 883 /* Settings */ 884 div.smartframe-status { 885 box-sizing: border-box; 886 width: 500px; 887 overflow: hidden; 888 display: block; 889 float: left; 890 891 } 884 /*div.smartframe-status {*/ 885 /* box-sizing: border-box;*/ 886 /* width: 500px;*/ 887 /* overflow: hidden;*/ 888 /* display: block;*/ 889 /* float: left;*/ 890 891 /*}*/ 892 892 893 893 div.smartframe-status:after { … … 1014 1014 } 1015 1015 1016 div.smartframe-status.wide { 1017 width: 750px; 1018 } 1016 /*div.smartframe-status.wide {*/ 1017 /* width: auto;*/ 1018 /*}*/ 1019 1019 1020 1020 div.smartframe-status div.failure input { … … 1027 1027 1028 1028 div.smartframe-status div.update { 1029 width: 380px;1030 padding: 22px 28px;1029 /*width: 380px;*/ 1030 /*padding: 22px 28px;*/ 1031 1031 background-color: white; 1032 margin-bottom: -99999px;1032 /*margin-bottom: -99999px;*/ 1033 1033 } 1034 1034 … … 1063 1063 } 1064 1064 1065 div.smartframe-status.wide div.create { 1066 box-sizing: border-box; 1067 background-color: white; 1068 float: left; 1069 width: 50%; 1070 padding: 45px 45px 45px 45px; 1071 border-right: 1px solid #e5e5e5; 1072 1073 } 1065 /*div.smartframe-status.wide div.create {*/ 1066 /* box-sizing: border-box;*/ 1067 /* background-color: white;*/ 1068 /* float: left;*/ 1069 /* width: 50%;*/ 1070 /* padding: 45px 45px 45px 45px;*/ 1071 /* border-right: 1px solid #e5e5e5;*/ 1072 1073 /*}*/ 1074 1074 1075 1075 div.smartframe-status.wide div.update { 1076 1076 box-sizing: border-box; 1077 1077 float: left; 1078 width: 50%;1079 padding: 40px 45px 99999px 40px;1078 /*width: 50%;*/ 1079 padding: 40px 45px 45px 40px; 1080 1080 1081 1081 -
smartframe/tags/2.4/admin/partials/inputs/apiKey.php
r2700524 r2700536 11 11 /** @var boolean $keyOk */ 12 12 ?> 13 <div class="smartframe-status wide border" style="display: none;">14 <div style="display: none;" class="update ">13 <div class="smartframe-status wide" style="display: none;"> 14 <div style="display: none;" class="update border"> 15 15 <h4>Already have a SmartFrame account?</h4> 16 16 <p class="introduction"> Log in using your access code – you can find it in … … 19 19 settings > Integration</a> 20 20 </p> 21 22 23 21 <form action="options.php" method="post" id="smartframe--proporties-page"> 24 22 <?php … … 29 27 placeholder="Your access code" 30 28 id="<?php echo $id ?>" 31 value="<?php //echo $apiKey ?>"> 32 33 <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary"> 34 LOG IN 35 </button> 36 29 value="<?php //echo $apiKey ?>" 30 > 31 <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary">LOG IN</button> 37 32 </form> 38 39 40 33 <form action="options.php" style="display: none;" method="post" id="smartframe--proporties-page-first-register"> 41 34 <?php … … 46 39 placeholder="Your access code" 47 40 id="smartframe-without-valid-code" 48 value="<?php //echo $apiKey ?>"> 49 50 <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary"> 51 LOG IN 52 </button> 53 41 value="<?php //echo $apiKey ?>" 42 > 43 <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary">LOG IN</button> 54 44 </form> 55 45 </div> -
smartframe/tags/2.4/readme.txt
r2700524 r2700536 3 3 Tags: image, images, right click, watermark, watermark image, watermark images, add watermark, zoom, compress, picture, photo, photos, watermarking, compress image, compress images, optimize image, optimise image, optimize images, optimise images, image optimization, image optimisation, image protection, no right click, stealing, image fullscreen, images fullscreen, images full-screen, image full-screen, magnification, magnifier, panorama, responsive, responsive image, responsive images, resize, optimise, optimisation, lazy load, WebP, photography, optimizer, optimiser, shrink, shrinker, improve, jpeg, jpg, minify, faster, PageRank, responsive effects, hover effect, smartframe, smart frame, smart-frame, compress jpeg, compress jpg, compress jpeg images, compress jpg image, resize images, resize image, protect images, protect image, screenshot blocker, screenshot disabler, screenshot block, right click disabler, protect content, anti theft content, disable copy, disable images selection, prevent right click, prevent screenshot, prevent copy, prevent content theft, download blocker, add share button, stop saving images with right click, brand protection, image theft, images theft, anti theft, lazyload images, lazyload image, prevent bandwitdh theft, prevent hotlinking, disable hotlink, hotlink protection, compress media library 4 4 Requires at least: 4.1 5 Stable tag: 2. 3.16 Tested up to: 5. 8.35 Stable tag: 2.4.0 6 Tested up to: 5.9.2 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later … … 22 22 ### Examples ### 23 23 24 * **[Right click blocker and screenshot protection](https://smartframe.io/demo/right-click-screenshot-protection?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Right%20Click%20Blocker)**25 * **[Customizable watermark](https://smartframe.io/demo/customizable-watermark?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Customizable%20Watermark)**26 * **[Hyper zoom](https://smartframe.io/demo/deep-zoom?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Image%20Zoom)**27 * **[Full-screen button](https://smartframe.io/demo/fullscreen-mode?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Full%20Screen%20Button)**28 * **[Button on image](https://smartframe.io/demo/customizable-share-call-action-buttons?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Button%20On%20Image)**29 * **[Custom caption over images](https://smartframe.io/demo/customizable-styles-caption?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Custom%20Caption%20Over%20Image)**24 * **[Right click blocker and screenshot protection](https://smartframe.io/demo/right-click-screenshot-protection?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Right%20Click%20Blocker)** 25 * **[Customizable watermark](https://smartframe.io/demo/customizable-watermark?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Customizable%20Watermark)** 26 * **[Hyper zoom](https://smartframe.io/demo/deep-zoom?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Image%20Zoom)** 27 * **[Full-screen button](https://smartframe.io/demo/fullscreen-mode?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Full%20Screen%20Button)** 28 * **[Button on image](https://smartframe.io/demo/customizable-share-call-action-buttons?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Button%20On%20Image)** 29 * **[Custom caption over images](https://smartframe.io/demo/customizable-styles-caption?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Custom%20Caption%20Over%20Image)** 30 30 31 31 https://vimeo.com/314034061 … … 36 36 With the SmartFrame WordPress Image Security and Compression Plugin, you don't need to choose between image quality and page speed. SmartFrame uses a proprietary algorithm to compress JPG images and maintain page load speeds. Whenever a page with embedded SmartFrames is loaded, it reduce images size and renders your image in the highest needed resolution, based on the device used (retina images). This means that images displayed on the average smartphone or tablet, for example, will be rendered at a lower resolution than on a Retina display. 37 37 38 SmartFrame will never upscale your images, so you should make sure that the images you initially upload to the SmartFrame Cloud are in a high enough resolution to look good across all devices. The size and resolution of the original image will not affect the page loading speed, although low-resolution images aren’t ideal for display on high-resolution displays, and these may alsolimit the performance of the Hyper Zoom feature.38 Unless you choose a display option in WordPress that exceeds the dimensions of the original image, SmartFrame will never upscale your images. For this reason, you should make sure that the original images you upload are in a high enough quality to look good on modern displays (at least 2000px wide for photos). The size of the original image will not affect the page loading speed, but if the image is too small it may not look good on large displays, and may limit the performance of the Hyper Zoom feature. 39 39 40 40 ### SECURITY AND COPYRIGHT PROTECTION ### … … 77 77 The SmartFrame plugin uses a fast and reliable cloud service to process, encrypt and reduce image size. This allows images to be encrypted and displayed quickly and securely in any geographical location. The cloud, which is a custom implementation of an Amazon Web Services platform, features autoscaling, load balancing, frequent backups, 24/7 monitoring and 99.9% availability, and is used by many large international companies. 78 78 79 To store images in the cloud, users simply need to register for a SmartFrame account, which is free of charge for up to 2GB of images. This can be upgraded to Pro or Enterprise plans for more demanding users. Registration also gives you access to the SmartFrame Admin Panel, which offers many additional tools. [Read more about the features here](https://smartframe.io/?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Features).79 To store images in the cloud, just register for a SmartFrame account, which is free of charge for up to 500MB of images. Should you require more storage space and additional functionality, you are free to upgrade your plan to either our Standard or Professional package at any time. Registration also gives you access to the SmartFrame Admin Panel, which offers many additional tools. [Read more about the features here](https://smartframe.io/?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Features). 80 80 81 81 … … 84 84 SmartFrame plugin allows you to convert any JPEG image in your pages and posts into SmartFrame format. Full support for background images, featured images, galleries and multiple image formats is coming soon. The plugin has been tested with most popular WordPress themes but due to the huge variety of WordPress themes and layouts we cannot guarantee that it will work with every theme, especially completely custom ones. Current unsupported themes: Newspaperist, Boggist, Mesmerize, Flatsome. 85 85 86 SmartFrame plugin has been also tested with Compress JPEG & PNG images, No Right Click Images Plugin, Secure Copy Content Protection, RCD-Right Click Disabler, Jetpack, Prevent Content Theft [Disable Right Click], EWWW Image Optimizer, Optimus – WordPress Image Optimizer, CheetahO Image Compression and Optimizer, ShortPixel Image Optimizer, Image optimization service by Optimole, Robin image optimizer, Kraken Image Optimizer, Image Watermark, Easy Watermark, reSmush.it Image Optimizer, Disable Right Click For WP, No Right Click Images Plugin, WP Content Copy Protection & No Right Click, Content Copy Protection with Color Design, WPForms, MonsterInsights, Yoast SEO, Akismet, WP Fastest Cache, WP Super Cache, LiteSpeed Cache, W3 Total Cache, Google XML Sitemaps, Page Builder by SiteOrigin, WooCommerce, Elementor Page Builder, Avada theme, BeTheme theme, The7 theme, Enfold theme, X The theme, Astra theme, Write theme, Generate Press theme, Neve theme, Reykjavik theme, Cali theme, Didi Lite theme, OceanWP theme.87 88 SmartFrame plugin doesn't guarantee full compatibility with Lazy Load by WP Rocket plugin, Smush Image Compression and Optimisation, Beaver Builder, WP Image Zoom, Instapage, WordPress Gallery Plugin – NextGEN Gallery, Slider Revolution builder, Divi builder, Modula Image Gallery, Gallery Plugin for WordPress - Envira Photo Gallery, Photo Gallery by 10Web – Mobile-Friendly Image Gallery, FooGallery – Image Gallery WordPress Plugin, Image Gallery by Robo – Responsive Photo Gallery, WPBakery Page Builder, Lazy Loader, Easy Lazy Loader, Lazy Load Optimizer, lazysizes, A performant lazy loader (defer.js), Smart Image Loader, Secure Image Protection, Hotlink Protection.86 SmartFrame plugin doesn't guarantee full compatibility with Compress JPEG & PNG images, No Right Click Images Plugin, Secure Copy Content Protection, RCD-Right Click Disabler, Jetpack, Prevent Content Theft [Disable Right Click], EWWW Image Optimizer, Optimus – WordPress Image Optimizer, CheetahO Image Compression and Optimizer, ShortPixel Image Optimizer, Image optimization service by Optimole, Robin image optimizer, Kraken Image Optimizer, Image Watermark, Easy Watermark, reSmush.it Image Optimizer, Disable Right Click For WP, No Right Click Images Plugin, WP Content Copy Protection & No Right Click, Content Copy Protection with Color Design, WPForms, MonsterInsights, Yoast SEO, Akismet, WP Fastest Cache, WP Super Cache, LiteSpeed Cache, W3 Total Cache, Google XML Sitemaps, Page Builder by SiteOrigin, WooCommerce, Elementor Page Builder, Avada theme, BeTheme theme, The7 theme, Enfold theme, X The theme, Astra theme, Write theme, Generate Press theme, Neve theme, Reykjavik theme, Cali theme, Didi Lite theme, OceanWP theme, Lazy Load by WP Rocket plugin, Smush Image Compression and Optimisation, Beaver Builder, WP Image Zoom, Instapage, WordPress Gallery Plugin – NextGEN Gallery, Slider Revolution builder, Divi builder, Modula Image Gallery, Gallery Plugin for WordPress - Envira Photo Gallery, Photo Gallery by 10Web – Mobile-Friendly Image Gallery, FooGallery – Image Gallery WordPress Plugin, Image Gallery by Robo – Responsive Photo Gallery, WPBakery Page Builder, Lazy Loader, Easy Lazy Loader, Lazy Load Optimizer, lazysizes, A performant lazy loader (defer.js), Smart Image Loader, Secure Image Protection, Hotlink Protection. 87 88 SmartFrame plugin is compatible with the following free WordPress themes: Fukusawa by Anders Norén, Photograph by Theme Freesia, Photos by Automattic. It is also compatible with the following WordPress page builders: MotoPress Content Editor Lite, Page Builder by SiteOrigin. 89 89 90 90 Please note that the WordPress image masking feature is not supported on SmartFrame. This means that when you select the “Circle Mask” option for one or more images in WordPress, then they will be presented in the default square or rectangular format. … … 106 106 = Is the SmartFrame plugin really free? = 107 107 108 Yes, the plugin itself is completely free to use, regardless of the SmartFrame plan selected. The most basic SmartFrame plan is the Free plan, which includes 2GB storage space for your images. Should you want to increase this and/or remove SmartFrame branding from your images, you’ll need to upgrade to a paid-for SmartFrame Pro plan. [You can read more about SmartFrame pricing here](https://smartframe.io/pricing?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Pricing).108 Yes, the plugin itself is completely free to use, regardless of the SmartFrame plan selected. The most basic SmartFrame plan is the Personal plan, which includes 500MB storage space for your images. Should you want to increase this and/or remove SmartFrame branding from your images, you’ll need to upgrade to a paid-for SmartFrame plan. [You can read more about SmartFrame pricing here](https://smartframe.io/pricing?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Pricing). 109 109 110 110 = Which image formats does SmartFrame support? = … … 142 142 Yes. When using the SmartFrame plugin you can opt to use it for all images that you upload, or decide to use it for a particular image by excluding the CSS class in the SmartFrame Settings page. 143 143 144 You can also decide which SmartFrame features are available on a particular image by using SmartFrame’s Themes. As a WordPress plugin user, you can select one of three existing themes, but if you sign up for a SmartFrame account and decide to use the [SmartFrame Admin panel](https://panel.smartframe.io/login?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=SmartFrame%20Panel) you will be able to create your own bespoke Themes.144 You can also decide which SmartFrame features are available on a particular image by using SmartFrame’s Themes. As a WordPress plugin user, you can select one of three existing themes, but if you sign up for a SmartFrame account and decide to use the [SmartFrame Admin panel](https://panel.smartframe.io/login?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=SmartFrame%20Panel) you will be able to create your own bespoke Themes. 145 145 146 146 = Will SmartFrame have a negative impact on my SEO? = … … 150 150 = Does the plugin work on all major browsers? = 151 151 152 SmartFrame is fully compatible with Chrome, Safari, Firefox and Microsoft Edge browsers. [You can find more information here](https://smartframe.io/support/supported-browsers?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Supported%20Browsers).152 SmartFrame is fully compatible with Chrome, Safari, Firefox and Microsoft Edge browsers. [You can find more information here](https://smartframe.io/support/supported-browsers?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Supported%20Browsers). 153 153 154 154 = How can I remove the "SmartFrame" label from my images? = … … 168 168 == Changelog == 169 169 170 = 2.4 = 171 * Removed the possibility to register a SmartFrame account via WordPress plugin 172 173 = 2.3 = 174 * SmartFrame plugin is now compatible with WordPress 5.5 175 170 176 = 2.2 = 177 * SmartFrame plugin is now compatible with WordPress 5.4 178 * Added a warning alert in case the user leaves the page during the registration process 179 * Improved image sizing with upscaling allowed 180 * Improved security and stability 181 * Bug fixes 182 183 = 2.1 = 184 * SmartFrame plugin is now compatible with WordPress 5.3 171 185 * Improved the way to select images to be converted to SmartFrame 172 186 * Improved security and stability -
smartframe/tags/2.4/smartframe.php
r2700524 r2700536 35 35 * Plugin URI: https://smartframe.io/wordpress?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20plugins%20page&utm_content=Visit%20plugin%20site 36 36 * Description: Secure images with watermark, disable right click, enable zoom or fullscreen. Compress images without losing quality. 37 * Version: 2. 3.137 * Version: 2.4.0 38 38 * Author: SmartFrame Technologies Ltd 39 39 * Author URI: https://smartframe.io/?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20plugins%20page&utm_content=Visit%20author%20site -
smartframe/tags/2.4/vendor/composer/installed.php
r2700524 r2700536 6 6 'install_path' => __DIR__ . '/../../', 7 7 'aliases' => array(), 8 'reference' => ' 3720982a71801637ce2852fa9704669b3540727f',8 'reference' => '27817b58b8089ba50ebb0ffcb86f7671d8418033', 9 9 'name' => '__root__', 10 10 'dev' => true, … … 17 17 'install_path' => __DIR__ . '/../../', 18 18 'aliases' => array(), 19 'reference' => ' 3720982a71801637ce2852fa9704669b3540727f',19 'reference' => '27817b58b8089ba50ebb0ffcb86f7671d8418033', 20 20 'dev_requirement' => false, 21 21 ), -
smartframe/tags/2.4/vendor/smartframe/smartlib/src/App/SmartFramePlugin.php
r2700524 r2700536 19 19 public static $PLUGIN_NAME = 'sfm-smartframe'; 20 20 public static $PLUGIN_OPTION_PREFIX = 'sfm_smartframe'; 21 public static $VERSION = '2. 3.1';21 public static $VERSION = '2.4.0'; 22 22 23 23 private $adminSection; -
smartframe/tags/2.4/vendor/smartframe/smartlib/src/App/config.plugin.php
r2700524 r2700536 7 7 8 8 //CSS AND JS Versioning 9 $config->addConfig('scripts-version', '2. 3.1');9 $config->addConfig('scripts-version', '2.4.0'); 10 10 11 11 ////////Local 12 $config->addConfig('DEBUG', true);13 $config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data');14 $config->addConfig('panel.endpoint', 'http://panel.sfapi.lo:4200');15 $config->addConfig('dapi.endpoint', 'http://dapi.sfapi.lo');16 $config->addConfig(SMARTFRAME_API_ENDPOINT, 'http://api2.sfapi.lo/v1');17 $config->addConfig('static_cdn_sfm_url', 'http://static-cdn-docker.lo/sfm');18 $config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan');19 $config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate');20 $config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');21 $config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v1.5.3%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');22 $config->addConfig('api.statistics.endpoint', 'http://statistics.sfapi.lo');12 //$config->addConfig('DEBUG', true); 13 //$config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data'); 14 //$config->addConfig('panel.endpoint', 'http://panel.sfapi.lo:4200'); 15 //$config->addConfig('dapi.endpoint', 'http://dapi.sfapi.lo'); 16 //$config->addConfig(SMARTFRAME_API_ENDPOINT, 'http://api2.sfapi.lo/v1'); 17 //$config->addConfig('static_cdn_sfm_url', 'http://static-cdn-docker.lo/sfm'); 18 //$config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan'); 19 //$config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate'); 20 //$config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button'); 21 //$config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v1.5.3%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button'); 22 //$config->addConfig('api.statistics.endpoint', 'http://statistics.sfapi.lo'); 23 23 24 24 //////Preview … … 62 62 63 63 //Cloud 64 //$config->addConfig('DEBUG', false);65 //$config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data');66 //$config->addConfig('panel.endpoint', 'https://panel.smartframe.io');67 //$config->addConfig('dapi.endpoint', 'https://dapi.smartframe.io');68 //$config->addConfig(SMARTFRAME_API_ENDPOINT, 'https://api2.smartframe.io/v1');69 //$config->addConfig('static_cdn_sfm_url', 'https://static.smartframe.io/sfm');70 //$config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source='.$_SERVER['HTTP_HOST'].'&utm_content=Upgrade%20Plan');71 //$config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate');72 //$config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');73 //$config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Skip%20registration%20button');74 //$config->addConfig('api.statistics.endpoint', 'https://statistics.smartframe.io'); //check this url after deploy changes to cloud64 $config->addConfig('DEBUG', false); 65 $config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data'); 66 $config->addConfig('panel.endpoint', 'https://panel.smartframe.io'); 67 $config->addConfig('dapi.endpoint', 'https://dapi.smartframe.io'); 68 $config->addConfig(SMARTFRAME_API_ENDPOINT, 'https://api2.smartframe.io/v1'); 69 $config->addConfig('static_cdn_sfm_url', 'https://static.smartframe.io/sfm'); 70 $config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source='.$_SERVER['HTTP_HOST'].'&utm_content=Upgrade%20Plan'); 71 $config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate'); 72 $config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button'); 73 $config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Skip%20registration%20button'); 74 $config->addConfig('api.statistics.endpoint', 'https://statistics.smartframe.io'); //check this url after deploy changes to cloud -
smartframe/trunk/admin/partials/css/admin.css
r2595163 r2700536 882 882 883 883 /* Settings */ 884 div.smartframe-status { 885 box-sizing: border-box; 886 width: 500px; 887 overflow: hidden; 888 display: block; 889 float: left; 890 891 } 884 /*div.smartframe-status {*/ 885 /* box-sizing: border-box;*/ 886 /* width: 500px;*/ 887 /* overflow: hidden;*/ 888 /* display: block;*/ 889 /* float: left;*/ 890 891 /*}*/ 892 892 893 893 div.smartframe-status:after { … … 1014 1014 } 1015 1015 1016 div.smartframe-status.wide { 1017 width: 750px; 1018 } 1016 /*div.smartframe-status.wide {*/ 1017 /* width: auto;*/ 1018 /*}*/ 1019 1019 1020 1020 div.smartframe-status div.failure input { … … 1027 1027 1028 1028 div.smartframe-status div.update { 1029 width: 380px;1030 padding: 22px 28px;1029 /*width: 380px;*/ 1030 /*padding: 22px 28px;*/ 1031 1031 background-color: white; 1032 margin-bottom: -99999px;1032 /*margin-bottom: -99999px;*/ 1033 1033 } 1034 1034 … … 1063 1063 } 1064 1064 1065 div.smartframe-status.wide div.create { 1066 box-sizing: border-box; 1067 background-color: white; 1068 float: left; 1069 width: 50%; 1070 padding: 45px 45px 45px 45px; 1071 border-right: 1px solid #e5e5e5; 1072 1073 } 1065 /*div.smartframe-status.wide div.create {*/ 1066 /* box-sizing: border-box;*/ 1067 /* background-color: white;*/ 1068 /* float: left;*/ 1069 /* width: 50%;*/ 1070 /* padding: 45px 45px 45px 45px;*/ 1071 /* border-right: 1px solid #e5e5e5;*/ 1072 1073 /*}*/ 1074 1074 1075 1075 div.smartframe-status.wide div.update { 1076 1076 box-sizing: border-box; 1077 1077 float: left; 1078 width: 50%;1079 padding: 40px 45px 99999px 40px;1078 /*width: 50%;*/ 1079 padding: 40px 45px 45px 40px; 1080 1080 1081 1081 -
smartframe/trunk/admin/partials/inputs/apiKey.php
r2700521 r2700536 11 11 /** @var boolean $keyOk */ 12 12 ?> 13 <div class="smartframe-status wide border" style="display: none;">14 <div style="display: none;" class="update ">13 <div class="smartframe-status wide" style="display: none;"> 14 <div style="display: none;" class="update border"> 15 15 <h4>Already have a SmartFrame account?</h4> 16 16 <p class="introduction"> Log in using your access code – you can find it in … … 19 19 settings > Integration</a> 20 20 </p> 21 22 23 21 <form action="options.php" method="post" id="smartframe--proporties-page"> 24 22 <?php … … 29 27 placeholder="Your access code" 30 28 id="<?php echo $id ?>" 31 value="<?php //echo $apiKey ?>"> 32 33 <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary"> 34 LOG IN 35 </button> 36 29 value="<?php //echo $apiKey ?>" 30 > 31 <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary">LOG IN</button> 37 32 </form> 38 39 40 33 <form action="options.php" style="display: none;" method="post" id="smartframe--proporties-page-first-register"> 41 34 <?php … … 46 39 placeholder="Your access code" 47 40 id="smartframe-without-valid-code" 48 value="<?php //echo $apiKey ?>"> 49 50 <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary"> 51 LOG IN 52 </button> 53 41 value="<?php //echo $apiKey ?>" 42 > 43 <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary">LOG IN</button> 54 44 </form> 55 45 </div> -
smartframe/trunk/readme.txt
r2700521 r2700536 3 3 Tags: image, images, right click, watermark, watermark image, watermark images, add watermark, zoom, compress, picture, photo, photos, watermarking, compress image, compress images, optimize image, optimise image, optimize images, optimise images, image optimization, image optimisation, image protection, no right click, stealing, image fullscreen, images fullscreen, images full-screen, image full-screen, magnification, magnifier, panorama, responsive, responsive image, responsive images, resize, optimise, optimisation, lazy load, WebP, photography, optimizer, optimiser, shrink, shrinker, improve, jpeg, jpg, minify, faster, PageRank, responsive effects, hover effect, smartframe, smart frame, smart-frame, compress jpeg, compress jpg, compress jpeg images, compress jpg image, resize images, resize image, protect images, protect image, screenshot blocker, screenshot disabler, screenshot block, right click disabler, protect content, anti theft content, disable copy, disable images selection, prevent right click, prevent screenshot, prevent copy, prevent content theft, download blocker, add share button, stop saving images with right click, brand protection, image theft, images theft, anti theft, lazyload images, lazyload image, prevent bandwitdh theft, prevent hotlinking, disable hotlink, hotlink protection, compress media library 4 4 Requires at least: 4.1 5 Stable tag: 2. 3.16 Tested up to: 5. 8.35 Stable tag: 2.4.0 6 Tested up to: 5.9.2 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later … … 22 22 ### Examples ### 23 23 24 * **[Right click blocker and screenshot protection](https://smartframe.io/demo/right-click-screenshot-protection?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Right%20Click%20Blocker)**25 * **[Customizable watermark](https://smartframe.io/demo/customizable-watermark?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Customizable%20Watermark)**26 * **[Hyper zoom](https://smartframe.io/demo/deep-zoom?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Image%20Zoom)**27 * **[Full-screen button](https://smartframe.io/demo/fullscreen-mode?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Full%20Screen%20Button)**28 * **[Button on image](https://smartframe.io/demo/customizable-share-call-action-buttons?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Button%20On%20Image)**29 * **[Custom caption over images](https://smartframe.io/demo/customizable-styles-caption?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Custom%20Caption%20Over%20Image)**24 * **[Right click blocker and screenshot protection](https://smartframe.io/demo/right-click-screenshot-protection?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Right%20Click%20Blocker)** 25 * **[Customizable watermark](https://smartframe.io/demo/customizable-watermark?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Customizable%20Watermark)** 26 * **[Hyper zoom](https://smartframe.io/demo/deep-zoom?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Image%20Zoom)** 27 * **[Full-screen button](https://smartframe.io/demo/fullscreen-mode?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Full%20Screen%20Button)** 28 * **[Button on image](https://smartframe.io/demo/customizable-share-call-action-buttons?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Button%20On%20Image)** 29 * **[Custom caption over images](https://smartframe.io/demo/customizable-styles-caption?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Custom%20Caption%20Over%20Image)** 30 30 31 31 https://vimeo.com/314034061 … … 36 36 With the SmartFrame WordPress Image Security and Compression Plugin, you don't need to choose between image quality and page speed. SmartFrame uses a proprietary algorithm to compress JPG images and maintain page load speeds. Whenever a page with embedded SmartFrames is loaded, it reduce images size and renders your image in the highest needed resolution, based on the device used (retina images). This means that images displayed on the average smartphone or tablet, for example, will be rendered at a lower resolution than on a Retina display. 37 37 38 SmartFrame will never upscale your images, so you should make sure that the images you initially upload to the SmartFrame Cloud are in a high enough resolution to look good across all devices. The size and resolution of the original image will not affect the page loading speed, although low-resolution images aren’t ideal for display on high-resolution displays, and these may alsolimit the performance of the Hyper Zoom feature.38 Unless you choose a display option in WordPress that exceeds the dimensions of the original image, SmartFrame will never upscale your images. For this reason, you should make sure that the original images you upload are in a high enough quality to look good on modern displays (at least 2000px wide for photos). The size of the original image will not affect the page loading speed, but if the image is too small it may not look good on large displays, and may limit the performance of the Hyper Zoom feature. 39 39 40 40 ### SECURITY AND COPYRIGHT PROTECTION ### … … 77 77 The SmartFrame plugin uses a fast and reliable cloud service to process, encrypt and reduce image size. This allows images to be encrypted and displayed quickly and securely in any geographical location. The cloud, which is a custom implementation of an Amazon Web Services platform, features autoscaling, load balancing, frequent backups, 24/7 monitoring and 99.9% availability, and is used by many large international companies. 78 78 79 To store images in the cloud, users simply need to register for a SmartFrame account, which is free of charge for up to 2GB of images. This can be upgraded to Pro or Enterprise plans for more demanding users. Registration also gives you access to the SmartFrame Admin Panel, which offers many additional tools. [Read more about the features here](https://smartframe.io/?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Features).79 To store images in the cloud, just register for a SmartFrame account, which is free of charge for up to 500MB of images. Should you require more storage space and additional functionality, you are free to upgrade your plan to either our Standard or Professional package at any time. Registration also gives you access to the SmartFrame Admin Panel, which offers many additional tools. [Read more about the features here](https://smartframe.io/?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Features). 80 80 81 81 … … 84 84 SmartFrame plugin allows you to convert any JPEG image in your pages and posts into SmartFrame format. Full support for background images, featured images, galleries and multiple image formats is coming soon. The plugin has been tested with most popular WordPress themes but due to the huge variety of WordPress themes and layouts we cannot guarantee that it will work with every theme, especially completely custom ones. Current unsupported themes: Newspaperist, Boggist, Mesmerize, Flatsome. 85 85 86 SmartFrame plugin has been also tested with Compress JPEG & PNG images, No Right Click Images Plugin, Secure Copy Content Protection, RCD-Right Click Disabler, Jetpack, Prevent Content Theft [Disable Right Click], EWWW Image Optimizer, Optimus – WordPress Image Optimizer, CheetahO Image Compression and Optimizer, ShortPixel Image Optimizer, Image optimization service by Optimole, Robin image optimizer, Kraken Image Optimizer, Image Watermark, Easy Watermark, reSmush.it Image Optimizer, Disable Right Click For WP, No Right Click Images Plugin, WP Content Copy Protection & No Right Click, Content Copy Protection with Color Design, WPForms, MonsterInsights, Yoast SEO, Akismet, WP Fastest Cache, WP Super Cache, LiteSpeed Cache, W3 Total Cache, Google XML Sitemaps, Page Builder by SiteOrigin, WooCommerce, Elementor Page Builder, Avada theme, BeTheme theme, The7 theme, Enfold theme, X The theme, Astra theme, Write theme, Generate Press theme, Neve theme, Reykjavik theme, Cali theme, Didi Lite theme, OceanWP theme.87 88 SmartFrame plugin doesn't guarantee full compatibility with Lazy Load by WP Rocket plugin, Smush Image Compression and Optimisation, Beaver Builder, WP Image Zoom, Instapage, WordPress Gallery Plugin – NextGEN Gallery, Slider Revolution builder, Divi builder, Modula Image Gallery, Gallery Plugin for WordPress - Envira Photo Gallery, Photo Gallery by 10Web – Mobile-Friendly Image Gallery, FooGallery – Image Gallery WordPress Plugin, Image Gallery by Robo – Responsive Photo Gallery, WPBakery Page Builder, Lazy Loader, Easy Lazy Loader, Lazy Load Optimizer, lazysizes, A performant lazy loader (defer.js), Smart Image Loader, Secure Image Protection, Hotlink Protection.86 SmartFrame plugin doesn't guarantee full compatibility with Compress JPEG & PNG images, No Right Click Images Plugin, Secure Copy Content Protection, RCD-Right Click Disabler, Jetpack, Prevent Content Theft [Disable Right Click], EWWW Image Optimizer, Optimus – WordPress Image Optimizer, CheetahO Image Compression and Optimizer, ShortPixel Image Optimizer, Image optimization service by Optimole, Robin image optimizer, Kraken Image Optimizer, Image Watermark, Easy Watermark, reSmush.it Image Optimizer, Disable Right Click For WP, No Right Click Images Plugin, WP Content Copy Protection & No Right Click, Content Copy Protection with Color Design, WPForms, MonsterInsights, Yoast SEO, Akismet, WP Fastest Cache, WP Super Cache, LiteSpeed Cache, W3 Total Cache, Google XML Sitemaps, Page Builder by SiteOrigin, WooCommerce, Elementor Page Builder, Avada theme, BeTheme theme, The7 theme, Enfold theme, X The theme, Astra theme, Write theme, Generate Press theme, Neve theme, Reykjavik theme, Cali theme, Didi Lite theme, OceanWP theme, Lazy Load by WP Rocket plugin, Smush Image Compression and Optimisation, Beaver Builder, WP Image Zoom, Instapage, WordPress Gallery Plugin – NextGEN Gallery, Slider Revolution builder, Divi builder, Modula Image Gallery, Gallery Plugin for WordPress - Envira Photo Gallery, Photo Gallery by 10Web – Mobile-Friendly Image Gallery, FooGallery – Image Gallery WordPress Plugin, Image Gallery by Robo – Responsive Photo Gallery, WPBakery Page Builder, Lazy Loader, Easy Lazy Loader, Lazy Load Optimizer, lazysizes, A performant lazy loader (defer.js), Smart Image Loader, Secure Image Protection, Hotlink Protection. 87 88 SmartFrame plugin is compatible with the following free WordPress themes: Fukusawa by Anders Norén, Photograph by Theme Freesia, Photos by Automattic. It is also compatible with the following WordPress page builders: MotoPress Content Editor Lite, Page Builder by SiteOrigin. 89 89 90 90 Please note that the WordPress image masking feature is not supported on SmartFrame. This means that when you select the “Circle Mask” option for one or more images in WordPress, then they will be presented in the default square or rectangular format. … … 106 106 = Is the SmartFrame plugin really free? = 107 107 108 Yes, the plugin itself is completely free to use, regardless of the SmartFrame plan selected. The most basic SmartFrame plan is the Free plan, which includes 2GB storage space for your images. Should you want to increase this and/or remove SmartFrame branding from your images, you’ll need to upgrade to a paid-for SmartFrame Pro plan. [You can read more about SmartFrame pricing here](https://smartframe.io/pricing?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Pricing).108 Yes, the plugin itself is completely free to use, regardless of the SmartFrame plan selected. The most basic SmartFrame plan is the Personal plan, which includes 500MB storage space for your images. Should you want to increase this and/or remove SmartFrame branding from your images, you’ll need to upgrade to a paid-for SmartFrame plan. [You can read more about SmartFrame pricing here](https://smartframe.io/pricing?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Pricing). 109 109 110 110 = Which image formats does SmartFrame support? = … … 142 142 Yes. When using the SmartFrame plugin you can opt to use it for all images that you upload, or decide to use it for a particular image by excluding the CSS class in the SmartFrame Settings page. 143 143 144 You can also decide which SmartFrame features are available on a particular image by using SmartFrame’s Themes. As a WordPress plugin user, you can select one of three existing themes, but if you sign up for a SmartFrame account and decide to use the [SmartFrame Admin panel](https://panel.smartframe.io/login?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=SmartFrame%20Panel) you will be able to create your own bespoke Themes.144 You can also decide which SmartFrame features are available on a particular image by using SmartFrame’s Themes. As a WordPress plugin user, you can select one of three existing themes, but if you sign up for a SmartFrame account and decide to use the [SmartFrame Admin panel](https://panel.smartframe.io/login?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=SmartFrame%20Panel) you will be able to create your own bespoke Themes. 145 145 146 146 = Will SmartFrame have a negative impact on my SEO? = … … 150 150 = Does the plugin work on all major browsers? = 151 151 152 SmartFrame is fully compatible with Chrome, Safari, Firefox and Microsoft Edge browsers. [You can find more information here](https://smartframe.io/support/supported-browsers?utm_campaign=WordPress%20Plugin%20v2. 2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Supported%20Browsers).152 SmartFrame is fully compatible with Chrome, Safari, Firefox and Microsoft Edge browsers. [You can find more information here](https://smartframe.io/support/supported-browsers?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Supported%20Browsers). 153 153 154 154 = How can I remove the "SmartFrame" label from my images? = … … 168 168 == Changelog == 169 169 170 = 2.4 = 171 * Removed the possibility to register a SmartFrame account via WordPress plugin 172 173 = 2.3 = 174 * SmartFrame plugin is now compatible with WordPress 5.5 175 170 176 = 2.2 = 177 * SmartFrame plugin is now compatible with WordPress 5.4 178 * Added a warning alert in case the user leaves the page during the registration process 179 * Improved image sizing with upscaling allowed 180 * Improved security and stability 181 * Bug fixes 182 183 = 2.1 = 184 * SmartFrame plugin is now compatible with WordPress 5.3 171 185 * Improved the way to select images to be converted to SmartFrame 172 186 * Improved security and stability -
smartframe/trunk/smartframe.php
r2700521 r2700536 35 35 * Plugin URI: https://smartframe.io/wordpress?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20plugins%20page&utm_content=Visit%20plugin%20site 36 36 * Description: Secure images with watermark, disable right click, enable zoom or fullscreen. Compress images without losing quality. 37 * Version: 2. 3.137 * Version: 2.4.0 38 38 * Author: SmartFrame Technologies Ltd 39 39 * Author URI: https://smartframe.io/?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20plugins%20page&utm_content=Visit%20author%20site -
smartframe/trunk/vendor/smartframe/smartlib/src/App/SmartFramePlugin.php
r2700521 r2700536 19 19 public static $PLUGIN_NAME = 'sfm-smartframe'; 20 20 public static $PLUGIN_OPTION_PREFIX = 'sfm_smartframe'; 21 public static $VERSION = '2. 3.1';21 public static $VERSION = '2.4.0'; 22 22 23 23 private $adminSection; -
smartframe/trunk/vendor/smartframe/smartlib/src/App/config.plugin.php
r2700521 r2700536 7 7 8 8 //CSS AND JS Versioning 9 $config->addConfig('scripts-version', '2. 3.1');9 $config->addConfig('scripts-version', '2.4.0'); 10 10 11 11 ////////Local 12 $config->addConfig('DEBUG', true);13 $config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data');14 $config->addConfig('panel.endpoint', 'http://panel.sfapi.lo:4200');15 $config->addConfig('dapi.endpoint', 'http://dapi.sfapi.lo');16 $config->addConfig(SMARTFRAME_API_ENDPOINT, 'http://api2.sfapi.lo/v1');17 $config->addConfig('static_cdn_sfm_url', 'http://static-cdn-docker.lo/sfm');18 $config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan');19 $config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate');20 $config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');21 $config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v1.5.3%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');22 $config->addConfig('api.statistics.endpoint', 'http://statistics.sfapi.lo');12 //$config->addConfig('DEBUG', true); 13 //$config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data'); 14 //$config->addConfig('panel.endpoint', 'http://panel.sfapi.lo:4200'); 15 //$config->addConfig('dapi.endpoint', 'http://dapi.sfapi.lo'); 16 //$config->addConfig(SMARTFRAME_API_ENDPOINT, 'http://api2.sfapi.lo/v1'); 17 //$config->addConfig('static_cdn_sfm_url', 'http://static-cdn-docker.lo/sfm'); 18 //$config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan'); 19 //$config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate'); 20 //$config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button'); 21 //$config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v1.5.3%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button'); 22 //$config->addConfig('api.statistics.endpoint', 'http://statistics.sfapi.lo'); 23 23 24 24 //////Preview … … 62 62 63 63 //Cloud 64 //$config->addConfig('DEBUG', false);65 //$config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data');66 //$config->addConfig('panel.endpoint', 'https://panel.smartframe.io');67 //$config->addConfig('dapi.endpoint', 'https://dapi.smartframe.io');68 //$config->addConfig(SMARTFRAME_API_ENDPOINT, 'https://api2.smartframe.io/v1');69 //$config->addConfig('static_cdn_sfm_url', 'https://static.smartframe.io/sfm');70 //$config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source='.$_SERVER['HTTP_HOST'].'&utm_content=Upgrade%20Plan');71 //$config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate');72 //$config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');73 //$config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Skip%20registration%20button');74 //$config->addConfig('api.statistics.endpoint', 'https://statistics.smartframe.io'); //check this url after deploy changes to cloud64 $config->addConfig('DEBUG', false); 65 $config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data'); 66 $config->addConfig('panel.endpoint', 'https://panel.smartframe.io'); 67 $config->addConfig('dapi.endpoint', 'https://dapi.smartframe.io'); 68 $config->addConfig(SMARTFRAME_API_ENDPOINT, 'https://api2.smartframe.io/v1'); 69 $config->addConfig('static_cdn_sfm_url', 'https://static.smartframe.io/sfm'); 70 $config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source='.$_SERVER['HTTP_HOST'].'&utm_content=Upgrade%20Plan'); 71 $config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate'); 72 $config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button'); 73 $config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Skip%20registration%20button'); 74 $config->addConfig('api.statistics.endpoint', 'https://statistics.smartframe.io'); //check this url after deploy changes to cloud
Note: See TracChangeset
for help on using the changeset viewer.