Add an image to my question

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

 Accepted Answer

Jan
Jan on 20 Feb 2012
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 Comments

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.
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?
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 on 20 May 2012
@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.

Sign in to comment.

More Answers (2)

Jan
Jan on 20 May 2012
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 on 20 Feb 2012
Cool, easy to use trick by:
for

6 Comments

Jan
Jan on 20 Feb 2012
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_.
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 on 20 Feb 2012
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.
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.
thanks for the answers guys. I agree with the Matlab server option.
Jan
Jan on 21 Feb 2012
@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_.

Sign in to comment.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 20 Feb 2012

Edited:

on 18 Oct 2013

Community Treasure Hunt

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

Start Hunting!