emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Scaling of image previews in org-mode
@ 2016-08-03 19:20 Johannes Brauer
  2016-08-03 22:09 ` Giri Prashanth
  2016-08-07 23:16 ` John Kitchin
  0 siblings, 2 replies; 8+ messages in thread
From: Johannes Brauer @ 2016-08-03 19:20 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Hi!

If I insert a jpg in my org-mode document, I can preview it but not scale its 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 the 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/Preferences/Aquamacs Emacs/Packages/elpa/org-20160704/)

Johannes

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-08-10 14:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-03 19:20 Scaling of image previews in org-mode Johannes Brauer
2016-08-03 22:09 ` Giri Prashanth
2016-08-04  8:26   ` Johannes Brauer
2016-08-04 16:53     ` Giri Prashanth
2016-08-07 23:16 ` John Kitchin
2016-08-09 17:22   ` Johannes Brauer
2016-08-10  8:11   ` Uwe Brauer
2016-08-10 14:44     ` John Kitchin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).