Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows_azure_storage_info has missing thumbnails #250

Open
1 task done
sta1r opened this issue Sep 3, 2024 · 1 comment
Open
1 task done

windows_azure_storage_info has missing thumbnails #250

sta1r opened this issue Sep 3, 2024 · 1 comment
Labels
type:question Further information is requested.

Comments

@sta1r
Copy link

sta1r commented Sep 3, 2024

Describe your question

Images have been uploaded to the container (in all the expected sizes) but for some reason the windows_azure_storage_info postmeta for the attachment has missing thumbnails.

We're seeing e.g.

a:5:{s:9:"container";s:7:"staging";s:4:"blob";s:53:"2024/07/August-social-media-calendar-header-image.jpg";s:3:"url";s:108:"https://mkr1en1mksitesap.blob.core.windows.net/staging/2024/07/August-social-media-calendar-header-image.jpg";s:10:"thumbnails";a:0:{}s:7:"version";s:5:"4.4.2";}

In the affected entries, we see a version range from 4.3.2 to 4.5.1, but there are plenty of successfully-stored examples as well for these versions. Is this a known issue?

Is the only solution to re-upload the affected images?

Code of Conduct

  • I agree to follow this project's Code of Conduct
@sta1r sta1r added the type:question Further information is requested. label Sep 3, 2024
@sta1r
Copy link
Author

sta1r commented Sep 3, 2024

Update - this appears to be a problem relating to EWWW Image Optimizer. windows_azure_storage_wp_generate_attachment_metadata is hooked after EWWW\Background_Process::handle runs, and under certain conditions, both $data['sizes'] and $data['original_image'] are empty, meaning that $thumbnails is stored as an empty array.

@jeffpaul jeffpaul moved this from Incoming to Backlog in Open Source Practice Sep 3, 2024
@jeffpaul jeffpaul added this to the Future Release milestone Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:question Further information is requested.
Projects
Status: Backlog
Development

No branches or pull requests

2 participants