How to resize images in org-mode

export, html, image, org-mode, resize

Solution

As of Org 8.0, "Attribute lines now take plists" :

#+attr_html: :width 100px
#+attr_latex: :width 100px
[[~/images/example.jpg]]

Problem

Is there a general way to define the size, in percent or pixels, for an image that is linked in `org-mode`? Say I have the following link in my `.org` file: ``` [[~/images/example.jpg]] ``` This JPG is way too large, so if I export it to HTML or LaTeX or open it in `org-mode` with C-c C-o i will only see a fraction of the image.

Original source