I need to add an image to my question but I can't find an option for it. Is it possible? ty

 채택된 답변

Jan
Jan 2012년 2월 20일

0 개 추천

Follow the Markup help link on this page. There you find the hint:
Image <<http://mathworks.com/matlabcentral/images/surf.gif>>
Result:
Btw.: The third most voted question in this forum is: Answers: how to post pictures
Here you find descriptions where pictures can be stored: Answers: Where to upload images

댓글 수: 4

Image Analyst
Image Analyst 2012년 5월 20일
But Jan, this doesn't always work. I've tried to edit questions posted, to add double angle brackets around their link and it doesn't seem to work, at least not for the original question. It seems to work for Answers but not for the original question, at least it didn't when I try to edit the original question.
Image Analyst
Image Analyst 2012년 5월 20일
Maybe it has to end with an actual image format file, and not be a link to a database. So even though you can click on (for example) http://tinypic.com/view.php?pic=o0z2f4&s=6 and go directly to the image, if you put double angle brackets around this, it won't show you the image. The one difference I see is that it has some special code to tell it the image ID#, and is not an image file directly. Is there anyway around this?
Walter Roberson
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
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
Jan 2012년 5월 20일

1 개 추천

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:
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
Image Analyst 2012년 2월 20일

0 개 추천

Cool, easy to use trick by:
for

댓글 수: 6

Jan
Jan 2012년 2월 20일
I do not understand this. Perhaps I've recommended to follow the "Markup help" link too often to think that this is _cool_ or a _trick_.
Image Analyst
Image Analyst 2012년 2월 20일
The double angle brackets is convenient. I had thought we needed to do something like <href=" blah blah blah. But then, it's been a while since I looked up the tutorials on formatting postings.
Jan
Jan 2012년 2월 20일
Ok, thanks for the explanation. Unfortuantely we cannot upload the pictures to a MathWorks server. The other servers will remove the pictures after some months or years and the corresponding messages in this forum will become meaningless.
Image Analyst
Image Analyst 2012년 2월 21일
Yes, that would be very nice if we could upload images directly to the Mathworks server. It's always seemed a bit odd to me that we have to use third party services like tinypic.com to post images whose only use is to be used for an Answers forum post.
j_solar
j_solar 2012년 2월 21일
thanks for the answers guys. I agree with the Matlab server option.
Jan
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_.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

질문:

2012년 2월 20일

편집:

2013년 10월 18일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by