PNG-to-JPG Doesn’t Update Database, Disastrous Result
-
PNG-to-JPG Doesn’t Update Database, Disastrous Result
I ran a bulk optimization with PNG to JPG conversion enabled. The PNG’s were successfully converted to JPG’s. However, the WordPress database wasn’t updated to reflect this. As a result, every reference to those images was broken (it was still looking for the PNG file).
I couldn’t solve this problem by doing a database search-for-png and replace with jpg because EWWW (correctly) doesn’t replace some PNG’s (the ones with transparency).
Was this expected behavior? If so, it seems to me the PNG to JPG conversion function would be essentially useless.
(I believe the problem would be hidden if you don’t check “remove the original image from the server after a successful conversion”. But that would mean the site is still using the PNG’s rather than the converted JPG’s, so what was the point of the conversion?)
Thanks.
The topic ‘PNG-to-JPG Doesn’t Update Database, Disastrous Result’ is closed to new replies.