Variable: org-export-default-inline-image-rule
org-export-default-inline-image-rule is a variable defined in
ox.el.gz.
Value
(("file"
. "\\.\\(gif\\|jp\\(?:e?g\\)\\|p\\(?:bm\\|gm\\|ng\\|pm\\)\\|tiff?\\|x\\(?:[bp]m\\)\\)\\'"))
Documentation
Default rule for link matching an inline image.
This rule applies to links with no description. By default, it
will be considered as an inline image if it targets a local file
whose extension is either "png", "jpeg", "jpg", "gif",
"tiff", "tif", "xbm", "xpm", "pbm", "pgm" or "ppm".
See org-export-inline-image-p for more information about
rules.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
(defconst org-export-default-inline-image-rule
`(("file" .
,(format "\\.%s\\'"
(regexp-opt
'("png" "jpeg" "jpg" "gif" "tiff" "tif" "xbm"
"xpm" "pbm" "pgm" "ppm") t))))
"Default rule for link matching an inline image.
This rule applies to links with no description. By default, it
will be considered as an inline image if it targets a local file
whose extension is either \"png\", \"jpeg\", \"jpg\", \"gif\",
\"tiff\", \"tif\", \"xbm\", \"xpm\", \"pbm\", \"pgm\" or \"ppm\".
See `org-export-inline-image-p' for more information about
rules.")