xam1
Forum Replies Created
-
Thank you, I had object versioning enabled.
I’ll keep digging to understand what’s going on.
Thanks for your interest.
Thank you!
I did the search you asked and took me a while to find the problem.
General conditions:
- It only happens with images big enough to be scaled. I’m using the same image always of 4,7Mb.
- All tests with same configuration: no other plugins except WPOM when needed in test.
- All uploads using WordPress media library only.
- Theme twentytwenty always.
Specific tests:
a) If I user your plugin with the theme in this conditions it works well.
b) if I add the following code to theme’s functions.php:
add_filter( ‘intermediate_image_sizes’, ‘__return_empty_array’ );
and WPOM is offloading then it doesn’t change number. wrong behaviour.
c) If I add the filter and stop offloading then it works well again
It is happening only when both the filter and WPOM are activated.
(I upload 5 times the same file in each scenario as I have cache and some times it takes time to reflect changes in code – puting or deleting the filter), but when the change in code takes place the behaviour is constant).
I can reproduce the situation always.
Let’s see if you can reproduce it. Just let me know if you can reproduce it please.
Many thanks
If I don’t offload media,wordpress is uploading files correctly, changing name to scaled files, i.e. file-scaled.jpg, file-1-scaled.jpg etc. When I start offloading again then offloaded url remains constant (file-scaled.jpg or whatever but always the same…) Again any clue? any setting to check? This is a big problem if two users upload same file name but with different content. Thanks.
More details, it happens with files scaled by wordpress only. It seems when scaling wordpress don’t change name. But WP Offload Media shouldn’t be checking if name already exists in bucket. Thanks.