Message Boards Message Boards

0
|
10039 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Inserting Images with webMathematica

Posted 9 years ago

Hello everybody,

I have some problems inserting images with webMathematica. There are some examples of jsp code on the wolfram website, but i didn't get how the authors of the examples inserted the images in the code. In order to edit the jsp files i'm using eclipse. I tried to write the file name with the extension, but it didn't work. Here you can see an example: http://demonstrations.wolfram.com/sourcecode.html?demoname=SegmentingAMedicalImage&demodisplayname=Segmenting%20a%20Medical%20Image

Could anyone please help me?

Thank you very much in advance, Daniel

POSTED BY: D H D
3 Replies

Hello Sir , I am Kashif, and saw your conversation that was helpfull, but i am facing the similar problem that how to insert an image in different coded grid like in my attached file. i am trying your suggested way but remained unsuccessful, Can you please help me to sort out this problem.

Thanks

Attachments:
POSTED BY: Kashif Nazar
Posted 9 years ago

Thanks Sean, your comment was really useful. I found out there is another way to use an image in the code. You just have to do a click-holding on an image and put it directly in your code.

Best regards

POSTED BY: D H D

You can insert an image into a Mathematica notebook like shown in the picture, but you can't do that in eclipse. The code you linked to is not JSP code. It is Wolfram Language code.

To use an image in your code, you generally first have to import it. In the Wolfram language that's just using the Import function:

http://reference.wolfram.com/language/ref/Import.html

POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract