how does shiny handle temporary files?
I have an app where the user uploads images (one by one) and then via officer (and flextable) a document is generated
compose(i=1,j=1, value = as_paragraph(as_image(col1,width = 3.46,height = 2.63)),part = "body") %>%
compose(i=1,j=2, value = as_paragraph(as_image(col2,width = 3.46,height = 2.63)),part = "body")
but when I download the document, the images supposedly are different, but in the docx are the same.
This happens with temporary images. I know it's something with officer since it happened similarly with other segment of the document. It didn't happened with uploading multiple images at once, but with consecutive fileInput's
is there a way to reset the image rendering or something?
Thank you