• Resolved wesm

    (@wesm)


    Hi, David,

    Could I persuade you to do some integration with Real Media Library? I like using it for having a hierarchical space for my images, eventually numbering in the thousands. Here is the sort of thing I would like to be able to do. Currently, I’m using RML hooks to add custom fields to each image, like the RML folder id, folder type, gallery name, gallery slug, etc. It would be nice to avoid this step if possible.

    1. Find the folder(s) to which a particular image has been added.
    2. Build a gallery from all the images in a folder. Justified Image Grid has nice native support for this.
    3. Build links to (an) enclosing gallery for an image. For instance, I want to have, say, the three latest images that I’ve added to a gallery show up in my home page. I can already do this using mla_gallery as the data selector, passing the images on to the justified_image_grid shortcode. However, I’d also like to adjust the link so that it points back to the enclosing gallery. I think I can do that using the mla_link_href and some kind of custom field content template.

    Perhaps unfortunately, the rml data is in separate tables, so not already available as post metadata. Thus I rely on hooks to populate the meta data.

    RML documentation is quite good:
    https://matthias-web.com/wordpress/real-media-library/documentation/php-api/

    You can see a preliminary implementation at https://dancinglight.photos

    Thanks!

    • This topic was modified 5 years, 8 months ago by wesm. Reason: Include doc link
Viewing 1 replies (of 1 total)
  • Plugin Author David Lingren

    (@dglingren)

    Nice to hear from you again. Thanks for your question and for your patience as I work through the topics that accumulated during my recent travels.

    I had some experience with RML as part of this earlier topic:

    Bulk edit – grid mode

    I hoped to do more work to integrate MLA with RML and had some correspondence with the RML author a couple of years ago, but was not able to get the information I needed to proceed. At this point I do not have the time to pursue any further integration with or direct support of RML within MLA.

    I regret the news is not better, but I am marking this topic resolved because your question has been answered to the best of my ability. I hope your approach of copying RML information to custom fields gives you an adequate solution for your application. Thanks for your understanding.

    By the way, did you ever get a chance to try the “MLA Path Mapping Example” example plugin I developed for your earlier topic: Help with Custom Taxonomy?

Viewing 1 replies (of 1 total)
  • The topic ‘RML integration’ is closed to new replies.