WordPress.org

Forums

MaxGalleria: WordPress Gallery Platform
[resolved] images outside the media folder (5 posts)

  1. pixel24
    Member
    Posted 1 year ago #

    Hi there,

    just testing your plugin for my gallery development and i'm impressed so far :-)

    I have a request, not sure how it can be done.
    I would like to store images outside the default media folder of WordPress based on different named folders (usually to get them organized a bit better). e.g. /images/ and then subfolders per gallery.

    Which options do i have to get this?

    https://wordpress.org/plugins/maxgalleria/

  2. arcware
    Member
    Plugin Author

    Posted 1 year ago #

    Because MaxGalleria integrates tightly with the built-in WordPress media management, this isn't an option at this time, sorry.

  3. PlaviPixel
    Member
    Posted 10 months ago #

    Ugh, this is exactly what I was looking for and now you say it isn't an option - we just imported 3000+ images from NextGen gallery and all those are now within the same folder which is an administrative nightmare... not good. I really liked and wanted to use MaxGalleria but without custom folder manipulation it's not a good solution for us - regaridng ehis specific situation :(

  4. roberto.c
    Member
    Posted 9 months ago #

    I agree with PlaviPixel.
    find one image if in the media container we have more than 1000 is a nightmare....
    I think that the idea is to connect the gallery just to the id of the post gallery id, then have the possibility to looking inside other galleries if someone need a previous uploaded image.

  5. roberto.c
    Member
    Posted 9 months ago #

    I done the first part by myself:

    open media.js file,line 16.

    After "maxgalleria_media_frame = wp.media.frames.maxgalleria_media_frame = wp.media({" add this:

    library: {'type' : 'uploadedTo'}

    final code:

    maxgalleria_media_frame = wp.media.frames.maxgalleria_media_frame = wp.media({
    			// Use our own custom class name to avoid CSS conflicts
                className: "media-frame maxgalleria-media-frame",
    			library: {
    					'type' : 'uploadedTo'
    				},
    			// The other option here is setting the frame to "select"
                frame: "post"
            });

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.