The "dimensions" column sorts the images according to their area.
I would prefer the order to be by horizontal length x height, is it possible?
column "dimensions"
column "dimensions"
- Attachments
-
- 2024-03-25_034532.jpg (64.14 KiB) Viewed 333 times
Re: column "dimensions"
Set up one of the extra columns with the dimension you want to sort by.
Ralph
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
Re: column "dimensions"
do you mean a "width" column?
It doesn't work either...
It doesn't work either...
- Attachments
-
- compara.jpg (27.1 KiB) Viewed 322 times
Re: column "dimensions"
Add height as well and shift+left click the column header of height => Secondary sort order
One of my scripts helped you out? Please donate via Paypal
Re: column "dimensions"
It works fine, thank you. But... it doesn't seem very comfortable to have 3 columns for dimensions.
Perhaps if the word "pixels" could be deleted it would be more elegant and we could delete the "dimensions" column
Perhaps if the word "pixels" could be deleted it would be more elegant and we could delete the "dimensions" column
Re: column "dimensions"
You can always use a scripted custom column and format the output as you need it...
Code: Select all
return property('System.Image.HorizontalSize', <cc_item>) . 'x' . property('System.Image.VerticalSize', <cc_item>);
One of my scripts helped you out? Please donate via Paypal
Re: column "dimensions"
Thanks, I'm sure it will work.
But I have never used scripting. I will study it this week.
But I have never used scripting. I will study it this week.
-
- Posts: 37
- Joined: 21 May 2018 18:45
Re: column "dimensions"
Great thread, it made me start to script a couple of lines with XYplorer
Actually, if we sort a list of images using the 'Dimensions' column (Width x Height) then the sort will always display results based on the Width coord. But what if we want a sort based on the Height coord ? (I need this from time to time)
This afternoon, after reading several posts on the Forum, one of them redirected me to https://www.xyplorer.com/release_13.90.php
In the preceding link, there is a detailed explanation which shows how to create and use the Scriptable Columns which appeared in version 13.90 (march 2014) . So finally I was able to create 3 Custom columns, which are :
Width column
Height column
Dimensions2 (H x W)
In fact, the Dimensions2 custom column (H x W) displays the opposite of the Dimension column (W x H) and can be used by itself for sorts based on image Height (without the need of the Width or Height columns, though it's great to keep all of them in the Custom Columns list, they may be useful one day, who knows).
Thanks to highend for the syntax to separate the image coords in the display, to Don for the scriptable columns and to Veethoben who created this thread. Hope this will help a bit users having the same need.
Actually, if we sort a list of images using the 'Dimensions' column (Width x Height) then the sort will always display results based on the Width coord. But what if we want a sort based on the Height coord ? (I need this from time to time)
This afternoon, after reading several posts on the Forum, one of them redirected me to https://www.xyplorer.com/release_13.90.php
In the preceding link, there is a detailed explanation which shows how to create and use the Scriptable Columns which appeared in version 13.90 (march 2014) . So finally I was able to create 3 Custom columns, which are :
Width column
Code: Select all
return gettoken((property("#image.dimensions", <cc_item>)), 1, " x ");
Code: Select all
return gettoken((property("#image.dimensions", <cc_item>)), 2, " x ");
Code: Select all
return gettoken((property("#image.dimensions", <cc_item>)), 2, " x ") . " x " . gettoken((property("#image.dimensions", <cc_item>)), 1, " x ");
Thanks to highend for the syntax to separate the image coords in the display, to Don for the scriptable columns and to Veethoben who created this thread. Hope this will help a bit users having the same need.
Re: column "dimensions"
Well, leaving "dimension" in the first column and placing "width" and "height" on the far right works perfectly and is not annoying.
Thank you.
Thank you.
- Attachments
-
- 2024-04-03_155534.jpg (44.97 KiB) Viewed 172 times