S3-Uploads icon indicating copy to clipboard operation
S3-Uploads copied to clipboard

Regenerate Thumbnails error

Open hadyfayed opened this issue 8 years ago • 10 comments

when using Regenerate Thumbnails plugin it gives me a weird error

function (){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){n.each(b,function(b,c){n.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==n.type(c)&&d(c)})}(arguments),c&&!b&&i()),this}

is there any way to make s3-uploads and Regenerate Thumbnails plugin work together or is there any alternative

hadyfayed avatar May 08 '16 22:05 hadyfayed

+1

christophwolff avatar May 17 '16 16:05 christophwolff

The Regenerate Thumbnails Plugin does the regeneration of the image on the source server but since the image has been pulled to S3 it is not able to resize the image.

14850842 avatar Aug 31 '16 21:08 14850842

Hmm looks like I'll have to give this plugin a go and see what happens.

joehoyle avatar Sep 02 '16 09:09 joehoyle

Thumbnail regeneration support via wp cli would be awesome.

tillkruss avatar Oct 29 '16 22:10 tillkruss

It appears that the CLI command is also broken:

PHP Warning:  copy(s3-uploadsIMAGEFILENAME.tmp): failed to open stream: No such file or directory in /srv/www/webroot/content/hm-platform/plugins/s3-uploads/inc/class-s3-uploads.php on line 247

rmccue avatar Feb 21 '17 07:02 rmccue

i think the problem is because some of the images are beyond regeneration...

Homezonic avatar Sep 03 '17 22:09 Homezonic

@joehoyle @rmccue this work with CLI yet?

scottbasgaard avatar Jun 01 '18 13:06 scottbasgaard

@scottbasgaard I thought I tried in-build WP CLI regen thumbnails command wp media regenerate or whatever it is, and it worked. not sure about this plugin though.

joehoyle avatar Jun 01 '18 20:06 joehoyle

@joehoyle gave it a whirl, works great, thanks!

scottbasgaard avatar Jun 05 '18 21:06 scottbasgaard

@scottbasgaard I thought I tried in-build WP CLI regen thumbnails command wp media regenerate or whatever it is, and it worked. not sure about this plugin though.

I know this is an older issue, but I tried to use wp media regenerate on one attachment that is in the bucket and I got Warning: Can't find "image.jpg" (ID 123456). error.

dingo-d avatar Apr 16 '24 14:04 dingo-d