WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Why can I not add photos from media library to a gallery? (25 posts)

  1. marcusgrip
    Member
    Posted 2 years ago #

    So strange with the advance functions of WordPress that it is still not possible to take photos from media library and create a new gallery in a new post. I read some old forum threads about this and it was something about that galleries are attached to a specific post but that is not the problem.

    The problem is I want to take a couple of photos I already have in the media library and create a new gallery of them. That would be so frikkin basic I can't believe it does not exist. What I have to do now is upload the same photos like 4-5 times which takes up soooo much space.

    Is there any solutions to this? Will they have try to make this work or is there plugins for this? For a photographer like me that uses photos all the time, the site gets so slow.

    Thanks!

  2. Harry
    Member
    Posted 2 years ago #

    Hi,

    It's basically that WordPress could implement something, but it mightn't fit everyone's usage. So rather than push everyone down one way of doing things the kind people at WordPress left it so it was very flexible. This means one can (if they have the coding ability) develop their own once off solutions which allows for a near endless way of doing things.

    By doing it this way, WordPress has given rise to a plethora of Gallery Plugins, each with their own way of doing things, but each equally good in their own right. You basically need to find the one that suits you best.

    My preference in order to manage my galleries is NextGen Gallery. It's extendable and excellent at what it does.

    Hope this helps you.
    Thanks,
    Harry

  3. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    I second that, NextGen is one of most popular plugins listed here and used.

  4. marcusgrip
    Member
    Posted 2 years ago #

    I installed it but it still seems that you can't take images from your Media Library, you need to upload so the whole problem is still there. Galleries I can make, but take images from the media library is apparently very hard to fix.

    Or am I missing something?

  5. Harry
    Member
    Posted 2 years ago #

    Well NextGen is effectively another Media Library, but has better image management for large quantities of photos. I'd recommend using it.

  6. Gary Darling
    Member
    Posted 2 years ago #

    Marcus is correct, NextGen does not have any way to pull individual images off the server, just complete folders. Seems very short-sighted to me as well, I always hoped Mr. Rabe would fix that.

  7. Harry
    Member
    Posted 2 years ago #

    The problem with developing an app/plugin used by thousands of people is that you'll invariably run into some people who would it expect it to work differently.

    The reason it doesn't and I'm pretty sure will never alter the Media Library is because in future the database structure could change, thus the plugin could end up incorrectly altering the database and borking it entirely. The plugin offers the feature of importing existing files on the server. Which is quite handy. I think the plugin in this regard operates as expected. It also allows someone to maintain a photo gallery, and then keep the media library for videos/documents as well as other images for use in posts. This is just my opinion on why it is actually a good thing that the Gallery is separate from the Media Library, I see it as a distinct advantage.

    I would suggest either taking the approach of investigating a number of other solutions available, and measuring them against your ideal expected solution. For the initial short term pain you could find long term gain.

  8. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    It is quite possible to add a single image from a gallery...use a created gallery to add items...when posting, use the NextGen Gallery button in the Kitchen Sink and you see the options to add a single pic...also, this plugin is not used by thousands, it is used by many millions...

  9. Harry
    Member
    Posted 2 years ago #

    Didn't want to overstate it, I guessed millions, but didn't have actual figures :)

  10. Gary Darling
    Member
    Posted 2 years ago #

    I know about adding an image in a post, nothing wrong with that. It's when you are creating a new gallery, there is no way to grab existing single images from other galleries or from your already uploaded images. I don't see how grabbing one of those images can, ummm... bork?... the database any more than grabbing it from your hard drive or any other url. Get it, apply a unique name, save it, done.

    I admit I could be missing a step, but it seem do-able.

  11. Harry
    Member
    Posted 2 years ago #

    It seems very doable, so instead of posting critically about it, why don't you do it and give the code to the plugin developer for the next release?

  12. Harry
    Member
    Posted 2 years ago #

    This post started about a particular problem, I offered a possible solution based on the facts give and this has now descended into criticising both my suggestion as well as a 3rd party plugin.

    I feel like I have to justify the plugin, it's a damn good plugin. If you don't like it, don't use it. It doesn't bother me.

    Sorry for trying to help, I've learned my lesson to not volunteer my services again.

  13. marcusgrip
    Member
    Posted 2 years ago #

    As the starter of this post I just have to say I am happy for the different suggestions and explanations so whatever people say to criticize you, I don't agree. I just accept the facts why this can't be done and still feel it should be some way for wordpress to go around it.

    What you could do is with NextGen gallery is to only upload through that and use galleries I guess but it's still complicated and messy. Would be so easy if wordpress just fixed so you can add photos from media library. I do not know much about coding but compared to other websites it should be very doable.

    Thanks for explaining :)

  14. Harry
    Member
    Posted 2 years ago #

    I didn't say criticise me, I said criticising the suggested solutions :) I'm sure there is a workaround.

  15. Bob33
    Member
    Posted 2 years ago #

    @marcusgrip
    You've probably worked this out by now but anyway it may be helpful for someone - I've just been having a play around with the built in WP gallery function and to address your initial question, I don't think it's necessary to 'upload' your pictures again so (you have multiple copies of the same pic) to create a new gallery.

    The other way (though it's a little unintuitive and I think where improvement could be made without imposing constraints or affecting the flexibility of WordPress) is to add the existing photos you want to be in your 'gallery' to the new post from the media library as per usual. You'll then find the gallery tab appears in the media uploader. Click on this and choose your gallery options and insert.

    Then you'll have to delete the code for the photos you have inserted but leaving the gallery shortcode there.

    In order to add extra images to this gallery you'll need to add them to the post, then delete the code again - leaving the original gallery shortcode in place. You will find your new photos are now in the gallery.

    This does seem a little bizarre to me. I can't really see how including a facility within the gallery tab to add images directly from the media library to a gallery could have any negative effect.

    It may be one of those things that is not on the list of priorities for WP development or there may well be other considerations.

    I've used NextGen on a number of sites and it's a great plugin, however, for many people it adds layers of complexity and management when all they want is a simple way to add a basic gallery.

    The built in WP gallery functionality is so close to doing that it would be great to see some small improvements made.

    Notwithstanding the above, full credit to WP dev team and all plugin developers everywhere for making WordPress awesome.

  16. quoindesign
    Member
    Posted 1 year ago #

    This. I've been using WordPress for 5 years, and hoped with every release that this awkwardness would be fixed. Just a check box by each image and an "add to gallery" button. NextGen is a bloated and unnecessary addition for many sites.

    Consider all of the themes that now rely on a gallery of attachments to display images.

  17. jamesveale5
    Member
    Posted 1 year ago #

    I´m also at a loss for how to fix this, guess I´ll have to re-upload all images rather than select them from the media library as I would like. I can´t believe there isn´t a solution. I´ll keep searching online.

  18. weemistermac
    Member
    Posted 1 year ago #

    @jamesveale5 – I'm with you! Let me know if you find anything out. I'm not a coder either but it seems to me to be a fairly straightforward thing to fix. I've hunted and hunted and just keep finding myself being pointed back to NextGen. I'm a sculptor and regularly need to add new works of art to my existing galleries, but I keep having to add duplicate images to apear in different galleries on different pages. I'm quite happy with how Nextgen works but I now can't create new NextGen galleries from the (hundreds of!) pics already in my media library. It's most vexing!!

  19. esmi
    Forum Moderator
    Posted 1 year ago #

    it seems to me to be a fairly straightforward thing to fix

    It isn't. And this really is an issue for the various gallery plugins - not WordPress core itself.

  20. weemistermac
    Member
    Posted 1 year ago #

    I'd be perfectly happy to ask NextGen if there's a way around this, but if you go to nextgen-galery.com and click on their support tab...guess where it takes you...so here I am...again.

  21. esmi
    Forum Moderator
    Posted 1 year ago #

    guess where it takes you

    Not here. Try http://wordpress.org/support/plugin/nextgen-gallery

  22. weemistermac
    Member
    Posted 1 year ago #

    Thanks Esmi. That's exactly what I did try. And if you go to the bottom and find the search tool, search for threads about adding to gallery from media library and I end up back here. Or another very similar thread in a very similar forum giving very similar (mostly inconclusive) answers.

  23. esmi
    Forum Moderator
    Posted 1 year ago #

    Use the post form at the bottom of that page.

  24. simmsimaging
    Member
    Posted 1 year ago #

    I'm fairly new to WP, but find this to be a surprising little roadblock. The sites I am working on are image intensive, being able to add shots to a gallery feels from the media library feels like a must have. Did anyone figure out a more simplified workaround?

    Thanks in advance

    b

  25. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @simmsimaging -- please start your own thread. This one is outdated and likely not relevant since the media library has been changed since then.

Topic Closed

This topic has been closed to new replies.

About this Topic