I have tried several variations of this and others. If I point at the file and tell chrome to open the file then chrome opens them easily and no problem The path is then file:///C:/tmp/spil/101.png
------------ plot.html <html> <body> <div id= class="boxcenter"> <div class="layer"><img src="c:\tmp\spil\112.png"/></div> <div class="layer"><img src="c:\tmp\spil\113.png"/></div> <div class="layer"><img src="c:\tmp\spil\110.png"/></div> <div class="layer"><img src="c:\tmp\spil\111.png"/></div> <div class="layer"><img src="c:\tmp\spil\103.png"/></div> </div> </body> </html> --------------- in chrome it works fine file:///C:/Users/bjorn/j701-user/temp/plot.html opens five cards in JHS do not know how to get it to work jmarka_jhs_,('src="~temp\plot.html"'),jmarkz_jhs_ src="~temp\plot.html" What most of them do that do not work is open up an img field with nothing in them In GTK this here works fine load'viewmat' a=. readimg_jgtk_ 'c:\tmp\spil\101.png' b=. readimg_jgtk_ 'c:\tmp\spil\111.png' c=. readimg_jgtk_ 'c:\tmp\spil\110.png' d=. readimg_jgtk_ 'c:\tmp\spil\104.png' e=. readimg_jgtk_ 'c:\tmp\spil\113.png' viewrgb a,.b,.c,.d,.e 2012/1/22 bill lam <bbill....@gmail.com> > Try prefix with file:// > > file:///c:/pathto/file > or > file://c:/pathto/file > > But this does not fetch files through web serber. Anyway a sane web > server should only allow access files relative to its document root, > not filesystem root. > > Вск, 22 Янв 2012, Björn Helgason писал(а): > > '<!-- j html output a --><img width=71px height=96px > > src="~temp\113.png?2012_1_22_10_59_51_952_45" ></img><!-- j html > > output z -->' > > '<!-- j html output a --><img width=71px height=96px > > src="C:\Users\bjorn\j701-user\temp\113.png?2012_1_22_10_59_51_952_45" > > ></img><!-- j html output z -->' > > > > giving fully qualified name to the same file does not work > > > > 2012/1/22 Björn Helgason <gos...@gmail.com> > > > > > does not work > > > > > > jmarka_jhs_,'<img width=71px height=96px > src="c:/tmp/spil/113.png?2012_1_22_11_4_19_65_47" ></img>' ,jmarkz_jhs_ > > > > > > > > > works > > > > > > jmarka_jhs_,'<img width=71px height=96px > src="~temp\113.png?2012_1_22_10_59_51_952_45" ></img>',jmarkz_jhs_ > > > > > > > > > 2012/1/22 Björn Helgason <gos...@gmail.com> > > > > > >> > > >> <img width=71px height=96px > src="~temp\113.png?2012_1_22_10_59_51_952_45" ></img> > > >> > > >> this works > > >> > > >> > > >> <img width=71px height=96px > src="c:\tmp\spil\113.png?2012_1_22_11_4_19_65_47" ></img> > > >> > > >> this does not work > > >> > > >> 2012/1/22 Björn Helgason <gos...@gmail.com> > > >> > > >>> a=. 9!:36'' > > >>> > > >>> 9!:37[ 4$0,1000+#t hrplc_jhs_ 'WIDTH HEIGHT FILE > UQS';w;h;'c:\tmp\spil\113.png';jhsuqs'' NB. allow lots of html formatted > output > > >>> > > >>> smoutput jmarka_jhs_,(t hrplc_jhs_ 'WIDTH HEIGHT FILE > UQS';w;h;'c:\tmp\spil\113.png';jhsuqs''),jmarkz_jhs_ > > >>> 9!:37 a > > >>> a=. 9!:36'' > > >>> > > >>> 9!:37[ 4$0,1000+#t hrplc_jhs_ 'WIDTH HEIGHT FILE > UQS';w;h;'~temp\113.png';jhsuqs'' NB. allow lots of html formatted output > > >>> smoutput jmarka_jhs_,(t hrplc_jhs_ 'WIDTH HEIGHT FILE > UQS';w;h;'~temp\113.png';jhsuqs''),jmarkz_jhs_ > > >>> > > >>> same here > > >>> > > >>> 2012/1/22 Björn Helgason <gos...@gmail.com> > > >>> > > >>>> jhspng'~temp/113.png' > > >>>> jhspng'c:\tmp\spil\113.png' > > >>>> > > >>>> I have png playing cards > > >>>> > > >>>> When I have the cards in the folder c:\tmp\spil\ the card does not > > >>>> display. > > >>>> > > >>>> When the same card is in ~temp/ it is fine > > >>>> > > >>>> > > >>>> > > >>>> -- > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm