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

 Risposta accettata

Jan
Jan il 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 Commenti

Image Analyst
Image Analyst il 20 Mag 2012
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 il 20 Mag 2012
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 il 20 Mag 2012
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 il 20 Mag 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.

Accedi per commentare.

Più risposte (2)

Jan
Jan il 20 Mag 2012

1 voto

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 il 20 Feb 2012

0 voti

Cool, easy to use trick by:
for

6 Commenti

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

Accedi per commentare.

Categorie

Scopri di più su Convert Image Type in Centro assistenza e File Exchange

Richiesto:

il 20 Feb 2012

Modificato:

il 18 Ott 2013

Community Treasure Hunt

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

Start Hunting!

Translated by