Gomoku tutorial: Cannot load image onto screen

Game development with Board Game Arena Studio
Post Reply
linhtran190897
Posts: 13
Joined: 07 September 2023, 23:07

Gomoku tutorial: Cannot load image onto screen

Post by linhtran190897 »

Hello, I'm following Gomoku tutorial and I cannot load the Goban.jpg under img onto the screen.
I keep getting either 404 for the GET or Failed to load resource: the server responded with a status of 404 ().


Screenshot 2023-10-13 115222.png
Screenshot 2023-10-13 115222.png (20.95 KiB) Viewed 282 times
Screenshot 2023-10-14 001736.png
Screenshot 2023-10-14 001736.png (9.7 KiB) Viewed 282 times

What I already tried so far:
- Already made sure that SFTP automatically connected: After I hit Cmd + S, VSCode showed "done"
Screenshot 2023-10-13 233312.png
Screenshot 2023-10-13 233312.png (1.98 KiB) Viewed 282 times
- Already cleared cache and tried hard refresh.
- Already checked url of the image. I even tried ../img/Goban.jpg and ../..img/Goban.jpg or other images. None worked.
- Already inserted image by using img tag directly in .tpl file instead of using CSS, did not work.
- Already create another project for Heart. Same issue happened.

Is there any other solution I should try? Please help since I think this is just a minor issue with the SFTP or the framework, but somehow I cannot solve this and move on to finish the tutorial...
User avatar
RicardoRix
Posts: 2548
Joined: 29 April 2012, 23:43

Re: Gomoku tutorial: Cannot load image onto screen

Post by RicardoRix »

Try WinSCP to see if the image really has been uploaded. WinSCP has a feature to sync a directory (under Commands).
linhtran190897
Posts: 13
Joined: 07 September 2023, 23:07

Re: Gomoku tutorial: Cannot load image onto screen

Post by linhtran190897 »

Oh my god it worked perfectly!! :o Why didn't you recommend this sooner... I still don't understand why the SFTP in vscode doesn't work though but thank you so much! I can sleep well now :D
Post Reply

Return to “Developers”