From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Brauer Subject: Scaling of image previews in org-mode Date: Wed, 3 Aug 2016 19:20:06 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV1iE-0000Pj-Cx for emacs-orgmode@gnu.org; Wed, 03 Aug 2016 15:20:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bV1iA-0008Em-5h for emacs-orgmode@gnu.org; Wed, 03 Aug 2016 15:20:17 -0400 Received: from merkur.nordakademie.de ([194.94.98.156]:46142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV1i9-0008DP-Ui for emacs-orgmode@gnu.org; Wed, 03 Aug 2016 15:20:14 -0400 Received: from vpn.dmz.nordakademie.de ([192.168.5.11]) by merkur.nordakademie.de with ESMTP id VbIUSWxwHCOvjtYF for ; Wed, 03 Aug 2016 21:20:07 +0200 (CEST) Content-Language: de-DE Content-ID: <57CBCE82CF98F149A3FF175661007D27@nordakademie.de> 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" To: "emacs-orgmode@gnu.org" Hi! If I insert a jpg in my org-mode document, I can preview it but not scale i= ts width, like so: Add the following code to my init.el file: (setq org-image-actual-width nil) Then insert this code in my document, where I want the image to appear: #+ATTR_ORG: :width 20 [[./test.jpg]] No matter which value I give for the width argument the image appears in th= e buffer always in its original size. However, scaling for html export with #+attr_html works fine. What is going wrong? (Org-mode version 8.3.4 (8.3.4-99-ga8e4a3-elpa @ /Users/johannes/Library/Pr= eferences/Aquamacs Emacs/Packages/elpa/org-20160704/) Johannes=