![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168870/image.gif)
Add an image to my question
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Jan
2012-2-20
Image <<http://mathworks.com/matlabcentral/images/surf.gif>>
Result:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168870/image.gif)
4 个评论
Walter Roberson
2012-5-20
The URL given out by a number of servers is often the location of a page that contains the image as one item, instead of being the location of the image file itself. When you try to << >> such images, they do not show up. Also, in my experience using << >> does not work on https URLs such as googledocs .
Often a sufficiently motivated editor can find a direct URL to an image and use that. However, there are some sites that look at the Referer header and will refuse to show the image if the Referer is not their own site: those images will not show up even when the direct URL is given.
Jan
2012-5-20
@Image Analyst: As usual I do not see anything meaningful, when I click on your tinypic link, because I've disabled JavaScript on this page. See my new answer.
更多回答(2 个)
Jan
2012-5-20
When I open <http://tinypic.com/view.php?pic=o0z2f4&s=6> and select the image, I can right-click on the image and copy the location. Pasted here as <<http://oi50.tinypic.com/o0z2f4.jpg>> (special characters masked by HTML) leads to:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170817/image.jpeg)
Do not forget to add an empty line before the embedded image, otherwise you get this:<<http://oi50.tinypic.com/o0z2f4.jpg>> (no masking of special characters).
Image Analyst
2012-2-20
Cool, easy to use trick by:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168871/image.jpeg)
for
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168872/image.gif)
6 个评论
Jan
2012-2-21
@j_solare: Please send this as a improvement request to files@mathworks.com. If they get enough requests for this feature, it will be implemented - in the _near future_.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!