Extra Column for images with relative path

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
mrbosco
Posts: 135
Joined: 03 Sep 2011 09:40

Extra Column for images with relative path

Post 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?

highend
Posts: 14639
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Extra Column for images with relative path

Post by highend »

No clue what you want...
One of my scripts helped you out? Please donate via Paypal

jupe
Posts: 3304
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Extra Column for images with relative path

Post 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";

mrbosco
Posts: 135
Joined: 03 Sep 2011 09:40

Re: Extra Column for images with relative path

Post 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.

mrbosco
Posts: 135
Joined: 03 Sep 2011 09:40

Re: Extra Column for images with relative path

Post by mrbosco »

I had to make Item type Folders.
It works!
Thank you!

mrbosco
Posts: 135
Joined: 03 Sep 2011 09:40

Re: Extra Column for images with relative path

Post 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?

mrbosco
Posts: 135
Joined: 03 Sep 2011 09:40

Re: Extra Column for images with relative path

Post by mrbosco »

Actually, the hoverbox isn't working even on a regular jpg, not sure why. Everything is checked.

jupe
Posts: 3304
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Extra Column for images with relative path

Post 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

mrbosco
Posts: 135
Joined: 03 Sep 2011 09:40

Re: Extra Column for images with relative path

Post by mrbosco »

Are there any more requirements or potential conflicts?
2023-07-09_16-24-16.png
2023-07-09_16-24-16.png (95.36 KiB) Viewed 1924 times
2023-07-09_16-22-28.png
2023-07-09_16-22-28.png (75.7 KiB) Viewed 1924 times

mrbosco
Posts: 135
Joined: 03 Sep 2011 09:40

Re: Extra Column for images with relative path

Post by mrbosco »

There must be a conflict with one of these. Not sure which.
2023-07-09_16-59-32.png
2023-07-09_16-59-32.png (2.89 KiB) Viewed 1921 times

jupe
Posts: 3304
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Extra Column for images with relative path

Post by jupe »

That's not a conflict, verbatim tooltips aren't meant for normal usage, why you would enable them eludes me.

davidhelp
Posts: 108
Joined: 03 Sep 2012 02:28

Re: Extra Column for images with relative path

Post by davidhelp »

What are "Item type Folders"?

jupe
Posts: 3304
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Extra Column for images with relative path

Post by jupe »

Custom columns have 3 types in the definition

Files
Folders
Files & Folders

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

Post Reply