Plugin Directory

Changeset 611206


Ignore:
Timestamp:
10/12/2012 12:04:03 AM (13 years ago)
Author:
prebhdevsingh
Message:
 
Location:
auto-save-remote-images/tags/1.1
Files:
1 deleted
5 copied

Legend:

Unmodified
Added
Removed
  • auto-save-remote-images/tags/1.1/auto-save-remote-images.php

    r611090 r611206  
    44Plugin URI: http://www.devsaab.com/wordpress/ 
    55Description: This plugin automatically downloads the first remote image from a post and sets it as the featured image.
    6 Version: 1.0
     6Version: 1.1
    77Author: Prebhdev Singh
    88Disclaimer: No warranty or guarantee of any kind!  Use this in your own risk. 
     
    3535        $get = wp_remote_get( $first_image );
    3636        $type = wp_remote_retrieve_header( $get, 'content-type' );
    37         $mirror = wp_upload_bits( basename( $first_image ), '', wp_remote_retrieve_body( $get ) );
     37        //$mirror = wp_upload_bits( basename( $first_image ), '', wp_remote_retrieve_body( $get ) );
     38        $mirror = wp_upload_bits( str_replace('%20', '', basename( $first_image )), '', wp_remote_retrieve_body( $get ) );
    3839   
    3940        //Attachment options
  • auto-save-remote-images/tags/1.1/readme.txt

    r611090 r611206  
    55Requires at least: 3.0
    66Tested up to: 3.4.2
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88
    99This plugin automatically downloads the first remote image from a post and sets it as the featured image.
  • auto-save-remote-images/tags/1.1/readme.txt.bak

    r609324 r611206  
    1 === Auto save remote image ===
     1=== Auto Save Remote Image ===
    22Contributors: Prebhdev Singh
    3 Donate link:http://www.devsaab.com/donate
     3Donate link: http://www.devsaab.com/donate
    44Tags: auto download, remote image, featured, attachment
    55Requires at least: 3.0
    6 Tested up to: 3.2.2
    7 Stable tag: 0.2
     6Tested up to: 3.4.2
     7Stable tag: 1.1
    88
    9 This plugin automatically downloads first remote image from a post
     9This plugin automatically downloads the first remote image from a post and sets it as the featured image.
    1010
    1111== Description ==
    1212
    13 The purpose of this plugin is very simple - when post is published, it will go and fetch the first remote/external image that is referenceded.  The image that is retrieved is then attached to the post as featured image.
     13The purpose of this plugin is very simple - when a post is published, it will fetch the first remote/external image that is referenced.  The image that is retrieved is then attached to the post as the featured image.  There are no settings to configure.
     14
     15Please do not use this plugin to violate copyrights.
     16
     17Sample uses –
     18You maintain multiple blogs; copy paste the post contents from one blog to the other and this plugin will automatically save the first external image to the second blog.  There is no need to re-upload images to multiple sites.
     19
     20This plugin can also retrieve and save images from sites like Flickr, Facebook, Picasa, etc.
    1421
    1522== Installation ==
    1623
    1724Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.
    18 
    19 ==Readme Generator==
    20 
    21 This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
Note: See TracChangeset for help on using the changeset viewer.