Page 1 of 1

Custom design for Thumbnail tag boxes

Posted: Fri Apr 12, 2013 11:42 pm
by orbspider
May i suggest an improvement be made to the tag boxes on files?

1st of all, I find them small and hard to see if tagged or not. How about a colored square above a thumbnail (only when tagged) ?

wait a minute, if they are PNG images, can I change them myself?

Re: Thumbnail tag boxes

Posted: Sat Apr 13, 2013 10:15 pm
by XnTriq
Hi orbspider (o:
  1. Download XnViewMP-051-win.zip.
  2. Extract \XnViewMP\UI\icons\extra.png from the downloaded archive.
  3. Edit the checkbox icons in extra.png to your liking.
  4. Put the edited file in the \UI\icons\ subfolder of your XnViewMP installation.
  5. Tell me if it worked.

Re: Thumbnail tag boxes

Posted: Sat Apr 13, 2013 10:34 pm
by orbspider
Hi,
well there wasn't exactly a sub-dir of any sort in UI/ just icons, same as the Linux UI/ directory (just got arrow icons and checkbox icons for categories I think.)

Re: Thumbnail tag boxes

Posted: Sat Apr 13, 2013 10:45 pm
by XnTriq
orbspider wrote:well there wasn't exactly a sub-dir of any sort in UI/ just icons, same as the Linux UI/ directory (just got arrow icons and checkbox icons for categories I think.)
Oops, you're right. Sorry 'bout that \-:
These icons came only with the beta of v0.51!
extra.png
extra.png (3.94 KiB) Viewed 843 times

Re: Thumbnail tag boxes

Posted: Sat Apr 13, 2013 11:16 pm
by orbspider
that "exra.png" I save that, cut out the bit I want, edit colour, and mv to /opt/XnView/UI/icons

what files names do the icons need?

Re: Thumbnail tag boxes

Posted: Sat Apr 13, 2013 11:25 pm
by XnTriq
orbspider wrote:what files names do the icons need?
The name of the file has to be extra.png and the dimensions have to be 195×13 pixels.
You're not supposed to crop extra.png or save the checkbox icons as separate files.

Re: Thumbnail tag boxes

Posted: Sat Apr 13, 2013 11:30 pm
by orbspider
I c, but how does xnview app take out the part of the png for display? it must work by taking pixels of the png ??

anyway will try it...

Tried, no change to the tag boxes.
gota hit the sack, will b back :arrow:

Re: Thumbnail tag boxes

Posted: Sat Apr 13, 2013 11:45 pm
by XnTriq
orbspider wrote:but how does xnview app take out the part of the png for display? it must work by taking pixels of the png ??
Correctomundo. Upon start-up, XnViewMP looks for a file named extra.png in the \UI\icons\ folder and extracts the first 13² pixels to be used as the icon for the activated checkbox of tagged files.

Let me give you an example:

Re: Thumbnail tag boxes

Posted: Sat Apr 13, 2013 11:50 pm
by orbspider
i'm still here, perhaps my extra.png is in the wrong place, its in /opt/XnView/UI/icons/ (Linux)
ta for the help

Re: Thumbnail tag boxes

Posted: Sun Apr 14, 2013 12:00 am
by XnTriq
I'm at my wits' end )-:
It definitely worked that way in v0.51 for Windows. Perhaps Pierre has changed something since then? We''ll have to wait and see what he says.

Re: Thumbnail tag boxes

Posted: Mon Apr 15, 2013 12:38 pm
by xnview
could you send me your extra.png?

Re: Thumbnail tag boxes

Posted: Mon Apr 15, 2013 1:44 pm
by orbspider
Yes, I forgot to upload it.
I just filled the icon areas with color and exported it to png (using GIMP)

Re: Thumbnail tag boxes

Posted: Tue Apr 16, 2013 3:04 am
by xnview
Ok, a bug i'll fix it