You are not logged in.
Is there a way to create a custom action that would allow for opening a selected image to a particular webpage?
In Thunar I'd want to right-click on the image above and then click the Custom Action "Take to Webpage" and the image will take me to this specific webpage: https://www.flickr.com/photos/160973116 … 018-12-11/
Since I'd want to use this Custom Action on thumbnails with different links, I was thinking I could put the url that I want associated with that thumbnail in the image properties. And then the Custom Action could access the properties so that it would know which webpage I want to be taken.
Is this possible?
Last edited by yurbev (2018-12-12 17:57:43)
Offline
How are you adding the URL to the image properties? exiftool?
If so, and assuming that you are adding the content using exiftool into a URL field like:
exiftool -overwrite_original -URL=www.google.ca IMAGE
...you can use the following custom action command to retrieve that URL and open it in your default web browser:
exo-open --launch WebBrowser $(exiftool -URL %f | awk '{print $3}')
update custom action command to remove unnecessary grep
Last edited by ToZ (2018-12-13 01:58:29)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Good question and great answer, thanks to both!
Offline
Much thanks! I just tested it out and it works great.
Offline
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 536.77 KiB (Peak: 545.83 KiB) ]