Skip to content

A Problem about the Present Mode #1268

Closed
@Real-John-Cheung

Description

@Real-John-Cheung

Nature of issue?

  • Found a bug (not sure if it's a bug)

Details about the bug:

  • Web browser and version: Safari 13.0.3 and Chrome 79.0.3945.130
  • Operating System: macOS Catalina 15.10.1
  • Problem: I use a for loop like this to load images
for (let i=0;i<4;i++){
 let tem = "filename"+str(i+1)+".jpg";
imageArray.push(loadImage(tem));
}

and it work good as a sketch, as an embed and being run locally. But It doesn't work on the present page (aka on editor.p5js.org/account/present/projectcode) and it return a 404 error of wrong image path.
And if I use the normal method it work well on every mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueA beginner-friendly issue, great for first-time contributorsPriority:HighShould be addressed soon but not critical

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions