PictoPy icon indicating copy to clipboard operation
PictoPy copied to clipboard

BUG:Broken image link in Manual Setup Guide (serverRunning.png returns 404)

Open Mansi2007275 opened this issue 4 months ago • 4 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

What happened?

Description

The screenshot showing the FastAPI dev server running is broken on the Manual Setup Guide page of the documentation site.

Page: https://aossie-org.github.io/PictoPy/Manual_Setup_Guide/

Root Cause

The image file exists in the repo at docs/assets/screenshots/serverRunning.png, but the markdown source references it with this URL: https://aossie-org.github.io/docs/assets/screenshots/serverRunning.png Since GitHub Pages publishes the /docs folder as the site root, the docs/ segment should not appear in the published URL, and the repo name (PictoPy) needs to be the path prefix instead. The correct URL should be:

Steps to Reproduce

  1. Visit https://aossie-org.github.io/PictoPy/Manual_Setup_Guide/
  2. Scroll to the "Python (FastAPI) Backend Setup Steps" section
  3. The "server running" screenshot fails to load (404)

Suggested Fix

Update the image URL in the source markdown file (likely docs/Manual_Setup_Guide.md) to either:

  • The corrected absolute URL above, or
  • A relative path (e.g. ../assets/screenshots/serverRunning.png), which is more robust against future domain/path changes

Additional Context

I'd like to work on this fix if it's confirmed — happy to open a PR.

Record

  • [x] I agree to follow this project's Code of Conduct

Mansi2007275 avatar Jul 03 '26 18:07 Mansi2007275

👋 Thanks for opening this issue! The maintainers will review it shortly. Till then, do not open any PR. This is a strict rule we like to follow around here :)

github-actions[bot] avatar Jul 03 '26 18:07 github-actions[bot]

See comment https://github.com/AOSSIE-Org/PictoPy/issues/1359#issuecomment-4881591937

akshajtiwari avatar Jul 04 '26 10:07 akshajtiwari

@Mansi2007275, the screenshot does load correctly when viewing the documentation directly on GitHub.

And yes, I agree that the image returns a 404 on the docs website. One thing you would be required to keep in mind Is that the image should be visible within both, the doc's hosted website and GitHub docs as well.

rohan-pandeyy avatar Jul 07 '26 16:07 rohan-pandeyy

Hi @rohan-pandeyy and maintainers! 👋

I would like to work on this issue if it is still open.

The fix is straightforward: In docs/Manual_Setup_Guide.md, changing the image path from /docs/assets/screenshots/serverRunning.png to the relative path assets/screenshots/serverRunning.png will allow it to resolve correctly on both the hosted MkDocs website (since docs/ is the root) and the GitHub source view.

Could you please assign this to me? I can open a PR with the fix right away.

DashratRajpurohit avatar Jul 16 '26 17:07 DashratRajpurohit