how do i attach an image in the body section for asking a question
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
更多回答(1 个)
Image Analyst
2013-3-4
There is an image icon to paste your image link directly into your post here. See the green and blue image with the brown frame around it. However around half or more of the links I've tried pasting don't display the image, just the link with extra angle brackets. In that case I've just pasted a regular link via the chain link icon. I don't know why the image icon doesn't work all the time, with all links - maybe someone else knows. For example, this one: <http://snag.gy/EY1FL.jpg>
3 个评论
Image Analyst
2013-3-4
OK, let's try this, on a completely separate line:
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
OK that seems to work. I think there were some other issues too that we discussed a long time ago, like problems if it had https instead of http or something like that.
Actually here's one of the links tinypic.com gives that will work if you paste it into the address field, but not here:
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
(You have to edit it to see the link - it says http://tinypic.com/r/352f6dt/6 - it doesn't show up for some reason, not even with angle brackets.) I guess it doesn't work because the link doesn't end in .jpg or some other official image format extension.
Walter Roberson
2013-3-4
That is not a link to an image: it is a link to an HTML page. One of the image links there is
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/178410/image.jpeg)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!