mirror of
https://github.com/marty-oehme/scripts.git
synced 2025-12-10 05:52:46 +00:00
Add image-preview script.
This script does two things: 1) Display the image with an user defined width; 2) Wrap the image in an anchor tag that links to the full size image. TODO: do not resize the image when it does not have a width attribute AND is smaller than the maxWidth.
This commit is contained in:
parent
6107d333c3
commit
b149834b79
2 changed files with 94 additions and 0 deletions
9
image-preview/info.json
Normal file
9
image-preview/info.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name": "Image preview",
|
||||
"identifier": "image-preview",
|
||||
"script": "image-preview.qml",
|
||||
"version": "1.0.0",
|
||||
"minAppVersion": "17.11.6",
|
||||
"authors": ["@sanderboom"],
|
||||
"description" : "This script does two things: 1) Display the image with an user defined width; 2) Wrap the image in an anchor tag that links to the full size image."
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue