How your info panel looks like?

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
FKCapitalism2
Posts: 300
Joined: Sun Apr 23, 2023 5:14 am

How your info panel looks like?

Post by FKCapitalism2 »

I am trying to revamp info panel ("i" key) i had for years and looking for inspiration, mind sharing your info panel screenshot and code you used to populate it?

Currently my info panel looks like this
Image
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

Re: How your info panel looks like?

Post by user0 »

something like this:
Info - add 'HTML only' mode
FKCapitalism2
Posts: 300
Joined: Sun Apr 23, 2023 5:14 am

Re: How your info panel looks like?

Post by FKCapitalism2 »

I have updated my preview to look like this.

Image

Code: Select all

<font style="text-transform: uppercase; font:30px;">
<b>{EXIF:Make}</b> - <b>{EXIF:Model}</b></font>

<font style="font:14px;"><b>Software	:</b> {EXIF:Software}</font>
<div style="font:18px; background: gray;">
<b>File	:</b> {File Type}
<b>Name 	:</b> {Filename With Ext}
<b>Size	:</b> {Size}
</div><div></div>
<font style="font:20px;"><b>{MPixels} MP</b> ({Width} x {Height})</font>
<font style="font:15px;"><div style="background: gray;">
<b>Shutter Speed	:</b> {EXIF:Exposure Time}
<b>ISO		:</b> {EXIF:ISO Value} 
<b>Aperture		:</b> {EXIF:Aperture} ({EXIF:F-Number})
</div><div></div>
<b>Exposure Mode	:</b> {EXIF:Exposure Mode}
<b>Exposuire Bias	: </b> {EXIF:Exposure Bias} EV
<div style="background: gray;">
<b>Lens		:</b>{EXIF:Lens Make} {EXIF:Lens Model}
<b>Focal Length	:</b> {EXIF:Focal Length}mm (<b>FF:</b> {EXIF:Focal Length 35mm}mm)
<b>Digital Zoom	:</b> {EXIF:xA404}x
</div><div></div>
<b>Scene Brightness	:</b> {EXIF:Brightness}
<div style="background: gray;">
<b>Lat	:</b> {EXIF:Latitude} 
<b>Lng	:</b> {EXIF:Longitude}
<b>Altitude	:</b> {EXIF:Altitude}
</div><div></div>
<b>Tag:</b> {Tag status} - <b>Rating:</b> {Rating} - <b>Label:</b> {Color label}
</font>
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

Re: How your info panel looks like?

Post by user0 »

few suggestions:
- use transparency via background-color: rgba(100, 100, 100, 0.5) (or any other color), not plain background: gray
- use 2 columns structure to align all values to the left edge
FKCapitalism2
Posts: 300
Joined: Sun Apr 23, 2023 5:14 am

Re: How your info panel looks like?

Post by FKCapitalism2 »

user0 wrote: Sun Sep 24, 2023 8:39 am few suggestions:
- use transparency via background-color: rgba(100, 100, 100, 0.5) (or any other color), not plain background: gray
- use 2 columns structure to align all values to the left edge
Thanks, looks much better.
Image

Code: Select all

<font style="font:15px;">
<font style="text-transform: uppercase; font:30px;">
<b>{EXIF:Make}</b> - <b>{EXIF:Model}</b></font>

<font style="font:14px;"><b>Software	:</b> {EXIF:Software}</font>
<div style="font:18px; background: rgba(128, 128, 128, 0.5);">
<b>File	:</b> {File Type}
<b>Name 	:</b> {Filename With Ext}
<b>Size	:</b> {Size}
</div><div></div>
<font style="font:20px;"><b>{MPixels} MP</b> ({Width} x {Height})</font>
<div style="background: rgba(128, 128, 128, 0.5)">
<b>Shutter Speed	:</b> {EXIF:Exposure Time}
<b>ISO		:</b> {EXIF:ISO Value} 
<b>Aperture		:</b> {EXIF:Aperture} ({EXIF:F-Number})
</div><div></div>
<b>Exposure Mode	:</b> {EXIF:Exposure Mode}
<b>Exposuire Bias	: </b> {EXIF:Exposure Bias} EV
<div style="background: rgba(128, 128, 128, 0.5)">
<b>Lens		:</b>{EXIF:Lens Make} {EXIF:Lens Model}
<b>Focal Length	:</b> {EXIF:Focal Length}mm (<b>FF:</b> {EXIF:Focal Length 35mm}mm)
<b>Digital Zoom	:</b> {EXIF:xA404}x
</div><div></div>
<b>Scene Brightness	:</b> {EXIF:Brightness}
<div style="background: rgba(128, 128, 128, 0.5)">
<b>Lat	:</b> {EXIF:Latitude} 
<b>Lng	:</b> {EXIF:Longitude}
<b>Altitude	:</b> {EXIF:Altitude}
</div><div></div>
<b>Tag:</b> {Tag status} - <b>Rating:</b> {Rating} - <b>Label:</b> {Color label}
</font>
There's still problem with using more text in sytle="..." it makes info window wider.

Using two columns would imply using <table> tag? its currently not working very well.

Both issues described here.
Post Reply