[wp-trac] [WordPress Trac] #11993: Add post thumbnail from url
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 26 23:44:58 UTC 2010
#11993: Add post thumbnail from url
-----------------------------+----------------------------------------------
Reporter: paradox460 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Post Thumbnails | Version: 2.9.1
Severity: normal | Keywords: thumbnail post
-----------------------------+----------------------------------------------
Comment(by nacin):
Replying to [comment:3 Paradox460]:
> One thing that would be actually quite useful is the ability to specify
a url, then have a "download to server" option, like MediaWiki provides.
>
> I believe they just use CURL.
We have a download_url() function that uses WP's HTTP API, which is used
to download core/theme/plugin packages and in media_sideload_image().
media_sideload_image() is the ability you're looking for, though it is
used only in Press This.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11993#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list