From mboxrd@z Thu Jan 1 00:00:00 1970 From: AW Subject: Re: scale inline images in orgmode Date: Thu, 30 Aug 2012 19:38:14 +0200 Message-ID: <2080022.DSDJz0k4PD@linux-nyil.site> References: <14024726.E93JukLEF0@linux-nyil.site> <87a9xcsczo.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T78hw-0001Mh-TH for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 13:39:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T78hv-0006YH-TO for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 13:39:08 -0400 Received: from mailout07.t-online.de ([194.25.134.83]:32901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T78hv-0006Y0-Ms for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 13:39:07 -0400 In-Reply-To: <87a9xcsczo.fsf@altern.org> 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: Bastien Cc: emacs-orgmode@gnu.org Am Donnerstag, 30. August 2012, 15:52:59 schrieb Bastien: > 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, Hi Bastien, indeed, that helps a lot! Thank you very much. Kind regards, Alexander