Open stevegrunwell opened 7 years ago
I've been unable to reproduce this behavior, but have noted that the "download a separate copy of the original media passed to Cloudinary" logic (see Airstory\Formatting\retrieve_original_media()
does result in duplicate copies of images) — it's not being done every time a post is exported, but it does result in two separate attachments.
Reached out to Marc, the Airstory customer who reported the issue and it appears to not be with subsequent exports but rather the original + resized media being imported as two separate attachments.
Ideally, the original image should be what's imported as an attachment, with the resized version as a thumbnail.
Work has begun in the fix/duplicate-media branch, but as I'm digging into this I'm seeing that it's going to require a larger change to the way media is treated, in a way I'm not quite comfortable approaching in a patch release.
Since there's no immediate bug (it's functioning as designed, just not in the most optimal way), I'm going to bump this to the 1.2.0 milestone (the next minor release).
An Airstory customer has reported a case where the WordPress plugin is creating duplicates of images in the media library each time they export from Airstory to WordPress. This shouldn't be the case, so we need to investigate why it might be happening.
No further details are available from the customer at this time, but contact information is available in the Airstory Slack channel.
Response headers from the user's server: