Hi, this is my first time asking a question, so apologies in advance if I do something stupid.
I made my third blogpost with blogdown. I've used images on the first two and everything went well, but this was the first one where the images were created by R code:
png_1 <- image_read_pdf("index_files/pdf_with_image_1.pdf")
print(png_1)
This created a new folder and the path looks like this:
\content\post\2021-06-05-mining-text-from-pdf-files-part-3-pdf-with-an-image\index_files\figure-html\
The images themselves are named in this manner: unnamed-chunk-4-1.png
After finishing writing the post I made the usual Git/GitHub ritual and Netlify seemed to deploy the post normally.
However, this is what it looks like on the website:
I tried to read about similar problems on GitHub and even here, but I didn't find a straightforward answer to the problem.
This is what the html code looks like (I'm a new user, so I couldn't embed another image):
img src="{{< blogdown/postref >}}index_files/figure-html/unnamed-chunk-4-1.png" width="1650"
I can provide more information if needed. Thank you!
Antti
ps. I have presented the same problem on StackOverflow as well.