After WP 5.3 update/PHP 7 update, getting this error message:
Warning: preg_match(): Compilation failed: invalid range in character class at offset 153 in /wp-content/plugins/auto-featured-image/auto-featured-image.php on line 111
It would actually be great if this auto-featured-image were a part of WordPress core code, so that whenever you upload one image you could have that just be the featured image by default.
]]>Please update this plugin to be compatible with 4.0
]]>Hi,
I am using the plugin for many of my websites and in general it works well. I just needed to switch the WP_DEBUG flag on in some of my sites and could see some Notice messages appearing on the screen.
These notices appears sometimes when adding a new post and in the dashboard.
]]>Hi,
I just noticed that this plugin stopped working with the last major release of WordPress (at the time of writing, it is version 3.6).
This plugin works nice with version 3.5.2 of WordPress (i’ve used it a few times to migrate content into WordPress in different projects).
The plugin runs seemingly without an error, but in the end no image is assigned as featured image.
I’ll try to fix it, but in the meantime a good workaround if you need to migrate content into wordpress is to migrate into a 3.5.x version of WordPress, and once you have the content imported, go through the 3.6 upgrade, which is smooth as usual.
]]>Hello,
This is a great plugin. Although it’s not automatically creating a featured image when people post. Each time I have to go into the back-end and generate the images. Is there a way to automate that so it does it every time there is a post?
Many thanks.
Rob
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>When starting a new post in WordPress 3.5, a Notice is generated at line 105 of auto-featured-image.php
.
To fix it, insert this code right before it:
if( ! $matches )
return null;
Cheers.
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>The plugin need update!
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>Hi,
how can I alter thumb sizes? I need bigger ones from the videos.
Thanks in advance.
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>Im mostly interested in this tool’s ability to work with Jetpack’s ’email to post’ feature. Jetpack takes the email attachment and makes it an inline image in a post. This plugin then converts that image into the Featured Image for the post.
Everything works as hoped EXCEPT I also get a completely giant version of my image at the end of my post (the original image is only 600px wide but the add-on image is 1024 wide)
In SETTINGS–>MEDIA I’ve changed the max sizes to be 600.
This is being used with the RT-Theme 15 theme.
Any ideas?
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>For some reason this plugin worked for me in a trial, but when I tried it a second time, all it produced were blank images.
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>I now get the following error message when trying to manually generate the thumbnails.
“Currently there are no published posts available to generate thumbnails.”
Also – it’s not automatically creating the featured image on save any more either.
Looks to be Donald Ducked.
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>For the 385 of 1500 posts that it acted on, it grabbed some random image from media library and made it the featured image. For all of the rest it did nothing at all
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>Doesn’t generate when the image name has a space in it. Must be continuous characters.
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>Ran on site with over 7000 posts – claims to have created Featured Images for 300 and stopped.
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>Please update your lovely plugin.
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>Youtube Thumbnails are no longer showing up on my home page after 3.4 wp upgrade. Is anybody else having the same problem?
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>The plugin works great except when using Vimeo.
Is anyone else having this problem? Any help would greatly appreciated.
Cheers ??
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>Hello,…
The plugin work perfectly for the new post you publish from your wordpress admin but when you use a 3rd app to publish your post with the XML-RPC protocol, the featured image isn’t created…
any solution to solve this problem ?
Thank you for your help
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>plugin broken
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>Unfortunately, it��s only interested in processing 22 posts for me which is a LONG shot from being all of them. It runs without error and says its done but 22 is absolutely not done. WP 3.3.1, Thesis 1.7.2 Continues to only process 22 when the site is put in maintenance mode and all other plugins than it are downed.
Kim
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>When I activate this plugin it gives me a blank page when i try to add a new page
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>Would be good to be able to search custom fields for URLs as well with this plugin (it currently only searches the main content)
I changed the line
$image_url = self::found_image_url($post->post_content);
to
$image_url = self::found_image_url(get_post_meta($post->ID, 'youtube_link',true));
if( $image_url == null ) $image_url = self::found_image_url($post->post_content);
Which worked well for me. I’m sure there’s a neater way for this to be done by iterating through an array of the meta, but this was my quick-fix.
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>I get the following error when activating the plugin.
Parse error: syntax error, unexpected ‘}’ in <myprojdir>\wp-content\plugins\auto-featured-image\auto-featured-image.php on line 353
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>I have been using this for a while, and it worked fine. Until I upgraded to WP 3.2.1, and started doing development locally.
I have spend a couple hours trying to figure out why this is not working, and here is the reason:
If the links in the post do not have the full url (ie: https://..) in the front, then the plugin does all the processing, but does not validate the url, so it does not insert it. This is why it says “processing…”, but no image insert.
So here is the fix:
at about line 77, you will see:
$image_url = self::found_image_url($post->post_content);
// if no url found, do nothing
if( $image_url == null ) return;
Change this so it looks like:
$image_url = self::found_image_url($post->post_content);
// Add condition where WordPress blog is in a subdirectory or in localhost, and image in post does not have full link
// get_bloginfo('wpurl') gets site homepage with subdirectory (if there is one)
if ((strpos($image_url, "https://") == false) && (strpos($image_url, "https://") == false))
$image_url = get_bloginfo('wpurl') . "/" . $image_url;
// if no url found, do nothing
if( $image_url == null ) return;
This will also fix the localhost problem.
]]>I have this plugin working well on a local build, when i move it onto a dev server, it stops working, this is screaming of a permission issue, i have looked at my upload directory, and its set to 777, anybody else having this problem and found a fix?
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>This plugin is working great for what I need, however, if an image that was uploaded using this plugin is deleted using the media library, it will leave the original file on the server. All other versions of the file will be deleted.
I tried the original plugin that this was forked off of, and it does the same thing, so I guess that is where the real issue is. Any way of fixing this?
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>all it does is create small version of my image files but nothing posted as featured images. only a few posts work out of 100s.
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>AFI 1.2 has a line that can cause a fatal error if the php.ini does not allow short script tags i.e. <? /* code */ ?>
One line 350, swap <? endif; ?>
for <?php endif; ?>
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>I install the plugin but not work, and this error appear before the first post thumbnail, and now i can put any fetured images in the theme.
anyway to fix? thanks.
Catchable fatal error: Object of class WP_Error could not be converted to string in /home5/casadep2/public_html/wp-content/themes/parallelus-mingle3/framework/utilities/media-functions.php on line 152
Warning: missing endblock() for startblock(‘middle’) in /home5/casadep2/public_html/wp-content/themes/parallelus-mingle3/framework/theme-functions/layout-and-design.php on line 137
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>Added this code near the top of create_post_attachment_from_url
attempts to find the image in the media library.
The cache-images
plugin makes includes sized-down images in your posts. This triggered auto-featured-image
to make extra thumbnails in the Media Library. This resolves that issue.
Thanks again for the plug-in, very helpful.
[Code moderated as per the Forum Rules. Please use the pastebin]
https://www.ads-software.com/extend/plugins/auto-featured-image/
]]>