WordPress.org

Support

Support » Plugins and Hacks » [Resolved] loading only the images you want in media folder

[Resolved] loading only the images you want in media folder

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Micah Wood

    @woodent

    @ashton139,

    I’m not clear on exactly what you are asking. What do you mean when you say ‘media folder’?

    It is possible to exclude specific images using the ‘not’ attribute in the shortcode as explained here: http://wordpress.org/plugins/mpress-image-refresh/other_notes/

    I’d be glad to provide more details when I better understand what you are trying to do.

    Thanks!

    thanks for your reply, well in the media folder contains the images that are being randomly selected right? I saw you had a code to stop loading all others in the media folder I saw your Example: [mpress_image_refresh not=”2310, 2319″] but what I want to do since that folder holds many other images is to only load the ones I want I got 5 for now. because once I add more images in my media folder it too will be included in the random images, I don’t want that to happen I only want 5 to random selected is there a way I can do that? also is there a way i can load other images outside of that, I got a image folder on my server I would like for that to happen. Please do let me know if this is possible. I appreciate your hard work on this plugin, it is great.

    Plugin Author Micah Wood

    @woodent

    @ashton139,

    So when you say ‘media folder’ you are referring to the ‘Media Library’ in the WordPress admin, right?

    The way the plugin currently works is it pulls in images that have been attached to a specific post. So there is not a way to pull in a specific set of images unless they are all attached to a post. However, pulling in a specific set of images wouldn’t be a difficult thing to do.

    What if I were to add an ‘attachment’ attribute to the shortcode where you could explicitly set the ID(s) for the images you want to show, like this?

    [mpress_image_refresh attachment="310, 2045, 4110"]

    Ok thanks I will see if this works.

    i am not using a post by the way im setting the ids from the medial library in the wordpress admin yes that is correct.

    You are the man, I was doing something wrong, i made the post and put the images in there the attachment=”” works great when i refresh the page the others do not load. Sorry for my lack of understand of the post page for this to work correctly. im little new to wordpress i normally do that on from folders but I got it now. Thanks gain.

    Plugin Author Micah Wood

    @woodent

    @ashton139,

    Well, the ‘attachment’ attribute isn’t actually implemented in the plugin… I was merely pitching it to you as a potential feature. However, it seems that the default shortcode is performing as you were expecting then?

    Oh, ok, I like that feature in the future thou since is a bit more strict to keep certain images in a pits that could be used for other purpose as well. Let’s say I only want to have one post 1100 for all random images instead of having to make more post I could just keep one post for all my images across other layouts. Does this make sense? Thanks again.

    hi there. Firstly, is the plugin compatible with 4.0? Also can it manage multiple images on a page (not post)?

    Thanks!

    ashton139

    @ashton139

    Yes catxnc i have upgraded to 4.0 all works fine. no problems there. hope that helps. i am using mine on a page. the post is just the linking base for the images to load from.

    ok grea thanks for the info. Can it manage multiple images on a page?

    ashton139

    @ashton139

    yes it can. your welcome.

    Plugin Author Micah Wood

    @woodent

    @ashton139,

    Just wanted to let you know that I added the ‘attachment’ shortcode attribute with the latest release. You can read the updated shortcode documentation here: http://wordpress.org/plugins/mpress-image-refresh/faq/.

    ashton139

    @ashton139

    thanks allot man, i appreciate it.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Resolved] loading only the images you want in media folder’ is closed to new replies.