Skip to content

Gallery: choosing thumbnail size #1450

Closed

Description

@mtias

This is not a great experience in core at the moment, but since some themes / people may be relying on specific thumbnail generation for galleries, it'd be good to offer that option in the inspector, to choose a specific thumbnail size from the registered ones.

Activity

  1. added
    [Type] QuestionQuestions about the design or development of the editor.
    on Jun 26, 2017
  2. paulwilde commented on Jun 26, 2017

    @paulwilde
    Contributor

    A consideration is that these options can currently be filtered in core with the image_size_names_choose filter.

  3. kopepasah commented on Jun 29, 2017

    @kopepasah
    Contributor

    @mtias by "thumbnail size" I assume you referring to a registered image size. If that is the case this might be an issue because the registered image size may not have an image size stored in the upload directory, as adding an image size does not resize the currently uploaded images.

  4. kopepasah commented on Jun 29, 2017

    @kopepasah
    Contributor

    I see @mkaz and @jasmussen are assigned this issue (as of this comment). Are either of you currently working on this implementation?

  5. jasmussen commented on Jun 29, 2017

    @jasmussen
    Contributor

    Are either of you currently working on this implementation?

    I'm not, and I don't think Marcus has started yet either. We have a few other tickets to look at also, https://github.com/WordPress/gutenberg/issues/assigned/mkaz so please feel free to take this one if you're feeling adventurous, would really apprecaite it. Worst case, you can push your work early, and ping us, and we can work together.

    💓

  6. mkaz commented on Jun 29, 2017

    @mkaz
    Member

    Correct, I'm still working on #1444 #1445 and #1447 which all involve gallery & media modal - so haven't started on this one yet

  7. jasmussen commented on Jun 29, 2017

    @jasmussen
    Contributor

    Reassigned this one to you, @kopepasah, but if it drops off your radar for any reason (understandable), just ping us and we'll be back on!

  8. added
    [Feature] MediaAnything that impacts the experience of managing media
    on Jun 29, 2017
  9. 25 remaining items

  10. Backpackstudio commented on Apr 11, 2019

    @Backpackstudio

    To be honest, it's a disaster to not have an option to choose thumbnail size for gallery.

  11. drewclifton commented on May 2, 2019

    @drewclifton

    Any updates on this? As I run into this issue and reflect on its ramifications, I'm actually surprised the gallery block was even released in this state. Thank you!!! 😃

  12. patbar5 commented on Jul 12, 2019

    @patbar5

    Ref the tip :
    Defining a fixed height for the class .blocks-gallery-item seems to do the trick. In my case:
    .blocks-gallery-item {
    height: 150px;
    }

    Any tips how to handle the image width ? I tried the below...not working on mobile/cell phones
    .blocks-gallery-item {
    height: 150px;
    width: 150px;
    }

  13. simboonlong commented on Nov 6, 2019

    @simboonlong

    +1

  14. TheAggressive commented on Nov 17, 2019

    @TheAggressive

    2 years later and this is still not fixed? Why are we sending large images over cellular networks? Wouldn't be better to load thumbnail images rather than large size that would have to be converted with CSS to appear as thumbnails? WordPress prides itself on being backwards compatible but this compatibility is broke in this block component. I would strongly consider fixing issues before continuing on new features. Priority should be HIGH

  15. assigned and unassigned on Nov 18, 2019
  16. added a commit that references this issue on Feb 28, 2020
  17. frogdesk commented on Oct 14, 2020

    @frogdesk

    Adding the images size selector didn't fix this problem. The gallery should use one size for the thumbnails and a different size for the full size. That is the problem to begin with. This should have been a release blocker.

  18. natedolesh commented on Jan 13, 2021

    @natedolesh

    Agreed that this still seems to be an issue in 2021. I try to select Thumbnail from the dropdown, but it just goes back to Large.
    After so many iterations, we don't have a functional gallery block?

  19. umviajante commented on Mar 10, 2021

    @umviajante

    same problem around here and I still haven't figured out a solution ...

  20. frogdesk commented on Mar 10, 2021

    @frogdesk

    same problem around here and I still haven't figured out a solution ...

    Unfortunately that is because there is no solution, evidently the Gutenberg developers see the gallery block as a developer example and not as an actually usable production level block. It is most unfortunate that this block is even included in general WordPress releases because it is clearly not intended for production use.

  21. skorasaurus commented on Mar 10, 2021

    @skorasaurus
    Member

    @frogdesk & @umviajante @natedolesh

    I agree that the larger images are still being loaded; is really frustrating.
    I was curious myself about the status of it so I wrote this recap a couple weeks ago that summarizes the issues around loading larger than necessary images in Gutenberg.

    There's not quite one 'issue' at the moment that developers are uniting around (and this issue spans multiple issues.
    So to keep track of the progress around it but #20778 may be helpful.

  22. radogado commented on Mar 11, 2021

    @radogado

    It is unsustainable to insert 100 images at full size and the app will break. We need the old style gallery with thumbnails. Maybe stability should be top priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Block] GalleryAffects the Gallery Block - used to display groups of images[Feature] BlocksOverall functionality of blocks[Feature] MediaAnything that impacts the experience of managing media[Priority] LowUsed to indicate that the issue at hand isn't a top priority to address and can be handled later[Type] EnhancementA suggestion for improvement.[Type] QuestionQuestions about the design or development of the editor.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions