• Hey guys,

    It seems to me that in the previous version the PNG images converted to JPG images (we have that option enabled) kept this parameter saved in wp_postmeta -> _wp_attachment_metadata field:

    s:17:"ShortPixelPng2Jpg";a:4:{s:12:"originalFile";s:44:"/home/dev/wp-content/uploads/2020/05/01.png";s:13:"originalSizes";a:0:{}s:6:"backup";s:1:"1";s:19:"optimizationPercent";d:81;}s:21:"ShortPixelImprovement";s:5:"65.02";}

    But now in this latest version I don’t see any of that in _wp_attachment_metadata field.

    No “ShortPixelPng2Jpg” parameter, and when I look up “original” I get only this:

    s:14:"original_image";s:6:"01.jpg";

    Which means our original PNG image data is lost somehow, and the only reference to original image is now this “original_image” parameter which points to the converted JPG file instead.

    Any idea how we can get back that whole section of extra parameters from “ShortPixelPng2Jpg” section? Are those lost forever now? As it would definitely suck having to re-upload 1,000 PNG images all over again to get those references back, having to re-tag them all one by one, etc. All those PNG images are still there in ShortpixelBackups folder, we just don’t see any reference to them in wp_postmeta table anymore.

    p.s. we are using that “originalFile” reference to offer high quality/original image downloads as a separate link while serving the optimized images on the pages/galleries.

    Please advise!

Viewing 1 replies (of 1 total)
  • Plugin Support Gerard Blanco

    (@sixaxis)

    Hi @crazyserb,

    Just to be clear and I understand what’s happening here:

    • Do you have any issue restoring your JPG to PNG?
    • Can you convert your PNG to JPG?

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘originalFile parameter missing in the latest version’ is closed to new replies.