emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* scale inline images in orgmode
@ 2012-08-28 20:13 AW
  2012-08-28 20:34 ` Russell Adams
  2012-08-30 13:52 ` Bastien
  0 siblings, 2 replies; 8+ messages in thread
From: AW @ 2012-08-28 20:13 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

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 .

I would like to scale the images on screen in the buffer, often I don't need a 
large picture, but just a reminder, what's on the picture. Is there a way to 
scale the image on screen, something like #+ATTR: scale=0.5 ?

Regards,

Alexander

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: scale inline images in orgmode
@ 2015-02-24 14:23 Shavkat Rustamov
  0 siblings, 0 replies; 8+ messages in thread
From: Shavkat Rustamov @ 2015-02-24 14:23 UTC (permalink / raw)
  To: bzg; +Cc: Org-mode

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

Hello,

This setting works fine:

(setq org-image-actual-width 300)

  => always resize inline images to 300 pixels

However, this does not {it falls back to 400 and ignores #+ATTR}:

(setq org-image-actual-width '(400))

  => if there is a #+ATTR.*: width="200", resize to 200,
     otherwise resize to 400

I tried different versions of #+ATTR, including:

##+ATTR.*: :width 150px
##+ATTR.*: width="100"
##+ATTR_HTML: :width 300px
#+ATTR_HTML: :width="100"

Any idea what’s wrong?

[-- Attachment #2: Type: text/html, Size: 648 bytes --]

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

end of thread, other threads:[~2015-02-24 14:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).