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

How to handle non media library images to AWS s3? #588

Closed
worldweb opened this issue Aug 25, 2021 · 2 comments
Closed

How to handle non media library images to AWS s3? #588

worldweb opened this issue Aug 25, 2021 · 2 comments

Comments

@worldweb
Copy link

I am using the Geodirectory plugin with Offload Media plugin
Here is the link to Geodirectory plugin - https://wordpress.org/plugins/geodirectory/

Geodirectory allows uploading multiple images for post featured images. - http://prntscr.com/1qht47q
It only uploads the first image to the media library and other doesn't exist as a media library. It exists in the upload folder and geodirectory handle using own table.

Is there anyway to handle non-media library images to Aws s3?

@ianmjones
Copy link
Member

If that Geodirectory plugin creates a Media Library item that the other files you mention are associated with, then you can use the as3cf_attachment_file_paths filter to tell WP Offload Media about the extra files.

https://github.com/deliciousbrains/wp-amazon-s3-and-cloudfront-tweaks/blob/beb2e0f1bba71be7b462a60209e5ff630a57437e/amazon-s3-and-cloudfront-tweaks.php#L708

Otherwise, I'm closing this issue as a duplicate of #7.

@TokumeiJG
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants