posterdown icon indicating copy to clipboard operation
posterdown copied to clipboard

Access local figure for .main-img-left or .main-img-right

Open joshuawlambert opened this issue 5 years ago • 2 comments

I'm trying to use a .png file within a sub-directory of my posterdown project. Unfortunately, I can't seem to get the poster to knit with the figure. I am working on Rstudio Server and am using the CRAN version of posterdown.

Here is what I am using:

---
title: "Example"
author:
  - name: Josh
column_numbers: 3
logoleft_name: '![](tmp.png){.main-img-left}'
output: 
  posterdown::posterdown_html:
    self_contained: false
bibliography: packages.bib
---

Thank you.

joshuawlambert avatar Feb 11 '20 20:02 joshuawlambert

Update:

Installed latest version of pandoc and updated posterdown to github version. Still no luck. Going from posterdown_html to posterdown_betterland fixes the issue, although I do not want to use that layout. In the mean time, I uploaded the picture to my github and am using the url to access the file.

joshuawlambert avatar Feb 12 '20 13:02 joshuawlambert

Hi @joshuawlambert thanks for using posterdown!

I found a sneaky unwanted space for the posterdown_html left logo implementation and have fixed it here.

Thanks for the heads up on this and please let me know if this worked out for you!

Cheers!

brentthorne avatar Feb 18 '20 00:02 brentthorne