From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: [org-contacts] How to show avatar image on org headings? Date: Mon, 07 May 2018 10:00:28 +0800 Message-ID: <87fu342pj7.fsf@gmail.com> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFVSF-0008QN-DK for emacs-orgmode@gnu.org; Sun, 06 May 2018 22:00:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFVSC-00071D-Di for emacs-orgmode@gnu.org; Sun, 06 May 2018 22:00:43 -0400 Received: from [183.249.134.109] (port=14843 helo=dark.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFVSB-0006rk-U5 for emacs-orgmode@gnu.org; Sun, 06 May 2018 22:00:40 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org-mode I want to show org-contacts avatar image on org-headings. Use overlay, or there is other better methods? A sample org-contacts snippet looks like this: * [] John KK :PROPERTIES: :AVATAR: john kk.jpg [] :END: I want to display the image at [] on heading, or replace "john kk.jpg" with [] image. BTW, another question, how to get property's value? and how to iterate on all heading elements then auto display image when open Contacts.org file? -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3