-
Notifications
You must be signed in to change notification settings - Fork 150
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
Incompatible with Axis for WordPress 1.0.2 #226
Comments
Have you tried enabling the Object Versioning option in the plugin's settings? |
Yep, just did. Same behaviour. Same also regardless of whether "delete local objects" is on or not. Will keep debugging and posting back. Edit: It is uploading the relevant images to S3... Seems like the issue at this stage is updating the link in TinyMCE. Might be on my end... Edit2: Nope, I'm pretty sure now it's an issue with Edit3: Looking through a. I've since changed the snippet I linked to earlier to the following:
For some reason, |
Let's put this a different way — as a plugin developer, how do I leverage your plugin to update images in the media library? There isn't any developer documentation AFAICT... |
Just reading through a few more issues — as per #7, does this mean there is currently no way for outside plugins to leverage |
I've created a hacky workaround for the issue (replaces existing image on server and adds a timestamp to the url in TinyMCE as a cache buster) but am leaving this open in case there's a not-hacky way of leveraging |
Closing this one due to the age and lack of activity. WP Offload S3 does not have it's own plugin API at this time (other than a few filters) because it is designed to interact with the core WordPress APIs as much as possible to provide the most compatible and transparent experience. Please re-open if there is a bug with the current version of Offload S3. |
Hi there!
I'm the developer of Axis for WordPress, an interface for easily creating a multitude of charts for WordPress. We're using
wp-amazon-s3-and-cloudfront
to serve static assets, which include my Axis charts. Alas, I'm running into a weird bug wherein only the second most-recent version of a chart is uploaded to S3.Essentially: in Axis, you create a chart in a modal window spawned via TinyMCE toolbar button, and then click a button once finished. Some AJAX stuff goes on in the background that saves the chart as a PNG on a new attachment in the media library, and an image tag is dropped into TinyMCE. The relevant bits of the AJAX callback are here.
Oddly, it seems to only update the attachment filename on the next edit/save of the chart, causing wp-amazon-s3-and-cloudfront to then push it to S3. Even more oddly, this behaviour doesn't exist locally.
Any thoughts? I'm a bit at my wit's end with this and any feedback you could give would be massively appreciated. 😄
Thanks!
The text was updated successfully, but these errors were encountered: