Hi there,
I have done everything as described in the video here
and added the code
// This enables the function that lets you set new image sizes
add_theme_support(
'post-thumbnails'
);
// These are the new image sizes we cooked up
add_image_size(
'post-image'
, 660 );
// Now we register the size so it appears as an option within the editor
add_filter(
'image_size_names_choose'
,
'my_custom_image_sizes'
);
function
my_custom_image_sizes(
$sizes
) {
return
array_merge
(
$sizes
,
array
(
'post-image'
=> __(
'Post Images'
),
) );
}
but all of my images still appear ad they did before. I have purged the cache many times but I am stumped.
Any help would be great.
Note: product 5558 was the one i tested before i just went all in and updated all images.
https://matthewm288.sg-host.com/saint-gerard-gifts/
Note current settings include
Settings > Media > Thumbnail size 150 x 150.
This is what I have included in the theme code too.
Also
Customize > WooCommerce > Product Images > Uncropped
I previously had this at 1:1 but took it off in case this was why I didn’t see any change in the
Plaster Statue 8 inch Saint Gerard (5558) image.
This plugin is causing another plugin to have cause a fatal error. This is due to the code on line 427
return apply_filters( 'wp_generate_attachment_metadata', $metadata, $attachment_id );
WordPress now passes 3 arguments for this, the 3rd is $context. The other plugin is expecting this to be passed and does not allow a default. The other plugin is Enhanced Media Library. I am going to put in a report there but that plugin has not been updated in a while and may no longer be supported and I’ll likely need to replace it. But this may not be the only plugin that does this so it might cause conflicts in other plugins in the future. Would be great if you added the 3rd argument in your apply_filters() call.
]]>When I selected “Select which thumbnails you want to rebuild:”, I don’t plan to rebuild all my images. However, it seems that it ONLY has an option to rebuild all images. Is it possilbe to only rebuild the image we want?
]]>When AJAX Thumbnail Rebuild plugin is active, new images added to the media library are cropped with default center, center position ie. custom crop positions – eg. array( ‘left’, ‘top’ ) – are ignored.
Rebuilding thumbnails with the plugin also ignores custom positions.
New images added with plugin deactivated are cropped correctly.
]]>Hello guys,
I need to update my site’s PHP to a newer version, so I would like to know what PHP version your plugin supports.
Wordpress is recommending a minimum version of 7.4. Does your plugin support this version?
Thanks!
]]>Hello,
After activating plugin and open Rebuild Thumbnails I have an error
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Smart_Image_Resize\\Filters\\Generated_Sizes::removeUnwantedSizes(), 1 passed in /var/www/www-root/data/www/dver/wp-includes/class-wp-hook.php on line 303 and at least 2 expected in /var/www/www-root/data/www/dver/wp-content/plugins/smart-image-resize/src/Filters/Generated_Sizes.php:29
How I can fix it?
Everything works fine without your plugin.
]]>Hello everyone, I need help as after activating and launching the plugin I find the site with different images and the wrong size. Is there any way to restore images to their original size (like the larger ones by default with the ashe theme) ??
Please help me !!!! :(((
Cristina
]]>Hello,
We have noticed the Plugin has not been updated in over two years. Are you no longer supporting the plugin and conducting security audits to ensure the code is secure?
Thanks!
]]>When I am at the “Rebuild Thumbnails” section all thumbnails does not show up, and I am wondering why?
If I am at “Regenerate thumbnails” theese are the thumbnails that are shown:
thumbnail: 150×150 pixels (cropped to fit)
medium: 300×300 pixels (proportionally resized to fit inside dimensions)
medium_large: 768×0 pixels (proportionally resized to fit inside dimensions)
large: 1024×1024 pixels (proportionally resized to fit inside dimensions)
1536x1536: 1536×1536 pixels (proportionally resized to fit inside dimensions)
2048x2048: 2048×2048 pixels (proportionally resized to fit inside dimensions)
lazy: 24×24 pixels (proportionally resized to fit inside dimensions)
woocommerce_thumbnail: 300×300 pixels (cropped to fit)
woocommerce_single: 600×0 pixels (proportionally resized to fit inside dimensions)
woocommerce_gallery_thumbnail: 100×100 pixels (cropped to fit)
shop_catalog: 300×300 pixels (cropped to fit)
shop_single: 600×0 pixels (proportionally resized to fit inside dimensions)
shop_thumbnail: 100×100 pixels (cropped to fit)
If I am at “Rebuild Thumbnails” only these thumbnails appear on the list:
woocommerce_thumbnail (300x300 cropped)
woocommerce_single (600x0)
woocommerce_gallery_thumbnail (100x100 cropped)
shop_catalog (300x300 cropped)
shop_single (600x0)
shop_thumbnail (100x100 cropped)
Only rebuild featured images
Any ideas?
]]>This is from the photo gallery plugin support:Hello. Why is the gallery only showing part of my image. It’s not centered.
In accordance with the statement of our developer, the issue is connected with the AJAX Thumbnail Rebuild plugin. Would you be kind and contact with the Support team of the mentioned plugin above, please? As well as you are able to disable the AJAX Thumbnail Rebuild plugin and the issue will be eliminated.
]]>Hi, within your Plugin you made a small bug, which disallows to set the Crop-Parameter as an array.
In Line 337 you check, if your own crop-information which is per default set to false is not an array and after that you return the the array as (intval).
so you have to change the line from:
if( ! is_array( $sizes[$s][‘crop’] ) ) {
to
if( ! is_array( $_wp_additional_image_sizes[$s][‘crop’] ) ) {
After that its correct and working as intended. please update your plugin with this fix. thanks ??
]]>So I just upgraded to version 1.13. After doing so I was surprised to see a new item in my media library called responsive-lightbox-thumbnail.png. I have never had a plugin install an item in my media library before, and I’m wondering what’s that about. My initial inclination was to delete it.
]]>It tells me I have 1.2.1 installed and if I want to upgrade to 1.13
On your Changelog page it shows 1.2.2 as the latest version
What is correct?
]]>Hi,
when WP Smush PRO (or WP Smush) is activated and in your plugin settings you set to regenerate only selected thumbnail sizes, it changes all thumbnail sizes.
EDIT: It regenerates and smushes thumbnail sizes selected in settings. Other thumbnail sizes are not regenerated but they are smushed again (so they are smushed twice).
When WP Smush PRO is not activated, everything works well.
Can you please fix it?
Thanks,
Jiri
happens with PHP 7.2
PHP Deprecated: Function create_function() is deprecated in /path/wp-content/plugins/ajax-thumbnail-rebuild/ajax-thumbnail-rebuild.php on line 297
you can easily fix it by replacing line 297
add_action( 'plugins_loaded', create_function( '', 'global $AjaxThumbnailRebuild; $AjaxThumbnailRebuild = new AjaxThumbnailRebuild();' ) );
with
function ajax_thumbnail_rebuild_init() {
global $AjaxThumbnailRebuild;
$AjaxThumbnailRebuild = new AjaxThumbnailRebuild();
}
add_action( 'plugins_loaded', 'ajax_thumbnail_rebuild_init' );
why did you use a create function for that anyway?
]]>First, does the plugin work with 4.9.1, since it has not been tested ?
When I click on the author “junkcoder” is shows breiti.cc but the website is not coming up. Is he still coding? Anybody else maintain it?
Plugin info:
Version 1.2.1 | By junkcoder | View details
Hi,
I am getting following error in debug mode:
[22-May-2017 19:24:14 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AjaxThumbnailRebuild has a deprecated constructor in /home/site845774/public_html/wp-content/plugins/ajax-thumbnail-rebuild/ajax-thumbnail-rebuild.php on line 26
[22-May-2017 19:24:14 UTC] PHP Stack trace:
[22-May-2017 19:24:14 UTC] PHP 1. {main}() /home/site845774/public_html/wp-admin/admin-ajax.php:0
[22-May-2017 19:24:14 UTC] PHP 2. require_once() /home/site845774/public_html/wp-admin/admin-ajax.php:22
[22-May-2017 19:24:14 UTC] PHP 3. require_once() /home/site845774/public_html/wp-load.php:37
[22-May-2017 19:24:14 UTC] PHP 4. require_once() /home/site845774/public_html/wp-config.php:128
How to resolve it?
]]>Hello Sir,
First of all i want to thank you for creating such a wonderful plugin.
Recently after wordpress updates to 4.7, the plugin keeps on throwing error when image is uploaded & the uploaded image displays error message
I request you to please update this wonderful plugin
]]>I really like this plugin as it allows you to select which thumbnails to rebuild. Is there any way I can contribute to its development?
]]>AJAX Thumbnail Rebuild v1.12
FILE: ajax-thumbnail-rebuild/ajax-thumbnail-rebuild.php
——————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————–
92 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
——————————————————————————————————–
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
]]>Like the title states, I see an error500 message at the top when I toggle anything aside from the featured images selection. Running latest version of WP, a paid for theme and minimal plugins.
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
]]>Seen this,
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AjaxThumbnailRebuild has a deprecated constructor
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
]]>Everytime we rebuild the thumbnails, somehow the image uploaded for use by WordPress to create the icon is getting spoilt and the shape of icon changes
Can the plugin some avoid that one image file used for WP icon
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
]]>The plugin will regenerate thumbnails that shouldn’t be regenerated, in the case of the new site icon feature.
Recreate:
0) Set WordPress’s “thumbnail” image size to a non square value, like 300×200.
1) Upload a square image or at least something greater than 500px by 500px into the Site Icon feature of the customizer.
2) Notice the square site icon, as expected (see favicon for sample, or source code)
Output is as follows:
<link rel="icon" href="https://local.wordpress.dev/wp-content/uploads/2015/10/cropped-site-icon11-32x32.png" sizes="32x32" />
<link rel="icon" href="https://local.wordpress.dev/wp-content/uploads/2015/10/cropped-site-icon11-192x192.png" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="https://local.wordpress.dev/wp-content/uploads/2015/10/cropped-site-icon11-180x180.png">
<meta name="msapplication-TileImage" content="https://local.wordpress.dev/wp-content/uploads/2015/10/cropped-site-icon11-270x270.png">
Now rebuild all thumbnails. Output is changed to this:
<link rel="icon" href="https://local.wordpress.dev/wp-content/uploads/2015/10/cropped-site-icon1-325x165.png" sizes="32x32" />
<link rel="icon" href="https://local.wordpress.dev/wp-content/uploads/2015/10/cropped-site-icon1-325x165.png" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="https://local.wordpress.dev/wp-content/uploads/2015/10/cropped-site-icon1-325x165.png">
In my case, 325×165 is the thumbnail size. So all site icons are replaced by the thumbnail, when they shouldn’t be touched if they were uploaded for the Site Icon feature.
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
]]>I am not able to find a way regarding how to attach thumbnails with my posts display on front page please take a look and guide me immediately so I can make my site go live. Here is my Site IsloooTalkingPoint
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
]]>hi.
thanks for this plugin, i do plenty wordpress-installs and this tool is a mandatory one. really handy.
i do have a problem though..
i imported some products via wp all import and with it some images. all worked fine, except some images sizes were not created. but whatever, using your tool should fix my problem, right? well, the images were created, but the meta-data was missing some entries in the sizes array. guess wp changed some of its behaviors during the last updates (>4.2).
here is what wp does:
[sizes] => Array
(
[thumbnail] => Array
(
[file] => 252055201-150x150.jpg
[width] => 150
[height] => 150
[mime-type] => image/jpeg
[path] => 2015/09/252055201-150x150.jpg
[url] => example.com/252055201-150x150.jpg
)
...
and here is, what your created meta-data looks like:
[sizes] => Array
(
[thumbnail] => Array
(
[file] => 252012401-150x150.jpg
[width] => 150
[height] => 150
[mime-type] => image/jpeg
)
...
you can see, that path and url is missing. now the url part is not correct eather, guess that is a bug in wp, but the path is correct and luckily i can work with that. well, if it exists..
let me see, what i can do, but i would be more than happy, when you jump in and help, since this is your baby and nobody knows it better than you..
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
]]>It is possible to do:
1.different “Number of thumbnails” for desktop and mobile view?
2. 2. Controls to be placed in a different location not above of thumbnails, but on the same level with thumbnails, by left and right from them?
Thank you very much!!
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
]]>Hi and many thanks for this excellent plugin
I’ve used it a lot, but in one of my sites it simply stops after few images and then after few more and so on.
How can I know what is the reason?
Thanks
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
]]>I have one more question. The process stops in the middle of rebuilding. Any idea what this might be? It keeps saying:
Rebuilding 509 of 1293 (Meditatiekussen)…
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
]]>Hi, I have made a mistake. I scaled my thumbs to 150*150 but my theme is using 220*220.
When I regenerate the thumbs, will it use the main image? So it does not scale up the 150px images (than it will still be blurry). For example: these thumbs are all blurry now: https://patipada.nl/product-categorie/yoga-kleding/
So, can I re-run the rebuild plugin to make larger thumbnails?
Or will it use the small thumbnails?
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
]]>