Skip to content

Shiny images 404 on Posit Connect Cloud #14651

Description

@jimjam-slam

I have:

  • searched the issue tracker for similar issues
  • installed the latest version of Quarto CLI
    • Mine's about 4 months old, but the bug concerns the PPC version of Quarto, not my local one
  • formatted my issue following the Bug Reports guide

Bug description

I'm helping a colleague with a Quarto Dashboard that uses Shiny for Python. It runs well locally, but when I deploy the app to Posit Connect Cloud, I'm not able to get external images (in this case, pre-computed figures) to load at all. I've tried putting them in both images and www, and I've tried adding the paths under resources, resource-path, format.dashboard.resources and format.dashboard.resource-path. No combination of this seems to get images loading, either with a client-side path of /images, /www or /www/images.

I have a reprex here:

Local view (the image in this test case is an orange square):

Image

Deployed view:

Image

Note that I'm deploying this by connecting the repo on PPC, not using quarto publish. So Shiny itself does work in the actual example, it's just the images that are giving me some trouble 🤔

Your environment

Posit Connect Cloud

Quarto check output

Quarto 99.9.9
[✓] Checking environment information...
      Quarto cache location: /Users/jimjamslam/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.8.3: OK
      Dart Sass version 1.87.0: OK
      Deno version 2.4.5: OK
      Typst version 0.14.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 99.9.9
      commit: 5b88d3dfe1519179e2e8753c44e058a11ab62ff3
      Path: /Users/jimjamslam/code/tools/quarto-cli/package/dist/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)
      Chrome Headless Shell: (not installed)
      VeraPDF: (not installed)

[✓] Checking LaTeX....................OK
      Tex:  (not detected)

[✓] Checking Chrome Headless....................OK
      Using: Chrome found on system
      Path: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
      Source: MacOS known location

[✓] Checking basic markdown render....OK

[✓] Checking R installation...........OK
      Version: 4.5.2
      Path: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources
      LibPaths:
        - /Users/jimjamslam/Library/R/arm64/4.5/library
        - /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library
      knitr: 1.51
      rmarkdown: 2.31

[✓] Checking Knitr engine render......OK

[✓] Checking Python 3 installation....OK
      Version: 3.13.13
      Path: /Users/jimjamslam/Code/tests/test-ppc-quarto-shiny-python/.venv/bin/python3
      Jupyter: 5.9.1
      Kernels: python3

(\) Checking Jupyter engine render....[IPKernelApp] WARNING | Kernel is running over TCP without encryption. All communication (including code and outputs) is sent in plain text and is susceptible to eavesdropping. Use IPC transport or launch with kernel manager-provisioned CurveZMQ keys to enable transport encryption.
[✓] Checking Jupyter engine render....OK

[✓] Checking Julia installation...

Metadata

Metadata

Assignees

No one assigned

    Labels

    supporta request for support

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions