Info - add 'HTML only' mode

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

User avatar
user0
XnThusiast
Posts: 1294
Joined: Sat May 09, 2015 9:37 am

Info - add 'HTML only' mode

Post by user0 »

XnViewMP 1.4.5 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%


General - Info
table tag does not work correctly with current "plaint text with HTML tags" mode


Suggestion A
add new HTML only mode and replace "HTML tags supported" checkbox with combobox:
  • plain text
  • plain text with HTML tags
  • HTML
    - without networking features
    - text controls shall be disabled as all formatting done via style/css
    - I'm looking for table tag with word wrapping support

as in current "Support HTML tags" mode its not possible to format Info into nice looking horizontal table (6-8 columns) to achieve similar to nomacs result
issues:
  • not possible to spread Info from edge to edge
    it widens based on the longest string
  • not possible to regulate cell/table height
    forced to use single row table to minimize gaps
  • not possible to have prettified HTML (with indentations) in Settings Info
    it must be formatted in a weird way to achieve "acceptable" result (see ugly code below)
(table border=1 for better issue visualization)
Image

Code: Select all

<table height=100% width=100% border=1 cellspacing=0 cellpadding=5><tr><td width=60 align=right>{File Index}</td><td colspan=5><b><font size=4>{Filename}</font></b></td></tr><tr>
<td align=right style="color:rgb(188, 188, 188)">Type
WxH
DPI
Size
Taken</td>
<td width=200>{File Type} {EXIF:Colour space} 
{Width}<span style="color:rgb(188, 188, 188)">x</span>{Height}<span style="color:rgb(188, 188, 188)">x</span>{Bpp} <span style="color:rgb(188, 188, 188)">(</span>{RatioHW} {Ratio}<span style="color:rgb(188, 188, 188)">)</span>
{EXIF:X-Res} 
{Size KB} KB
{EXIF:Date Taken}</td>
<td width=60 align=right style="color:rgb(188, 188, 188)">Model
Shutter speed
ISO
Aperture
Focal Length</td>
<td width=200>{EXIF:Model} {EXIF:Make}
{EXIF:Shutter Speed}
{EXIF:ISO Value}
{EXIF:Aperture}
{EXIF:Focal Length 35mm}</td>
<td width=60 align=right style="color:rgb(188, 188, 188)">Image Description
Comment
Tag
Rating
Color label
Categories
</td><td>{EXIF:Image Description}
{EXIF:User Comment}
{Tag status}
{Rating}
{Color label}
{Categories}</td></tr></table>

Suggestion B
add same settings to all other places
so its possible to make some nicely aligned table in:
  • Browser's Tooltip
    not with such gaps and wraps (this is just an example):
    Image
  • Slideshow
  • Print
  • etc




Related