Giter Site home page Giter Site logo

vr51 / import-external-images-2 Goto Github PK

View Code? Open in Web Editor NEW
42.0 42.0 21.0 223 KB

Download and import remotely hosted images to the local WordPress media library

Home Page: https://journalxtra.com/wordpress/plugins/wordpress-plugin-import-external-images/

License: GNU General Public License v3.0

JavaScript 8.69% PHP 91.31%
download external images import media plugin remote wordpress wordpress-plugin

import-external-images-2's People

Contributors

bebjakub avatar craftycorvid avatar dcbradley avatar jonmabe avatar josh-gaslamp avatar krothapigroup avatar mcegielka avatar vr51 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

import-external-images-2's Issues

Plugin errors out with a very large amount of posts on a site.

I have a site with over 30,000 posts that have spanned the last 15 years. Long story short if I try and run the process all posts I get a memory error
Fatal error: Allowed memory size of 786432000 bytes exhausted (tried to allocate 32 bytes) in /home/impactlabtest/public_html/wp-includes/wp-db.php on line 1889

Since i've allocated 1gb of ram to wp itself I dont think I can allocate any more memory to help with this. Any other suggestions? Could I modify the plugin to only get the posts 1-1000 or something like that so I could just do a certain amount of images at a time?

Thanks for your help

Bulk Import not working

Hey Lee, I have been trying to bulk import multiple images on multiple blogs. Images are all on photobucket. It works perfectly individually. But the bulk option just sits there and does nothing. I don't see any errors in the log files either. No matter how long I leave it, it never imports a post unless its individually. Latest wordpress running php 7.2 and nginx. Let me know if you have any ideas.
Thanks
Dan

Looks at wrong location for images

Hi,

I am not able to import by bulk or by post.

Background - I imported my blog from Blogger to Wordpress running on Bitnami, AWS. I ran the Blogger Import Extended plugin for this, only a few photos came over, the very oldest.

When I run the plugin it lists the posts and number of photos for each but if I try import single posts nothing shows in the edit page. If I try bulk import it says unable to find photos and I see it is looking at the original temporary address of the Wordpress install before a static address was set. And yes the Blogger import plugin was run prior to the static address being set. I did not know this would cause problem.

I tried WP Sweep. Any suggestions how to resolve the conflict would be welcome.

Thanks.

Images wont import from Wordpress.com

Hello, thanks for this plug-in! I migrated a blog from wordpress.com to self-hosted (bluehost). In the "Import Images" settings page, the "View" post links are all to the old Wordpress.com site (but the Edit links are to the correct, new site). No images will import.

Images that do not specify protocol

Images that do not start with http or https do not get imported. Example: //cdn.shopify.com/s/files/1/0599/9033/articles/JAH4WW-Logo_grande.png

bbPress Support

Hi,

Would it be possible to incoroporate support for bbPress?

It would be nice to be able to grab images from 3rd party hosts and store them locally when our users submit posts (and to perform an import from our forum history).

Cheers!

wp_insert_post()

I add posts to wordpress using an external PHP script, something like this:

$new_post = array(
	'post_title' => $title,
	'post_content' => "blah blah <img src='https://example.com/image.jpg'> ";
	'post_status' => 'publish',
	'post_author' => $wp_user_id,
	'post_type' => 'post',
	'post_category' => array(),
	'tags_input' => array()
);
	$post_id = wp_insert_post($new_post, true);

But the images are not imported in the local library. The remote image is displayed in the post.

Is there a way I can use your plugin to import external images when posting from an external PHP script instead of using the WP admin dashboard to create a new post ?

Thanks

Suggestion for upload image attribute

hello, this plugin work fine, sometime cant change link the url buy image upoad in media.
I have suggestion, can u add import the alt attribute in image to alt image in media too ?

see this plugin: https://github.com/airani/wp-auto-upload
this plugin do jobs like your plugin, plugin work fine too but when edit post, he can duplicate image in media.
of course this for reference, sometime this plugin can upload image to media and change url in post, with your plugin can't do it.

Doesn't seem to do anything.

Its detecting the images in the posts, but doesn't do anything with them.

I tried viewing the page like suggested in the readme. But still the same thing. And all of the URLs are public and can be accessed.

Email?

Hi there,

I'm trying to import pics from Flickr. However, after I installed the plugin, I got this message on the plugin's page (under Media/):

Process all posts
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

Never got an email, though.

I've got lots of plugins running, could that be the issue?

No show in Gutenberg Editor

Wordpress 5.0 use Gutenberg Editor
and the option not show in Gutenberg Editor
please fix it, thanks

*import Image work fine

Images with spaces in the file name

Hi:
It seems that jpegs with spaces in their file name are not noticed by Import External Images 2 in the dialogue that appears before importing an article. I haven't looked at the code yet, but would be interested in your response.
Thanks,
Alex

Can't get image

hey, i already use wp sweep, but still cant get image to media form host
squarespace.com or thespruce.com have similar text

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.