[wp-hackers] Recreate all imagine size in the database

Glenn Ansley glenn at glennansley.com
Sat Jan 16 13:42:49 UTC 2010


http://www.viper007bond.com/wordpress-plugins/regenerate-thumbnails/

Glenn Ansley
http://fullthrottledevelopment.com
http://twitter.com/glennansley

On Sat, Jan 16, 2010 at 8:34 AM, Paolo Valenti <wollynews at gmail.com> wrote:

> When I've changed server I found this issue:
> Images that were uploaded into a gallery on post/page have lost all info
> relating to image size.
> If I look into the DB I found information about the original size and
> all the thumbnails but they have small differences between new gallery
> and images that they works.
> I made a debug on localhost and I found WP doesn't read the dimension:
> Here it works:
> |Array ( [0] =>
> http://localhost:8888/wp27/wp-content/uploads/acquario_1-150x99.jpg [1]
> => 150 [2] => 99 [3] => 1 )|
> Here doesn't work:
> |Array ( [0] =>
> http://localhost:8888/wp27/wp-content/uploads/img_0263.jpg [1] => 0 [2]
> => 0 [3] => )|
>
> There is a way to let WP regenerate all the information in the database?
> The other solution is to re-upload all the images but, I'd like to avoid :)
> Thanx in advance
> wolly
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list