Reduce size of image by default

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Reduce size of image by default

tedour
I'm trying to setup my theme for writing an ebook on Drupal.
For my pdf, i take screenshot on an hight size (150%) and i reduce the size by 66% proportionately to keep a decent DPI.
Is it possible to do it by default for each images ?
i've try to put this in my theme but it doesn't work...

image:
  scaledwidth: 33%

Thank you for the help !
Reply | Threaded
Open this post in threaded view
|

Re: Reduce size of image by default

mojavelinux
Administrator
I think the following section in the README describes the setting you're looking for:


Best Regards,

-Dan

On Thu, May 6, 2021 at 1:14 PM tedour [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I'm trying to setup my theme for writing an ebook on Drupal.
For my pdf, i take screenshot on an hight size (150%) and i reduce the size by 66% proportionately to keep a decent DPI.
Is it possible to do it by default for each images ?
i've try to put this in my theme but it doesn't work...

image:
  scaledwidth: 33%

Thank you for the help !


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Reduce-size-of-image-by-default-tp8624.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: Reduce size of image by default

tedour
Thank you very much for your answer, i think that it is ok, i've to deal with pdfdwidth inline and width in theme.yml.
Thank you also for the big work you're doing on this forum !!!