More Intelligent "Show dimensions ... on thumbnail"

Features wanted...
TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

More Intelligent "Show dimensions ... on thumbnail"

Post by TheQwerty »

I'd like to see the "Show dimensions of original image on thumbnail" setting become smart enough (or have a new setting/tweak) that it would only show the dimensions if doing so would not obscure the majority of the thumbnail and if the dimensions can be read.


It's pointless to cover up most of the image (16x16) with a bar too small to display the dimensions (32x32), but just as annoying to have to change the setting when changing views (128x128).



A less elegant but equally effective solution would be to allow this setting to be defined differently for each Size. But if you wanted to go that way, it's going to open a door of wishes to allowing the user to define as many (or as few) thumbnail views as they'd like, and having most of the current global Thumbnail options become tied to the individual views instead.

admin
Site Admin
Posts: 66361
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: More Intelligent "Show dimensions ... on thumbnail&

Post by admin »

What thumbnail size do you use?

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

That was the point of the numbers in parentheses. :P

16x16
32x32
128x128

admin
Site Admin
Posts: 66361
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

TheQwerty wrote:That was the point of the numbers in parentheses. :P

16x16
32x32
128x128
16x16! Pretty extreme...

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

Yep.. I suspect my usage of thumbnail view is in the minority here.

16x16 is for checking out how images will look when used in applications (as the icon or similar).
32x32 is my default thumbnails view.
128x128 is for browsing a photo gallery view.

admin
Site Admin
Posts: 66361
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

TheQwerty wrote:Yep.. I suspect my usage of thumbnail view is in the minority here.

16x16 is for checking out how images will look when used in applications (as the icon or similar).
32x32 is my default thumbnails view.
128x128 is for browsing a photo gallery view.
Ah yes. Anyway, say bye-bye to dimension labels in the first two modes! :)
Last edited by admin on 11 Aug 2008 15:19, edited 1 time in total.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

Works perfectly!

Thanks Don!

Display
Posts: 79
Joined: 21 Apr 2015 11:20
Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500

Re: More Intelligent "Show dimensions ... on thumbnail"

Post by Display »

Is it possible to create a toggle 'User Button' out of "Show dimensions of original image on thumbnail"?
I've searched "List All Commands" but cannot find the ID#. Or maybe it can be achieved with a script and hotkey?

I prefer having the dimensions off 90% of the time... but some times I reallly need them on (and then back off), so I'd rather not have to go through the Configuration dialog twice :D

(and apologies for the necro bump but didn't want to create a new topic!)

highend
Posts: 14954
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: More Intelligent "Show dimensions ... on thumbnail"

Post by highend »

Not possible with XYs internal scripting language (and no, there really isn't an ID for it)
One of my scripts helped you out? Please donate via Paypal

Display
Posts: 79
Joined: 21 Apr 2015 11:20
Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500

Re: More Intelligent "Show dimensions ... on thumbnail"

Post by Display »

Ahhh :cry:
Thank you for the information highend! I guess I'll try fudge something together with AutoHotkey :x

klownboy
Posts: 4462
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: More Intelligent "Show dimensions ... on thumbnail"

Post by klownboy »

You can see the image dimensions in the Hover Box or File Info Tips. See the settings for File Info Tips and Hover Box in Configuration.

Display
Posts: 79
Joined: 21 Apr 2015 11:20
Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500

Re: More Intelligent "Show dimensions ... on thumbnail"

Post by Display »

Thanks for the tip (no pun intended) klownboy. I usually keep tool tips disabled though as I find them quite distracting ,'/
The main advantage of having the sizes overlayed is being able to see a folder full of images' details all at once :)

Welp, here's my AHK atrocity if anyone ever needs it:

Code: Select all

#IfWinActive ahk_class ThunderRT6FormDC ; XYplorer window
F1::
Send {Ctrl Down}k{Ctrl Up} ; Opens Configuration Dialog via Ctrl+K shortcut
;run, C:\Program Files (x86)\XYplorer\XYplorer.exe /script="::#600;" ; Opens Configuration Dialog via commandline (but creates a new tab?)
Sleep 25
WinWait, Configuration - XYplorer.* ahk_class ThunderRT6FormDC	; Wait for the Configuration Dialog to eventually appear...
Sleep 25
WinActivate, Configuration - XYplorer.* ahk_class ThunderRT6FormDC	; Focus Configuration Dialog
Sleep 50
ControlSend, ThunderRT6CheckBox116, {Space}, ahk_class ThunderRT6FormDC ; Toggle 'Show Dimensions on Thumbnail' checkbox
Sleep 50
ControlSend, ThunderRT6CommandButton47, {Space}, ahk_class ThunderRT6FormDC ; Click OK
Return
#IfWinActive

klownboy
Posts: 4462
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: More Intelligent "Show dimensions ... on thumbnail"

Post by klownboy »

Hi Display, thanks for the AHK code. Since you don't like the File Info Tips popping up all the time, another option you should consider is the Configuration setting for File Info Tips > "Show File Info Tips only when the shift key is held down" and also "Show Info Tips only when hovering file icon". So as an alternative to the AHK method, with those settings checked essentially you are getting the file size only when you needed by holding the shift key down.

klownboy
Posts: 4462
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: More Intelligent "Show dimensions ... on thumbnail"

Post by klownboy »

Hey again Display. I managed to get a one line script to "Cycle Image Dimensions on Thumb" using XYplorer only. Of course the Configuration dialog will flash on screen, but it works well and may be a bit more bearable than using AHK to do it. I've tried this both in a User Defined Command under Run Script assigning a keyboard shortcut and also as a CTB. I'd like to be able to do it completely in the background but sendkeys doesn't like working in a second instance of XY.

Code: Select all

  ::sendkeys "+{Tab}{Enter}show dim{Enter}%d{Enter}";#600;

Display
Posts: 79
Joined: 21 Apr 2015 11:20
Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500

Re: More Intelligent "Show dimensions ... on thumbnail"

Post by Display »

:shock: I had no idea that it was possible to send keys like that with XYplorer!
That's so cool, thank you! I timed the speed and noticed that opening/searching through the 'Jump to Setting..' made it about 1 second slower than the AHK script. I thought maybe pressing (T) for thumbnails could jump down the list quicker (without needing to open the search dialog), but it also cycles through other entries starting with 'T'. Same with (P)review and (M)ouse Down.
But using (D) will consistently jump to only Dual Pane and from there we can move (Up) 3 times and no longer need to search:

Code: Select all

::sendkeys "d{Up 3}%d{Enter}";#600;
Super happy its all contained inside XYplorer now Image
Thanks again klownboy!

Post Reply