Hey!
So there is a "Dimensions" special property that I can show a custom column for, but it currently shows both width & height of a picture and sorting by that column is a bit weird for what I need.
I was interested in sorting by either width or height of a picture, but I have no idea how to create 2 custom columns for those individual dimensions of that special Dimensions property and be able to sort by one or the other, not the combination of both.
Any helpful ideas? Thanks!!
Custom columns for width/height parts of Dimensions property
-
woofy31
- Posts: 44
- Joined: 24 Dec 2020 23:02
-
highend
- Posts: 14925
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Custom columns for width/height parts of Dimensions property
Code: Select all
return gettoken(property("#image.dimensions", <cc_item>), 1, " x ");
One of my scripts helped you out? Please donate via Paypal
-
woofy31
- Posts: 44
- Joined: 24 Dec 2020 23:02
Re: Custom columns for width/height parts of Dimensions property
Awesomeness, thank you so much!
XYplorer Beta Club