From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: scale inline images in orgmode Date: Thu, 30 Aug 2012 15:52:59 +0200 Message-ID: <87a9xcsczo.fsf@altern.org> References: <14024726.E93JukLEF0@linux-nyil.site> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T75B4-0008V1-7g for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 09:52:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T75Az-00061z-Qq for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 09:52:58 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:37073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T75Az-00061q-KR for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 09:52:53 -0400 Received: by wgbdt14 with SMTP id dt14so1086289wgb.30 for ; Thu, 30 Aug 2012 06:52:52 -0700 (PDT) In-Reply-To: <14024726.E93JukLEF0@linux-nyil.site> (AW's message of "Tue, 28 Aug 2012 22:13:18 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: AW Cc: emacs-orgmode@gnu.org Hi Alexander, AW writes: > If I include an image in an *.org file, let's say [[large-image.jpg]], I can > toggle the inline image with C-c C-x C-v . You can now (from git master) use `org-image-actual-width'. (setq org-image-actual-width 300) => always resize inline images to 300 pixels (setq org-image-actual-width '(400)) => if there is a #+ATTR.*: width="200", resize to 200, otherwise resize to 400 (setq org-image-actual-width nil) => if there is a #+ATTR.*: width="200", resize to 200, otherwise don't resize (setq org-image-actual-width t) => Never resize and use original width (the default) HTH, -- Bastien