WordPress.org

Forums

Amazon S3 and Cloudfront
[resolved] Upload Custom Media sizes (6 posts)

  1. Matt Fiocca
    Member
    Posted 1 year ago #

    We are using add_image_size() to create some custom thumbnail sizes for our theme. How can we get these images added to the S3 sync process?

    https://wordpress.org/plugins/amazon-s3-and-cloudfront/

  2. Brad Touesnard
    Member
    Plugin Author

    Posted 1 year ago #

    They should be added automatically.

  3. Matt Fiocca
    Member
    Posted 1 year ago #

    thanks for the reply. im not sure if we're messing something up then, because only the original sizes added by wordpress get pushed to s3. im away from the code atm, but will try to paste how we're adding sizes, although I feel its a pretty typical setup.

  4. niw2cp
    Member
    Posted 11 months ago #

    Matt, have you verified the custom image sizes are actually being created and stored locally?

    I suspect a server configuration issue. With whom is your WordPress install hosted?

  5. Matt Fiocca
    Member
    Posted 11 months ago #

    yeah, the custom sizes were being created on the server.

    I actually just nuked my custom sizes for this project and opted to work with the defaults from WordPress. This project has been out of our shop for a little while now though, so i won't be returning to it to test anything further on this. I appreciate the feedback.

  6. shakensoul
    Member
    Posted 9 months ago #

    I am also having the problem of custom image sizes not uploading to S3. Currently I am working on localhost, when I upload a image to wordpress, 6 images are created locally including the original file.

    Following image sizes are created locally

    150x150
    300x136
    330x200
    336x150
    680x365
    original size

    But on S3, only 3 files are uploaded

    150x150
    300x136
    original size

    The custom sizes are not being uploaded, hence site is using only the local images.

    Any idea how to fix this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Amazon S3 and Cloudfront
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.