Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6169441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:51:33+00:00 2026-05-23T22:51:33+00:00

I will be using WordPress as a CMS with custom post types. Each post

  • 0

I will be using WordPress as a CMS with custom post types. Each “post” is a product and will have 20-60 images in 3 different sizes (60-180 total images per product).

What’s the best way to link the images to the post?

I’m thinking about storing them on Amazon S3 and recording the URLs in custom meta tags, but I want to make sure I do it in a way that its easy to retrieve.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T22:51:34+00:00Added an answer on May 23, 2026 at 10:51 pm

    The WordPress has a built-in media library which has hooks that relate images to specific posts (products in your case). Given that a solid API exists for this, you may want to start there.

    Helpful functions to look into are:

    1. wp_insert_attachment
    2. wp_delete_attachment
    3. wp_get_attachment_image_src
    4. wp_get_attachment_metadata

    Update: To be more specific for this project, also be sure to look into add_image_size which allows you to define various thumbnail sizes which your posts can use. In other words, upload one large image and WP will automatically generate the rest. Mark J. of the WP team made a good writeup of the feature back wen 2.9 was released.

    As for the S3, that definitely isn’t a bad idea either, but keep WP as being your core source of data. Perhaps you can use a back-end process to move them to S3 and then update the attachment’s metadata. When you render the post, check to see if a S3 URI exists, otherwise default to a local image.

    (Disclosure: I’m not very familiar w/S3; but this is how I would start my quest.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have five different websites set up using Wordpress 3.0 Multisite. They each contain
I'm using custom WordPress categories for some probably unintended functions, I will admit (things
I have a php file which I will be using as exclusively as an
I have an iPhone app where I will be using it as a template
1) I'm using WordPress as a CMS for a site. Therefore I want to
I will be using WordPress 3.0 to build numerous sites, roughly 300+. these sites
I have managed to setup a blog on localhost quickly using wordpress. But what
i'm using wordpress, i have a page that i can access like this http://mywebsite/category/page
I using Wordpress to display a list of thumbnails which will load a page
I am using wordpress and on the page sidebar.php I have the following code:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.