Changeset 703526
- Timestamp:
- 04/25/2013 03:30:56 PM (13 years ago)
- Location:
- uploadcare
- Files:
-
- 3 added
- 1 deleted
- 4 edited
-
assets/banner-772×250.png (added)
-
assets/screenshot-1.jpg (added)
-
assets/screenshot-1.png (deleted)
-
assets/screenshot-2.jpg (modified) (previous)
-
assets/screenshot-3.jpg (modified) (previous)
-
assets/screenshot-4.jpg (added)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/uploadcare.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uploadcare/trunk/readme.txt
r702746 r703526 1 === Plugin Name ===1 === Uploadcare: Add media from anywhere === 2 2 Contributors: grayhound1 3 Tags: media upload, file handling 3 Tags: media upload, file handling, cdn, storage, facebook, dropbox, instagram, google drive 4 4 Requires at least: 3.5+ 5 5 Tested up to: 3.5 6 Stable tag: 2.0. 16 Stable tag: 2.0.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 10 Uploadcare provides media uploading, processing and CDN for your blog.10 Uploadcare: Add media from anywhere. 11 11 12 12 == Description == 13 13 14 14 Uploadcare provides media uploading, processing and CDN for your blog. 15 You can upload even very large images and crop them. 15 16 16 You can upload even very large images and crop and resize them. 17 ### Feautures ### 18 * Upload images of any resolution 19 * Crop images 20 * Upload documents and archives 21 * Choose images from Facebook, Instagram or Flickr 22 * Choose files from Dropbox or Google Drive 23 * Deliver your media through CDN, it's up to 5x times faster 17 24 18 And the best thing of all: with Uploadcare you can select files directly from Facebook, Instagram and Flickr, not only from your computer. 25 ### Languages ### 26 * English 27 * Latvian 28 * Polish 29 * Portuguese 30 * Russian 31 * Spanish 19 32 20 Check [Uploadcare.com](https://uploadcare.com/) for more information. 33 ### More information ### 34 Check [Uploadcare.com](https://uploadcare.com/) to learn more. 35 Send us your feedback, <feedback@uploadcare.com> 21 36 22 37 == Installation == 23 38 24 1. Download the latest release. The zip file contains the Wordpress plugin itself and all its dependencies. 39 ### Fastest way ### 25 40 26 2. Unzip file to your wp-content/plugins folder. 41 1. In plugin manager, click "Add New" 42 1. Search for "uploadcare" 43 1. Click "install" 44 1. Activate the plugin once it is installed 45 1. Go to "Settings" -> "Uploadcare settings" and enter the public and secret keys for your account. 27 46 28 3. Activate plugin at "Plugins" page inside your Wordpress admin.29 30 4. Go to "Settings" -> "Uploadcare settings" and enter the public and secret keys for your account.31 47 To receive your keys, create your FREE account at [Uploadcare](https://uploadcare.com/accounts/create/plan-based/2/) 32 48 33 5. Create new post and feel yourself proud! 49 ### Manual ### 34 50 35 Send us your feedback, feedback@uploadcare.com 51 1. Download the latest release. The zip file contains the Wordpress plugin itself and all its dependencies 52 2. Unzip file to your wp-content/plugins folder 53 3. Activate the plugin once it is installed 54 4. Go to "Settings" -> "Uploadcare settings" and enter the public and secret keys for your account. 55 56 To receive your keys, create your FREE account at [Uploadcare](https://uploadcare.com/accounts/create/plan-based/2/) 57 58 ### Requirements ### 59 * Wordpress 3.5+ 60 * PHP 5.2+ 61 * php-curl 36 62 37 63 == Screenshots == 38 64 39 1. Uploadcare Widget. 65 1. "Add Media" button. 66 2. Uploading widget: Choose images from Facebook. 67 3. Uploading widget: Choose images from Google Drive. 68 4. Uploading widget: Crop image. 40 69 41 70 == Usage == 42 71 43 72 1. Begin adding a new post. 44 45 73 2. Press "Add Media" to insert media with the Uploadcare widget. 46 47 3. Upload a file using the widget. 48 49 4. Crop the file if you wish. Only the cropped area will be inserted. 50 51 5. Press "Store and Insert". The image will be inserted into your post. 74 3. Upload an image using the widget. 75 4. Crop the image if you wish. Only the cropped area will be inserted. 76 5. Press "Done". The image will be inserted into your post. 52 77 53 78 == Changelog == -
uploadcare/trunk/uploadcare.php
r702742 r703526 22 22 $img = plugins_url('uploadcare/logo.png'); 23 23 $css_hook = '<style tyle="text/css">#wp-content-media-buttons>a:first-child { display: none }</style>'; 24 $context = '< a class="button" style="padding-left: .4em;" href="javascript: uploadcareMediaButton(); "><span class="wp-media-buttons-icon" style="vertical-align: text-bottom; background: url(\''.$img.'\') no-repeat top left"></span>Add Media</a>';25 $context .= '< a href="#" class="button insert-media add_media" data-editor="content" title="Wordpress Media Library"><span class="wp-media-buttons-icon"></span>Wordpress Media Library</a>';24 $context = '<div style="float: left"><a class="button" style="padding-left: .4em;" href="javascript: uploadcareMediaButton(); "><span class="wp-media-buttons-icon" style="padding-right: 2px; vertical-align: text-bottom; background: url(\''.$img.'\') no-repeat 0px 0px;"></span>Add Media</a></div>'; 25 $context .= '<div style="float: left"><a href="#" class="button insert-media add_media" data-editor="content" title="Wordpress Media Library"><span class="wp-media-buttons-icon"></span>Wordpress Media Library</a></div>'; 26 26 $context .= $css_hook; 27 27 $script .= "
Note: See TracChangeset
for help on using the changeset viewer.