• Resolved graymccord

    (@graymccord)


    I have been using Perfect Images successfully for years.However, I was running out of space on my server provider’s data plan and decided to offload my images to an Amazon S3 bucket. To do that, I use the plugin WP Offload Media, which automatically sends images to the bucket so they can be served from that location. This works fine with the exception of Retina images. Apparently Perfect images does not add retina info to “_wp_attachment_metadata” for the images, so the offload plugin doesn’t see the @3x versions of the images which results in no retina images being served. Any advice ? I’ve contacted the Offload Media creators to get this far…

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter graymccord

    (@graymccord)

    Is it possible to add the retina information to _wp_attachment_metadata for created retina images?

    (also a fat-finger in the original. Its @2x, not @3x!)

    Plugin Author Jordy Meow

    (@tigroumeow)

    I totally get why you’re looking into this, but I’ve gotta warn you – storing those side images (like Retina and WebP) in wp_attachment_metadata can open up a whole can of worms. It might even create an endless loop of thumbnail creation! ??

    Now, about WP Offload Media – it’s a bit of a tricky beast. The main issue is that regular plugins can only access your local files, while WP Offload Media deals with the remote stuff. So it’s kinda all-or-nothing with them. Personally, I’d say steer clear if you can.

    I wish they’d made an API for other plugins to use, but no dice so far. From what I’ve seen, they’re mostly focused on keeping things simple, which is great until you start doing more complex stuff with WordPress. Then the headaches begin..

    To be honest, storage is actually pretty cheap these days. Offloading your files might seem smart, but it often causes more trouble than it’s worth. It doesn’t make your WordPress faster either (CDN does, and hosting services now normally do this for you too).

    My advice: Keep it simple. Store your files locally. Your WordPress will likely run smoother, and you’ll save yourself a ton of headaches down the road. Spend money on a nice hosting, not in tricky/hacky ways to go around it. Trust me, your future self will thank you! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.