From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: [org-contacts] How to show avatar image on org headings? Date: Mon, 07 May 2018 19:57:07 -0700 Message-ID: References: <87fu342pj7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFsof-0004Zb-W0 for emacs-orgmode@gnu.org; Mon, 07 May 2018 22:57:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFsoc-0006R0-52 for emacs-orgmode@gnu.org; Mon, 07 May 2018 22:57:26 -0400 Received: from mail-pl0-x241.google.com ([2607:f8b0:400e:c01::241]:36511) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFsob-0006Qk-V3 for emacs-orgmode@gnu.org; Mon, 07 May 2018 22:57:22 -0400 Received: by mail-pl0-x241.google.com with SMTP id v24-v6so1315314plo.3 for ; Mon, 07 May 2018 19:57:21 -0700 (PDT) In-reply-to: <87fu342pj7.fsf@gmail.com> 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: numbchild@gmail.com Cc: org-mode you might find this http://kitchingroup.cheme.cmu.edu/blog/2016/03/21/Displaying-image-overlays-on-image-filenames-in-Emacs/ potentially useful for what you want. stardiviner writes: > 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? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu