diff --git a/README.md b/README.md index 75544e7..db1700b 100644 --- a/README.md +++ b/README.md @@ -86,10 +86,10 @@ output_type <- knitr::opts_knit$get("rmarkdown.pandoc.to") ```{r template screenshot, eval=TRUE, include=FALSE} -if (!file.exists("./screenshots/template_screenshot.png")) { +if (!file.exists("./screenshots/thumbnail_template.png")) { webshot2::webshot( url = "https://images.patolojiatlasi.com/template/HE.html", - file = "./screenshots/template_screenshot.png" + file = "./screenshots/thumbnail_template.png" ) } ``` @@ -101,7 +101,7 @@ knitr::include_url(url = "https://images.patolojiatlasi.com/template/HE.html") ```{comment, echo=FALSE, include=FALSE, eval=FALSE} #| label: template_screenshot #| fig-cap: "TemplateTR" -knitr::include_graphics("./screenshots/template_screenshot.png") +knitr::include_graphics("./screenshots/thumbnail_template.png") ``` @@ -120,7 +120,7 @@ TemplateTR **templateTR** -[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/template_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE.html) +[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_template.png){width="25%"}](https://images.patolojiatlasi.com/template/HE.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE.html) ``` @@ -139,7 +139,7 @@ asis, echo = (language == "TR") **templateTR** -[![İşaretlenmiş mikroskopik görüntüleri Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/template_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE_annotated.html) [İşaretlenmiş mikroskopik görüntüleri Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE_annotated.html) +[![İşaretlenmiş mikroskopik görüntüleri Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_template.png){width="25%"}](https://images.patolojiatlasi.com/template/HE_annotated.html) [İşaretlenmiş mikroskopik görüntüleri Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE_annotated.html) ``` ```{comment} @@ -173,7 +173,7 @@ asis, echo = (language == "TR") **templateEN** -[![Click for Full Screen WSI](./screenshots/template_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/template/HE.html) +[![Click for Full Screen WSI](./screenshots/thumbnail_template.png){width="25%"}](https://images.patolojiatlasi.com/template/HE.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/template/HE.html) ``` @@ -194,7 +194,7 @@ asis, echo = (language == "EN") **templateEN** -[![Click for Full Screen Annotated WSI](./screenshots/template_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE_annotated.html) [Click for Full Screen Annotated WSI](https://images.patolojiatlasi.com/template/HE_annotated.html) +[![Click for Full Screen Annotated WSI](./screenshots/thumbnail_template.png){width="25%"}](https://images.patolojiatlasi.com/template/HE_annotated.html) [Click for Full Screen Annotated WSI](https://images.patolojiatlasi.com/template/HE_annotated.html) ``` diff --git a/generate_qmd.R b/generate_qmd.R index 9073e25..dbd9b56 100644 --- a/generate_qmd.R +++ b/generate_qmd.R @@ -103,10 +103,10 @@ screenshot_string <- ' ```{r {{template}} screenshot {{stain}}, eval=TRUE, include=FALSE} -if (!file.exists("./screenshots/{{template}}-{{stain}}_screenshot.png")) { +if (!file.exists("./screenshots/thumbnail_{{template}}-{{stain}}.png")) { webshot2::webshot( url = "https://images.patolojiatlasi.com/{{template}}/{{stain}}.html", - file = "./screenshots/{{template}}-{{stain}}_screenshot.png" + file = "./screenshots/thumbnail_{{template}}-{{stain}}.png" ) } ``` @@ -154,7 +154,7 @@ wsi_link_string <- ' **{{TemplateTR}}** -[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/{{template}}-{{stain}}_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) ![](./qrcodes/{{template}}-{{stain}}_qrcode.svg){width="15%"} +[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_{{template}}-{{stain}}.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) ![](./qrcodes/{{template}}-{{stain}}_qrcode.svg){width="15%"} ``` @@ -164,7 +164,7 @@ wsi_link_string <- ' **{{TemplateEN}}** -[![Click for Full Screen WSI](./screenshots/{{template}}-{{stain}}_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) ![](./qrcodes/{{template}}-{{stain}}_qrcode.svg){width="15%"} +[![Click for Full Screen WSI](./screenshots/thumbnail_{{template}}-{{stain}}.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) ![](./qrcodes/{{template}}-{{stain}}_qrcode.svg){width="15%"} ``` @@ -515,10 +515,10 @@ asis {{TemplateEN}} , echo = (language == "EN") ``` r {{template}} screenshot {{stain}}, eval=TRUE, include=FALSE -if (!file.exists("./screenshots/{{template}}-{{stain}}_screenshot.png")) { +if (!file.exists("./screenshots/thumbnail_{{template}}-{{stain}}.png")) { webshot2::webshot( url = "https://images.patolojiatlasi.com/{{template}}/{{stain}}.html", - file = "./screenshots/{{template}}-{{stain}}_screenshot.png" + file = "./screenshots/thumbnail_{{template}}-{{stain}}.png" ) } ``` @@ -548,7 +548,7 @@ asis, echo = (language == "TR") **{{TemplateTR}}** -[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/{{template}}-{{stain}}_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) +[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_{{template}}-{{stain}}.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) ``` ``` @@ -556,7 +556,7 @@ asis, echo = (language == "EN") **{{TemplateEN}}** -[![Click for Full Screen WSI](./screenshots/{{template}}-{{stain}}_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) +[![Click for Full Screen WSI](./screenshots/thumbnail_{{template}}-{{stain}}.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) ``` diff --git a/newfile.qmd b/newfile.qmd index b9c91b9..468c94a 100644 --- a/newfile.qmd +++ b/newfile.qmd @@ -21,10 +21,10 @@ output_type <- knitr::opts_knit$get("rmarkdown.pandoc.to") ```{r template screenshot HE1, eval=TRUE, include=FALSE} -if (!file.exists("./screenshots/template-HE1_screenshot.png")) { +if (!file.exists("./screenshots/thumbnail_template-HE1.png")) { webshot2::webshot( url = "https://images.patolojiatlasi.com/template/HE1.html", - file = "./screenshots/template-HE1_screenshot.png" + file = "./screenshots/thumbnail_template-HE1.png" ) } ``` @@ -36,7 +36,7 @@ webshot2::webshot( **TemplateTR** -[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/template-HE1_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE1.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE1.html) +[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_template-HE1.png){width="25%"}](https://images.patolojiatlasi.com/template/HE1.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE1.html) ``` @@ -52,7 +52,7 @@ Mikroskopik görüntüleri inceleyin: **TemplateEN** -[![Click for Full Screen WSI](./screenshots/template-HE1_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE1.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/template/HE1.html) +[![Click for Full Screen WSI](./screenshots/thumbnail_template-HE1.png){width="25%"}](https://images.patolojiatlasi.com/template/HE1.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/template/HE1.html) ``` @@ -71,10 +71,10 @@ See Microscopy with viewer: ```{r template screenshot HE2, eval=TRUE, include=FALSE} -if (!file.exists("./screenshots/template-HE2_screenshot.png")) { +if (!file.exists("./screenshots/thumbnail_template-HE2.png")) { webshot2::webshot( url = "https://images.patolojiatlasi.com/template/HE2.html", - file = "./screenshots/template-HE2_screenshot.png" + file = "./screenshots/thumbnail_template-HE2.png" ) } ``` @@ -86,7 +86,7 @@ webshot2::webshot( **TemplateTR** -[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/template-HE2_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE2.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE2.html) +[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_template-HE2.png){width="25%"}](https://images.patolojiatlasi.com/template/HE2.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE2.html) ``` @@ -102,7 +102,7 @@ Mikroskopik görüntüleri inceleyin: **TemplateEN** -[![Click for Full Screen WSI](./screenshots/template-HE2_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE2.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/template/HE2.html) +[![Click for Full Screen WSI](./screenshots/thumbnail_template-HE2.png){width="25%"}](https://images.patolojiatlasi.com/template/HE2.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/template/HE2.html) ``` diff --git a/newqmd.qmd b/newqmd.qmd index 7ee02df..07c4d0a 100644 --- a/newqmd.qmd +++ b/newqmd.qmd @@ -75,10 +75,10 @@ output_type <- knitr::opts_knit$get("rmarkdown.pandoc.to") ```{r deneme screenshot ER, eval=TRUE, include=FALSE} -if (!file.exists("./screenshots/deneme-ER_screenshot.png")) { +if (!file.exists("./screenshots/thumbnail_deneme-ER.png")) { webshot2::webshot( url = "https://images.patolojiatlasi.com/deneme/ER.html", - file = "./screenshots/deneme-ER_screenshot.png" + file = "./screenshots/thumbnail_deneme-ER.png" ) } ``` @@ -89,10 +89,10 @@ webshot2::webshot( ```{r deneme screenshot PR, eval=TRUE, include=FALSE} -if (!file.exists("./screenshots/deneme-PR_screenshot.png")) { +if (!file.exists("./screenshots/thumbnail_deneme-PR.png")) { webshot2::webshot( url = "https://images.patolojiatlasi.com/deneme/PR.html", - file = "./screenshots/deneme-PR_screenshot.png" + file = "./screenshots/thumbnail_deneme-PR.png" ) } ``` @@ -103,10 +103,10 @@ webshot2::webshot( ```{r deneme screenshot CMV, eval=TRUE, include=FALSE} -if (!file.exists("./screenshots/deneme-CMV_screenshot.png")) { +if (!file.exists("./screenshots/thumbnail_deneme-CMV.png")) { webshot2::webshot( url = "https://images.patolojiatlasi.com/deneme/CMV.html", - file = "./screenshots/deneme-CMV_screenshot.png" + file = "./screenshots/thumbnail_deneme-CMV.png" ) } ``` @@ -131,14 +131,14 @@ webshot2::webshot( **deneme TR** -[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/deneme-ER_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/deneme/ER.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/deneme/ER.html) +[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_deneme-ER.png){width="25%"}](https://images.patolojiatlasi.com/deneme/ER.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/deneme/ER.html) ``` ```{asis, echo = (language == "EN")} **deneme EN** -[![Click for Full Screen WSI](./screenshots/deneme-ER_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/deneme/ER.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/deneme/ER.html) +[![Click for Full Screen WSI](./screenshots/thumbnail_deneme-ER.png){width="25%"}](https://images.patolojiatlasi.com/deneme/ER.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/deneme/ER.html) ``` @@ -152,14 +152,14 @@ webshot2::webshot( **deneme TR** -[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/deneme-PR_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/deneme/PR.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/deneme/PR.html) +[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_deneme-PR.png){width="25%"}](https://images.patolojiatlasi.com/deneme/PR.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/deneme/PR.html) ``` ```{asis, echo = (language == "EN")} **deneme EN** -[![Click for Full Screen WSI](./screenshots/deneme-PR_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/deneme/PR.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/deneme/PR.html) +[![Click for Full Screen WSI](./screenshots/thumbnail_deneme-PR.png){width="25%"}](https://images.patolojiatlasi.com/deneme/PR.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/deneme/PR.html) ``` @@ -173,14 +173,14 @@ webshot2::webshot( **deneme TR** -[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/deneme-CMV_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/deneme/CMV.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/deneme/CMV.html) +[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_deneme-CMV.png){width="25%"}](https://images.patolojiatlasi.com/deneme/CMV.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/deneme/CMV.html) ``` ```{asis, echo = (language == "EN")} **deneme EN** -[![Click for Full Screen WSI](./screenshots/deneme-CMV_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/deneme/CMV.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/deneme/CMV.html) +[![Click for Full Screen WSI](./screenshots/thumbnail_deneme-CMV.png){width="25%"}](https://images.patolojiatlasi.com/deneme/CMV.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/deneme/CMV.html) ```