Libraryless. Click here for Pure Java version (97L/1K/3K).
!752 static S html(S subUri, Map<S, S> params) { S id = params.get("id"); if (id == null) ret "please specify id"; S imgURL = snippetImageURL(id); ret "<html><head><title>TinyBrain Image</title></head>\n" + "<table width='100%' height='100%' border=0><tr><td align=center><img src=" + htmlQuote(imgURL) + "></td></tr></table>\n" + "<body></body></html>"; }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002138 |
Snippet name: | HTML Image Bot - serve an image in the center of the screen |
Eternal ID of this version: | #1002138/1 |
Text MD5: | 5fefb8d1efdf57f793542aa5e4aff569 |
Transpilation MD5: | d83c705f9a79fd4844a8228d276ab865 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-12-21 20:34:41 |
Source code size: | 382 bytes / 10 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 610 / 1249 |
Referenced in: | [show references] |