-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gallery: add missing options to inspector #1448
Comments
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 Edit: Ah, I see you have #1449 for that. |
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 |
For reference, these are the options in the current gallery: By the way @mkaz it looks like in master, this button... is broken ... ... but only on the demo content. Is that because it's demo content, or is there a deeper underlying issue? |
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. |
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 |
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? |
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. |
That said, definitely not something to prioritize. |
Let's close this one as we have issues for adding the "link to" option and the thumbnail size: #1450 |
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.
The text was updated successfully, but these errors were encountered: