Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Embed Image in Post

 
Ron McLeod
Bartender
Pie
Posts: 919
58
Android Eclipse IDE Java Linux MySQL Database Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At times I find it value to be able to embed images like screen captures of UI. I have been able to do this using the [img] tag, but that creates a link to where I host the image. It there a way to actually upload the image to the coderanch.com, so that the image will not disappear from the post if I end-up removing it from my site someday?

Thanks.

If this is the wrong forum for this question, please let me know where I should post.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Click on "Attachments" beneath the posting box.
 
Ron McLeod
Bartender
Pie
Posts: 919
58
Android Eclipse IDE Java Linux MySQL Database Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks - I'll give it a test here (didn't see a sandbox anywhere on the site).

It looks like it does work - too bad it does not show-up in the Preview.
Thanks for the help.

android-R-class.png
[Thumbnail for android-R-class.png]
Hover-over the R
 
Campbell Ritchie
Sheriff
Pie
Posts: 49382
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is usually better to cut‑‑paste text than to add screenshots, however. Text would show up on preview.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12145
30
Chrome Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
other advantages to text:

it is searchable
others can cut'n'paste it into other files - like if they want to try compiling the code themselves.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agree with the others; images are fine for things that cannot be shown in text. But please post text as text.
 
Ron McLeod
Bartender
Pie
Posts: 919
58
Android Eclipse IDE Java Linux MySQL Database Redhat
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:It is usually better to cut‑‑paste text than to add screenshots, however. Text would show up on preview.

Understood. In this case I wanted to show that hovering-over the R class would pop-up a box with the fully qualified class name. The code wasn't relevant.

Thanks again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic