Page 1 of 1

Question about New Image Column

Posted: 15 Feb 2023 00:35
by GreetingsFromPoland
hi! i don't have many custom columns (just Tags and Labels) and run almost everything in Details view. i set up a new Extra column and set it to Image. the image is displayed correctly in the new column when i use the full path and filename, e.g. C:\Screenshots\Image-002.png.

i don't think i am doing this correctly. even though it works, is there a setting for the column that tells it to "use the file name" without having to paste in the full path ? selecting the file, pressing CTRL+P then pasting that into the new column (right-clicking on the cell) just doesn't seem correct.

again, very new to custom columns and have spent the last 45 minutes in the help file. i have learned more than before, but not much on this question.

Re: Question about New Image Column

Posted: 15 Feb 2023 01:03
by highend
Via an extra column? Afaik not possible atm (but it will probably be if Don implements my feature request => scripting support inside extra columns), although it's for a completely different usecase :ninja:

Set up a custom scripted column. Use the image type there as well.
To see the image for an image file...

return <cc_item>;

@Don
Holy cow, this isn't bug free xD
2.png

Re: Question about New Image Column

Posted: 15 Feb 2023 01:38
by kiwichick
GreetingsFromPoland wrote: 15 Feb 2023 00:35 i set up a new Extra column and set it to Image
I'm glad I'm not the only one who's confused by the new extra column for images. But you've gotten further than me. I can't even figure out how to do this much. I'm sure I'm missing something basic.

Re: Question about New Image Column

Posted: 15 Feb 2023 11:04
by admin
GreetingsFromPoland wrote: 15 Feb 2023 00:35 i don't think i am doing this correctly. even though it works, is there a setting for the column that tells it to "use the file name" without having to paste in the full path ?
But what should the path default to then? The current path of the list? Or XYplorer's Icon path?

Re: Question about New Image Column

Posted: 15 Feb 2023 11:05
by admin
highend wrote: 15 Feb 2023 01:03 @Don
Holy cow, this isn't bug free xD

2.png
Uh, what is that??? :)

Re: Question about New Image Column

Posted: 15 Feb 2023 11:19
by highend
Artifacts?

Re: Question about New Image Column

Posted: 15 Feb 2023 11:22
by admin
Check out the next beta.

Re: Question about New Image Column

Posted: 15 Feb 2023 12:43
by GreetingsFromPoland
admin wrote: 15 Feb 2023 11:04 But what should the path default to then? The current path of the list? Or XYplorer's Icon path?
hi again !
i ended up using highend's suggestion about a scripted column and it worked perfectly without any pasting, etc. of the full file path. the scripted column is displaying a thumbnail of each picture in the column.

as i mentioned, i was probably doing this wrong or not understanding the column. i was mostly fumbling to get the column setup just right. options overload !

this is what i was trying that was not working :
1. right-click an existing column and chose "Extra 2"
2. right-clicked Extra 2 and chose "Configure Extra Column 2"
3. used "Preview" as the caption and set the Type to "Image"
4. the column is empty. i applied this column to a folder than only contain images and assumed the thumbnail would show in the column, it did not.
5. to get the thumbnail to show in this example, i had to CTRL+P each entry and then right-click each cell and "Paste Data: ..."

i use the hover feature quite a bit over the file icon and that has worked for me for some time. this new feature is really nice; however, i'm not sure it fits in my work layout. i was just experimenting with it when i saw the message.

Re: Question about New Image Column

Posted: 15 Feb 2023 12:56
by admin
GreetingsFromPoland wrote: 15 Feb 2023 12:43 4. the column is empty. i applied this column to a folder than only contain images and assumed the thumbnail would show in the column, it did not.
I could do it that way but I rather don't. I think it's too slow compared to XY's real thumbnails with caching and all sorts of optimization.