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

Pictures can not be inserted in table #9514

Closed
jan2803 opened this issue Aug 31, 2018 · 8 comments
Closed

Pictures can not be inserted in table #9514

jan2803 opened this issue Aug 31, 2018 · 8 comments
Labels
[Block] Table Affects the Table Block [Type] Help Request Help with setup, implementation, or "How do I?" questions.

Comments

@jan2803
Copy link

jan2803 commented Aug 31, 2018

In the classic editor, it is possible to insert a graphic into a table cell. That's great too, because sometimes you do not want the text to the picture flow around the picture.

In Gutenberg, however, this does not work anymore. There is no possibility to insert a picture in a table.
But I still want to create a table where photos are on the left and a description of the image on the right.
The block "columns" is unfortunately not usable for this.

What is needed for that?

I would like to introduce my team. For this I use a table. On the left the photo, on the right the short vita of the person. I have not found another option yet.

To say, for a picture one uses a block "picture" is not a solution.

Here must necessarily be improved.

Thank you, Jan

@ellatrix
Copy link
Member

It is possible to insert images inline into a table. To do that, set the caret in a table cell, open the "Inserter" by clicking the (+) icon at the top left of the page, scroll a bit down and open the "Inline Elements" section, click "Inline Image", select or upload an image, click the "Select" button at the bottom, and the image will appear inside the table.

@designsimply designsimply added the [Type] Help Request Help with setup, implementation, or "How do I?" questions. label Sep 11, 2018
@designsimply designsimply added the [Block] Table Affects the Table Block label Nov 30, 2018
@jepser
Copy link

jepser commented Mar 4, 2019

@ellatrix I don't see the (+) icon when focusing in one cell in the table. Can you assure that by version 5.1 it still like that?

@ellatrix
Copy link
Member

ellatrix commented Mar 7, 2019

@jepser There should be a + icon in the top left corner. It should work in earlier versions. #14233 will hopefully make it easier to find the button.

@kachan64
Copy link

Thanks alot. It works! Wish Wordpress made it easier.

@mkitcowt
Copy link

Running wordpress 5.2.1 and this solution does NOT work. There is no "Inline Elements" option when clicking on "+". Other attempts to add an image in a table result in the image outside the table.
Any suggestions?
(Not a fan block mode ... maybe its the learning curve but it seems as if Wordpress is trying to build a better mousetrap.)

@ellatrix
Copy link
Member

@mkitcowt This has now been moved to the rich text tools. Click the arrow down next to bold, italics and link, then you'll see a button to insert an image inline.

@mkitcowt
Copy link

@ellatrix Thank you. But is there an option for a URL?

@asherber
Copy link

asherber commented Dec 8, 2019

Doesn't look like there's a way to add an image via URL using this method. I think you have to edit the HTML source of the table and insert the img tag by hand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Table Affects the Table Block [Type] Help Request Help with setup, implementation, or "How do I?" questions.
Projects
None yet
Development

No branches or pull requests

7 participants