emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: AW <alexander.willand@t-online.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: scale inline images in orgmode
Date: Thu, 30 Aug 2012 15:52:59 +0200	[thread overview]
Message-ID: <87a9xcsczo.fsf@altern.org> (raw)
In-Reply-To: <14024726.E93JukLEF0@linux-nyil.site> (AW's message of "Tue, 28 Aug 2012 22:13:18 +0200")

Hi Alexander,

AW <alexander.willand@t-online.de> 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

  parent reply	other threads:[~2012-08-30 13:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-28 20:13 scale inline images in orgmode AW
2012-08-28 20:34 ` Russell Adams
2012-08-28 21:31   ` Detlef Steuer
2012-08-29 11:57     ` Jeffrey Spencer
2012-08-30 13:52 ` Bastien [this message]
2012-08-30 17:38   ` AW
2013-05-25 14:10   ` Klaus-Dieter Bauer
  -- strict thread matches above, loose matches on Subject: below --
2015-02-24 14:23 Shavkat Rustamov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a9xcsczo.fsf@altern.org \
    --to=bzg@altern.org \
    --cc=alexander.willand@t-online.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).