Variables for image width and height

[quote="leo"][quote="leo"]You could do this in Opus by "abusing" the Rename Script feature. Rename Scripts can be written in VBScript (and Perl, etc.) and can be passed information like the image width or height. A script can do whatever it likes with the information passed to it and can choose not to actually rename any of the files.

Maybe it's strange to use Rename command to do something that isn't renaming, but it will work. :slight_smile:[/quote]

I've turned my idea into a real example:
Copy IMG links to Clipboard with Width and Height

I've also written a separate post which explains the technique in detail with a simplified example:
"Abusing" Rename Scripts to do other things with file info

Enjoy! :slight_smile:[/quote]

what I want to do, is to get the variables for the hight and width of the image, and with that, I want to compare them, if the width is > to the hight then show the visualitacion panel in horizontal (Set VIEWPANE=horiz) and if the hight is > than the wight then show it vertical (Set VIEWPANE=vert).

but I cant get it done, is this posible?, "abusing" of the renaming script!
thanks