From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lindsay Todd" Subject: Re: inline images Date: Wed, 1 Oct 2008 20:47:24 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlCLp-0006W5-4M for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 20:47:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlCLn-0006Vt-4d for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 20:47:28 -0400 Received: from [199.232.76.173] (port=46730 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlCLm-0006Vp-Vt for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 20:47:27 -0400 Received: from rv-out-0708.google.com ([209.85.198.240]:17691) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlCLm-0005Do-DY for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 20:47:26 -0400 Received: by rv-out-0708.google.com with SMTP id k29so946383rvb.6 for ; Wed, 01 Oct 2008 17:47:24 -0700 (PDT) In-Reply-To: Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode It would also be useful if you could specify the size of the image. I'd like to use org-mode to organize pictures that I want to use for LaTeX documents -- see the image, as well as the copyright info, etc. But an image suitable for a presentation is way, way too large for inline inclusion. Yet having to manually build thumbnail images misses the point of easy organization! On Wed, Oct 1, 2008 at 11:33 AM, Richard Riley wrote: > > I sometimes turn on inline images in my org file using code posted here. > > ,---- > | ;; inline images in org files > | ;;iimage > | (require 'iimage) > | (setq iimage-mode-image-search-path (expand-file-name "~/")) > | ;;Match org file: links > | (add-to-list 'iimage-mode-image-regex-alist > | (cons (concat "\\[\\[file:\\(~?" iimage-mode-image-filename-regex > | "\\)\\]") 1)) > | (define-key org-mode-map [(control c) ?i] 'iimage-mode) > `---- > > It might be an idea to make it a setting as to whether the target image > is inlined too. e.g I have a lot of links of this type: > > [[file:../images/gud.png][file:../images/guds.png]] > > And would like to only see the small preview png file in this case and > not the large one. > > Has anyone implemented something like this or has the code above already > been merged into org? > > regards, > > r. > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >