• I am trying to add a “collage” of images to a post, like this post has:

    Is there a way to do this inside of WP instead of having to use an external photo editing software?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Anonymous User 4104441

    (@anonymized-4104441)

    i guess you should be using Gallery for that

    Thread Starter amyhartman

    (@amyhartman)

    When I use the gallery, I get all the images as thumbnails with space in between them. What I’m looking to do is have them larger and touching as in the link example I attached.

    You can do that by simply putting the images in the post — use CSS to align them. It will work best if you size them before uploading, but MANY easy ways to do that. Keeping the sizes fairly uniform will help too.

    This explains the alignment of images — same concept applies without text.

    Just set margins and/or borders to zero– or whatever you want to keep spacing the size you want.

    Thread Starter amyhartman

    (@amyhartman)

    Ok, great. Then to get the white border in between, would I simply add CSS to add a border around the images? I have tried adding this to my stylesheet, but it adds a border to all of my images, instead of just the post images.

    Depending on the context, either a border or margin should work. To only get the post images, you’ll need to use a more specific CSS selector (i.e. “.post img” — just an example as I don’t know how your page is coded) — or add a specific class to those images when you add them to the post and then use CSS with that class.

    Thread Starter amyhartman

    (@amyhartman)

    I have the margins in now. How do I center the images on the page? When I have 2 images side by side and try to use the center align button in the post, it moves one of the images below.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add image collage to post’ is closed to new replies.