From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gDSWCvDVHWNnGwAAbAwnHQ (envelope-from ) for ; Sun, 11 Sep 2022 14:34:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MDWfCvDVHWORMgAA9RJhRA (envelope-from ) for ; Sun, 11 Sep 2022 14:34:56 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DAA21EBE9 for ; Sun, 11 Sep 2022 14:34:55 +0200 (CEST) Received: from localhost ([::1]:45494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXMAo-0006sb-Dw for larch@yhetil.org; Sun, 11 Sep 2022 08:34:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXM9u-0006q2-8Q for emacs-orgmode@gnu.org; Sun, 11 Sep 2022 08:33:58 -0400 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:42858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXM9s-0005Uh-6q for emacs-orgmode@gnu.org; Sun, 11 Sep 2022 08:33:57 -0400 Received: by mail-pf1-x436.google.com with SMTP id b23so6081721pfp.9 for ; Sun, 11 Sep 2022 05:33:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=E+D5XDCp1YLzancso5WD/7mJy5ZU/fuydP5NUN4bnf0=; b=a2Jr/jeHtvMKz2vUnYKs0m/v8Oh0e0mT5r7DKiCK68v+vPUVk1Alu3nXWMYLgKvd7+ S/mdqQwXRUj0ucV5vWHZBmFrYZAw635O9BJZnMhTDV0aQhP6lLktKOV2Vm30Iau10Cow +HhcVZveL9RujTcFjDcGyMQn5hLzCNZNZbB/q0DCZcAQq4TO4P8ldNc4YqrNl4OBNeDZ 8Q/a7gX8g82DSSRr1xODCo8dWsN38KACRzaWBYmt+eCcIOhmkFFCnpwrxOz+MoEMK5l2 er6H49uGxwDcCRGLjU7OogVscbN1MQS9fB1kfaFhEDU10OyIHnui4HtbdZFSvmN3uUS8 Zoxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=E+D5XDCp1YLzancso5WD/7mJy5ZU/fuydP5NUN4bnf0=; b=HvpKWztjAtHs+Zv5Pb6ZuZAyn0V7e8TigAd2g5UWcCAsL7FxtDXU/ZY2UfBtOs+aWn MYXuGYmnxKX0NNlbVYzUAbrfXEsgiXZlzIcD5/KHaNx77ZVwKnpP5PU50oXY+k9p3dmI HGAXczSwvqkEhqNgHcYOReRJ79ZfOpKEqz8nyj5cJ/Z+Ym9x/53wOgiLIAIhgo6ZfLzL neUrCWFKoFAOFLv+lhuhUZi1f34zSKcDdAcPkesN0KC/p2h+exVGz1kzN8+EGXiENzsV b0U4XPz2+5t8oDeMegSP4RcKqbwmhgb89Ec8uYw7Xo2G9zn/jXe1kWarznZRmDt3t7k+ K0bA== X-Gm-Message-State: ACgBeo3HhlkW/pYSPzRV+Nbi+PWhpKEMPFAIQDdMG9ogXClnX3nBMJxh ywfQdAKJAx6/Jp1/AYX5tyU= X-Google-Smtp-Source: AA6agR5tKgLAyvfnH5wtJk5uq+K+setzF040XOQ4PjOBqq6vh4ak8HChua9AP49tRIMZnnQFOUqIqg== X-Received: by 2002:a05:6a00:2402:b0:52c:81cf:8df8 with SMTP id z2-20020a056a00240200b0052c81cf8df8mr23178398pfh.60.1662899633894; Sun, 11 Sep 2022 05:33:53 -0700 (PDT) Received: from localhost ([2409:8a70:2bc:c850:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id k12-20020a65434c000000b00438e0db80dasm1164811pgq.65.2022.09.11.05.33.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 05:33:53 -0700 (PDT) From: Ihor Radchenko To: "Christopher M. Miles" Cc: emacs-orgmode@gnu.org Subject: Re: [SOLVED] Re: [QUESTION] How to specific image size attributes under headline scope? In-Reply-To: <631d472b.c80a0220.2b4b2.bf86SMTPIN_ADDED_BROKEN@mx.google.com> References: <631d472b.c80a0220.2b4b2.bf86SMTPIN_ADDED_BROKEN@mx.google.com> Date: Sun, 11 Sep 2022 20:34:47 +0800 Message-ID: <87h71ew0m0.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=yantar92@gmail.com; helo=mail-pf1-x436.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662899695; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=E+D5XDCp1YLzancso5WD/7mJy5ZU/fuydP5NUN4bnf0=; b=Q8S8/AmURe7CC4lfZSEqnduy7rzJ2H/dhSpb3R7HskqokrBkZ+0cn/8RGZNPq8QRyJU/TU WoObmBVrd6ON2xFqMu7ijHH574QgcmjoBhB9BD60H98CGCHOJZ5InDVvZn5BXVzcquh0as sjImyCffs2J6i+auM9xZKbS+V26+whF5Af815maPPAW5YW8DvhqQ+jiHv0ZKUx0yay3U+B dxcHwZmqcCO9oIdXH715Hi2QYQzn3IyPNKSU4Ptdw2ypvMqW4zE0MPYKsyXCfBMyOe3YZk ZA1CZjC6F2XJkU2kNexNGBIAi7rl09e4/DSpKFIkuDb81JLWFjPecKPwRI4XNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662899695; a=rsa-sha256; cv=none; b=ZbGl9Mxq4Xzv5Ab5BnoeR5cti46VNRSax3t1kmGiZa+2SmXtKdO+2hlMAhzwo1Y5a5CEbB TxOqcnfeXv1f+Gk+nYqnMZXlbgmqBZiFdko4jd4NyKrirw/QSCk8VWVDRvwEb4OTaJGYEm Fc7grW5pAELe1iKNUlF9CKDdquhsnZtqqNI7aHlDXbLed/3vWDi3gjL+D90WGc3u4IzPWY o+PIfuSasi15gDqE9sjdAybhk8PyI5G0WFCEdb/Dc0/ZkwkgfzwExtgUHq8XPIBYDcwwqV F+luoAerl0TtuehFgf1DNA1daGST9AQmy0FbMLAil92PZURsq/MxQWK6hELkVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="a2Jr/jeH"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.30 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="a2Jr/jeH"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DAA21EBE9 X-Spam-Score: -2.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: Z3rRYkersG/5 "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? -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92