Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Based on the following image attach procedure, can a Dynamic app be developed that:

  1. at start, only shows a small import button
  2. once clicked, opens a choose image file dialog
  3. after the image file chosen by the user, asks for representation dimension (pixels or percentage of the screen, etc), some other stuff possible: type and degree of compression (native, JPG, etc), frame, tear down effect etc
  4. after options chosen, removes the button and replaces it with the low footprint image following the chosen options
  5. right click on the image, and we can choose two "empty" the space (to restart the process)

Actually, there should be two import buttons: one for a file dialog, and another for importing from the clipboard (very useful when used with a screen snag tool).

An output cell with this dynamic app could then be easily duplicated and past to different notebooks, in order to facilitate the procedure of the above referenced post.

share|improve this question
Isn't a palette a better fit for that kind of functionality? – Dr. belisarius Oct 11 '12 at 11:46
@belisarius you are probably right. Either way, the end result is a Dynamic cell that, with very little extra footprint, can include the needed code to change/update itself (the same code that would be added on the palette). This means no palette distribution needed for other editors of the same document. – P. Fonseca Oct 11 '12 at 11:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.