"Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > > Ihor Radchenko writes: > >> "Christopher M. Miles" writes: >> >>>> When I put it on beginning of org document, then preview inline images, but those global attributes >>>> not affected. The inline images still display in actual image size. I want to specify image size >>>> under headline properties. Is it possible to do this? >>> >>> I implemented this feature by written a hook. Hope this can be helpful >>> for someone who also has this needs. Here is the code: >> >> This looks useful. >> Would you be interested to write a patch? > > The is the new patch which updated the defcustom variable docstring has correct description. > > [2. text/x-patch; 0001-org.el-Add-hook-function-to-auto-display-inline-imag.patch]... I found an issue of this patch, this patch logic will ignore existing ~#+ATTR_ORG:~ size. How to let this patch code also obey the ~#+ATTR_ORG:~ size too? For example: * heading 1 :PROPERTIES: :INLINE-IMAGE-WIDTH: 100 :END: #+ATTR_ORG: :width 300 #+ATTR_LATEX: :width 3.0in #+ATTR_HTML: :width 300px [[file:image-displayed-in-300-width.png]] [[file:image-displayed-in-100-width.png]] -- [ stardiviner ] I try to make every word tell the meaning that I want to express without misunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3