Skip to content
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

Use external Wikipedia CC licensed images in block examples #1106

Merged
merged 1 commit into from
Nov 12, 2019

Conversation

AnthonyLedesma
Copy link
Member

@AnthonyLedesma AnthonyLedesma commented Nov 8, 2019

This pull request uses images from https://commons.wikimedia.org/wiki/Main_Page just as core blocks have done. Used lower resolution images for the examples to help with load times.

examplesGalleryBlocks

image

image

image

@jrtashjian
Copy link
Member

Adding examples will override the style panel preview. So if we set example images in the Collage Gallery block, those images will show in the Styles panel preview rather than the ones uploaded. (Related comment)

@richtabor is this the behavior we want?

Screen Shot 2019-11-08 at 5 16 45 PM

@richtabor
Copy link
Contributor

I think it’s fine for galleries as it adds value to see what it actually looks like.

@richtabor
Copy link
Contributor

@jrtashjian Do you know if core is tracking this as a bug?

@jrtashjian
Copy link
Member

jrtashjian commented Nov 12, 2019

I'm not sure if they are but I was going to submit one if I couldn't find one. It's on my todo list. If we're ok with this behavior then I approve.

@jrtashjian
Copy link
Member

I'll merge this after I deploy our next release today so it goes into the following release.

@jrtashjian jrtashjian changed the title ISBAT see block example images if I change my wp-content directory Use external Wikipedia CC licensed images in block examples Nov 12, 2019
@jrtashjian jrtashjian merged commit e521533 into master Nov 12, 2019
@jrtashjian jrtashjian deleted the external-example-images branch November 12, 2019 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement Something new that adds functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants