Skip to content

Gallery: add missing options to inspector #1448

Closed

Description

@mtias

There are a few items we should preserve on the inspector, like linking to the attachment view of an image. Not sure how many of these we want to consider.

Activity

  1. added
    [Type] TaskIssues or PRs that have been broken down into an individual action to take
    on Jun 26, 2017
  2. jasmussen commented on Jun 26, 2017

    @jasmussen
    Contributor

    Also, we want to find a way to improve the cropping of thumbnails somehow. The current arbitrary height images isn't the most visually pleasing. Perhaps a soft-crop using object-fit.

    Edit: Ah, I see you have #1449 for that.

  3. added
    [Feature] MediaAnything that impacts the experience of managing media
    on Jun 29, 2017
  4. westonruter commented on Jul 9, 2017

    @westonruter
    Member

    Whatever options are chosen, they should align with the Gallery widget that is now in development (and vice versa): xwp/wp-core-media-widgets#120

  5. jasmussen commented on Jul 26, 2017

    @jasmussen
    Contributor

    For reference, these are the options in the current gallery:

    screen shot 2017-07-26 at 11 32 22

    By the way @mkaz it looks like in master, this button...

    screen shot 2017-07-26 at 11 33 45

    is broken ...

    screen shot 2017-07-26 at 11 33 57

    ... but only on the demo content. Is that because it's demo content, or is there a deeper underlying issue?

  6. westonruter commented on Jul 28, 2017

    @westonruter
    Member

    AFAIK, the edit button doesn't work in the demo gallery because the demo content doesn't refer to any attachments in the media library. The images are just hard-coded. So since there are no attachment IDs, there is nothing to find in the Edit Gallery frame. A way to fix this would be to construct the gallery dynamically out of a couple random images in the media library, but that would depend on there being images to begin with and also to hope they would look good in a gallery.

  7. mkaz commented on Jul 31, 2017

    @mkaz
    Member

    As of right now the gallery modals require a fair amount of data to be stored, including the thumbnail images to display properly on edit. There is issue #1986 to address the but then will require an attachment id # for it to work properly, which I'm not sure will work with demo content since it probably can't be hard-coded

  8. jasmussen commented on Aug 1, 2017

    @jasmussen
    Contributor

    Since we know for a fact that the demo content will go away at some point, it doesn't seem worth it to jump through hoops to make sure it works perfectly in every situation. In fact you could argue that a "fix" would be to not show the gallery at all — perhaps we could show a placeholder instead?

  9. mtias commented on Aug 1, 2017

    @mtias
    MemberAuthor

    In fact you could argue that a "fix" would be to not show the gallery at all — perhaps we could show a placeholder instead?

    I think being able to have galleries with media that is not in your library is still a good thing.

  10. jasmussen commented on Aug 1, 2017

    @jasmussen
    Contributor

    I think being able to have galleries with media that is not in your library is still a good thing.

    Ah, I missed that bit. Yeah absolutely.

  11. mtias commented on Aug 3, 2017

    @mtias
    MemberAuthor

    That said, definitely not something to prioritize.

  12. added
    [Priority] LowUsed to indicate that the issue at hand isn't a top priority to address and can be handled later
    on Aug 3, 2017
  13. mtias commented on Aug 4, 2017

    @mtias
    MemberAuthor

    Let's close this one as we have issues for adding the "link to" option and the thumbnail size: #1450

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

Metadata

Metadata

Assignees

Labels

[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] TaskIssues or PRs that have been broken down into an individual action to take

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions