WordPress.org

Ready to get started?Download WordPress

Ideas

Add 'Size' to Gallery Shortcode

  1. bahia0019
    Member

    When using the Gallery Shortcode, you have the option to change the following Gallery Settings:
    Link To:
    Columns:
    Random Order:

    But what's missing is 'Size'.
    A lot of professional photographers use 1 column of Large size images in their blog posts.
    I attempted to try to write a plugin (would have been my first) for this, but ended up way over my head, and couldn't find a way to do it.

    While you can now Insert Selected Photos in the 3.5 Media Uploader,
    1. You have to tell each photo what size to be (very annoying when inserting 30 or more photos).
    2. Using the Gallery is easier to reorder the images if needed after publishing.

    Thanks! Love y'all.

    Posted: 1 year ago #
  2. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod

    Size isn't missing.

    http://codex.wordpress.org/Gallery_Shortcode

    S'right there :)

    Posted: 1 year ago #
  3. bahia0019
    Member

    Yes, I'm aware of that, but you have to write it in to the shortcode.
    It would be used more if it were in the GUI, and people could select it.
    See Screenshot

    Posted: 1 year ago #
  4. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod

    AH, you didn't say GUI :)

    Posted: 1 year ago #
  5. LeyCosmica
    Member

    Would it be very difficult to put a control panel that allows modify limitations as indicating bahia?

    I see there are many wp users who are always suggesting things, and I think you could fix everything with a control panel for making the parameters to measure each.

    I am not aware of the difficulty for devolopers but I think to be great.

    (Incidentally Mika, could you check my comments in other posts?, I think the comments hace reconsidered spam, Thanks!)

    Posted: 1 year ago #
  6. John Stones
    Member

    I need a way to not give a certain amount of columns for a responsive theme. The solution should put each image beside each other regarding the viewport. If the end of a row is reached the next image should float left to the next row. And NOT presenting them in a masonry wall. Can I somehow disable the fix column amount?
    Any help would be great! Thanks in advance.

    Posted: 1 year ago #
  7. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod

    Please post help requests to http://wordpress.org/support/

    Posted: 1 year ago #
  8. Slabescu
    Member

    12345

    Sounds like a great idea! +1

    Posted: 1 year ago #
  9. Unsal Korkmaz
    Member

    I am not sure if its necessary for core but its possible to make it with custom function (plugin or theme's functions.php)

    I had similar problem to change gallery panel which i found solution and wrote on my blog:
    http://unsalkorkmaz.com/wp3-5-media-gallery-edit-modal-change-captions-to-title/

    your section to change is tmpl-gallery-settings

    If you cant handle it, contact me from my blog, i will write a tutorial for it

    Posted: 1 year ago #
  10. jennsenth
    Member

    Its really a great idea
    Why are you using this code - especially maybeReadOnly

    <input type="text" value="{{ data.title }}" class="describe" data-setting="title"
    placeholder="<?php esc_attr_e('Caption this imageā€¦'); ?>" {{ maybeReadOnly }} />

    Can you explain?

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    6 Votes
  • Status

    This idea is under consideration