Grow your CSS skills. Land your dream job.

WordPress mass image insert to post?

  • # July 19, 2011 at 1:01 am

    Is there any way at all to do a mass image insert into a post? I am doing a blog for a photographer and most posts are 15+ images which become very annoying to insert one at a time, I am surprised WordPress has not integrated a batch option at this point, but does anyone have a solution to this, I am trying to think of ways to make this easy on the client so that adding images isn’t so time consuming (and annoying).

    # July 19, 2011 at 1:02 am

    Hard coding a gallery into the bottom of each post page hasn’t been a viable option either because I am using custom fields on the posts for banner images and a home page featured image which would not be included within the gallery, but by default WordPress adds all images from the post into the gallery and as far as I know you can’t exclude images from custom fields.

    # July 19, 2011 at 1:12 am

    Don’t insert them into the post itself. Instead, loop through the attachments of the post.

    # July 19, 2011 at 2:21 am

    In theory that works, but that would still attach images from the custom fields that I don’t want to be a part of the loop and I can’t think of any way to exclude those images. I am using custom fields to add a custom header image and a custom featured image to each post, if I looped through all attachments it would grab those and attach them as well and I don’t want those included in the post photos. Hope that makes sense.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".