Here is news! It happens that OpenJump already supports this capability. Just use View > Map Tooltips! Tooltips are HTML formatted so simply putting a correctly formatted image tag into a string field will make the picture show up in the tooltip.
Some example image tags are: Web: <img src="http://images.google.com/intl/en_ALL/images/images_hp.gif"> File path with drive: <img src="file:///C:/pictures/sample1.jpg"> File path without drive: <img src="file:///pictures/sample1.jpg"> To limit the size of images, you can include the height and width limits: <img width=276 height=110 src="http://images.google.com/intl/en_ALL/images/images_hp.gif"> Relative paths do not seem to be possible in this context. regards, Larry Becker On 10/11/07, Larry Becker <[EMAIL PROTECTED]> wrote: > What timing! I just got the new issue of ArcUser today and one of the > articles is about just such a link tool, roll over pop-up and all. > > http://www.esri.com/news/arcuser/0807/uraniumaps.html > > Larry > > On 10/10/07, Michaël Michaud <[EMAIL PROTECTED]> wrote: > > > > >In Java is there a cross platform way to request the operating system > > >open an appropriate application for a URL? If there is then we don't > > >have to manage the mapping between types of URI and the applications to > > >launch them. > > > > > > > > There are also some new capabilities in java 6 (issued from jdic project) > > http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/desktop_api/ > > > > Michaël > > > > >Paul > > > > > >Stefan Steiniger wrote: > > > > > > > > >>Ohh.. Larry together with Paul you are really fighting about the > > >>"programmer of the month" medal ;) > > >> > > >>i love your proposal! (even because you are a better programmer than i > > >>am. > > >> > > >>it is quite nice that you simply ask your inhouse customers, and if > > >>all scream "yeeeeess", you can get some time for a needed feature. > > >> > > >>stefan > > >> > > >>Larry Becker schrieb: > > >> > > >> > > >>>I talked to our internal SkyJUMP users and they were excited about the > > >>>capability to get picture links on the map, so perhaps I can justify a > > >>>few hours of work time on the project. > > >>> > > >>>Here are some ideas: > > >>> > > >>>1. Use a URL stored in an attribute (ex: JUMP_LINK) to specify the > > >>>link target. JUMP_LINKS will work only on point features. > > >>> > > >>>2. JUMP_LINK points could be styled with a special icon so the user > > >>>can find them. > > >>> > > >>>3. A Link cursor tool could be put on the toolbar. It would activate > > >>>the link when a JUMP_LINK point is clicked. > > >>> > > >>>4. The tool would probably just launch a web browser window to > > >>>display the link. This would work for documents of most common types > > >>>like pictures, html, pdf, and others. > > >>> > > >>>5. For some special document types like jpeg that can be easily > > >>>handled by Java, the tool could generate a preview when the Link tool > > >>>hovers over a JUMP_LINK (as the Vista Taskbar does). > > >>> > > >>>comments? > > >>> > > >>>Larry Becker > > >>> > > >>>On 10/10/07, Giuseppe Aruta <[EMAIL PROTECTED]> wrote: > > >>> > > >>> > > >>>>--- Larry Becker <[EMAIL PROTECTED]> ha scritto: > > >>>> > > >>>>Hi Larry, > > >>>>and thanks for the explanation. > > >>>> > > >>>> > > >>>> > > >>>> > > >>>>> I think Stefan was talking about storing an http > > >>>>>hyperlink in a > > >>>>>feature attribute. Making a hyperlink cursor tool > > >>>>>that looks for this > > >>>>>hyperlink attribute and launches a web browser > > >>>>>window when the feature > > >>>>>is clicked is not too difficult. It might take me a > > >>>>>day or two. > > >>>>> > > >>>>> > > >>>>************************** > > >>>> > > >>>> > > >>>> > > >>>>>The tool would basically look at the text inside the > > >>>>>link attribute > > >>>>>and launch the appropriate program based on the > > >>>>>data. For instance, > > >>>>>it could launch a picture viewer if the link > > >>>>>attribute contained the > > >>>>>path to a jpeg. > > >>>>> > > >>>>>Is this what you envisioned? > > >>>>> > > >>>>> > > >>>> I was really think about this kind of tool. This is > > >>>>an old Ravi's question that I put forward. I also > > >>>>think it would be usefull for many kinds of userd > > >>>>(geologists, foresters, etc) who works a lot with > > >>>>photoes. > > >>>> > > >>>>Peppe > > >>>> > > >>>> > > >>>> ___________________________________ > > >>>>L'email della prossima generazione? Puoi averla con la nuova Yahoo! > > >>>>Mail: http://it.docs.yahoo.com/nowyoucan.html > > >>>> > > >>>>_______________________________________________ > > >>>>jump-users mailing list > > >>>>[email protected] > > >>>>http://lists.refractions.net/mailman/listinfo/jump-users > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >>_______________________________________________ > > >>jump-users mailing list > > >>[email protected] > > >>http://lists.refractions.net/mailman/listinfo/jump-users > > >> > > >> > > > > > >_______________________________________________ > > >jump-users mailing list > > >[email protected] > > >http://lists.refractions.net/mailman/listinfo/jump-users > > > > > > > > > > > > > > > > _______________________________________________ > > jump-users mailing list > > [email protected] > > http://lists.refractions.net/mailman/listinfo/jump-users > > > > > -- > http://amusingprogrammer.blogspot.com/ > -- http://amusingprogrammer.blogspot.com/ _______________________________________________ jump-users mailing list [email protected] http://lists.refractions.net/mailman/listinfo/jump-users
