Page 1 of 1

Extra Column for images with relative path

Posted: 07 Jul 2023 21:29
by mrbosco
I have many folders with a folder.jpg file in them.
I thought it would be interesting to be able to hover over a column and have the hoverbox reveal the folder.jpg. It works when I enter the full path to folder.jpg but I can't can't figure out how to make it work with a relative path. I want to do this for many folders and hopefully just modify tag.dat directly. Is this reasonable or possible?

Re: Extra Column for images with relative path

Posted: 07 Jul 2023 22:04
by highend
No clue what you want...

Re: Extra Column for images with relative path

Posted: 07 Jul 2023 22:09
by jupe
Well you could, but the relative path would have to include the folder name eg foldername\folder.jpg, but I am not sure why you would want to add all this info to your tag db either, I'd probably just recommend using a custom column instead, in Image format, here is a very bare bones version of all you'd need as a script.

return "<cc_item>\folder.jpg";

Re: Extra Column for images with relative path

Posted: 07 Jul 2023 23:32
by mrbosco
If I need to add foldername it's really not relative to any folder.

I tried the custom column approach but nothing seems to be happening.
The subfolder has the custom column with the green circles with the arrows in them, which don't do anything. I want the parent folder to display folder.jpg either when clicked or hovered over the column.

Re: Extra Column for images with relative path

Posted: 07 Jul 2023 23:42
by mrbosco
I had to make Item type Folders.
It works!
Thank you!

Re: Extra Column for images with relative path

Posted: 08 Jul 2023 12:11
by mrbosco
On a different PC the graphic shows up as a small image in the column but the hover is not working.
I think I have all the hover settings the same. What could I be missing?

Re: Extra Column for images with relative path

Posted: 08 Jul 2023 12:47
by mrbosco
Actually, the hoverbox isn't working even on a regular jpg, not sure why. Everything is checked.

Re: Extra Column for images with relative path

Posted: 08 Jul 2023 22:50
by jupe
This is checked?

Configuration | Information | File Info Tips & Hover Box | Show Hover Box | Select Context... == Image Columns

Regular jpg? You mean not in an image column? This is a prerequisite too

Configuration | Information | File Info Tips & Hover Box | Show Hover Box | Select Item Types... == Image Files

Re: Extra Column for images with relative path

Posted: 09 Jul 2023 22:30
by mrbosco
Are there any more requirements or potential conflicts?
2023-07-09_16-24-16.png
2023-07-09_16-22-28.png

Re: Extra Column for images with relative path

Posted: 09 Jul 2023 23:02
by mrbosco
There must be a conflict with one of these. Not sure which.
2023-07-09_16-59-32.png

Re: Extra Column for images with relative path

Posted: 09 Jul 2023 23:10
by jupe
That's not a conflict, verbatim tooltips aren't meant for normal usage, why you would enable them eludes me.

Re: Extra Column for images with relative path

Posted: 18 Jul 2023 00:32
by davidhelp
What are "Item type Folders"?

Re: Extra Column for images with relative path

Posted: 18 Jul 2023 00:36
by jupe
Custom columns have 3 types in the definition

Files
Folders
Files & Folders

Look here: Configuration | Information | Custom Columns | Custom column definitions >> Edit