Open Cletip opened 2 years ago
Update : When I do the command "org-download-image" and put the url, I get #+DOWNLOADED: link-of-the-dowload name-of-image. But why?
Update : I think that the problem come from here :
(defun org-download-dnd (uri action) "When in `org-mode' and URI points to image, download it. Otherwise, pass URI and ACTION back to dnd dispatch." (cond ((org-download-org-mode-p) (condition-case nil (org-download-image uri) (error (org-download-dnd-fallback uri action)))) ((eq major-mode 'dired-mode) (org-download-dired uri)) ;; redirect to someone else (t (org-download-dnd-fallback uri action))))
When I drag and drop, uri = tmp/... When not, it is https... And, where is the call of the function "org-download-dnd" ?
Is it possible to remove the #+downloaded altogether when using org-download?
Is it possible to remove the #+downloaded altogether when using org-download?
It's possible, and I had found the way, but it doesn't solve my problem: I want to find the original picture in one click (by clicking on the URL, that should be present after #+downloaded)
Thanks. Well, if you need to know the original picture location you should have the #+DOWNLOADED tag. I don't really care for the original location, as my images are all copied to a new folder.
Thanks. Well, if you need to know the original picture location you should have the #+DOWNLOADED tag. I don't really care for the original location, as my images are all copied to a new folder.
Hun, idk if you understood my question ^^
My problem is that my #+DOWNLOADED tag is like this :
And not like this
And I don't know why :/
Could you show me your org-download configuration please?
I don't understand.
Isn't "file:///tmp/dnd-file/name-of-image name-of-image" the link of the file?
My settings are these:
(require 'org-download) ; https://github.com/abo-abo/org-download
;; Drag-and-drop to dired
(add-hook 'dired-mode-hook 'org-download-enable)
(setq org-download-method 'directory)
(setq org-download-screenshot-method "screencapture -i %s")
(setq-default org-download-image-dir "./§_img")
(setq-default org-download-heading-lvl nil)
(setq org-download-timestamp "%Y%m%d-%H%M%S_")
(add-hook 'dired-mode-hook 'org-download-enable)
Sorry, very late I may have misspoken again: I want the URL / URI of the image. This will allow you to find the image on the net, and thus to be able to quickly send it to someone. Thanks you for your configuration
I can't help you with that, sorry.
Hi! I have a "small" problem and I don't understand why I didn't have it before: Before, when I downloaded an image, I had the following result (roughly):
+DOWNLOADED: link-of-the-dowload name-of-image
Which was very useful to find the link of the original image
And now, I have something like this:
+DOWNLOADED: file:///tmp/dnd-file/name-of-image name-of-image
Why ?
My configuration of org-download : (use-package org-download)
Should I now add something to my configuration?
Thanks in advance for your answers