Skip to main content
Participating Frequently
July 27, 2022
Answered

Images not rendering when I publish files and upload to web server.

  • July 27, 2022
  • 3 replies
  • 833 views

Good Day everyone. So, I have battled for days now and I am completely at my wits end. I have a Animate project that I have been working on. When I publish my HTML5 canvas, and test it localy in my browser, all the elemnts render just fine. The problem starts when I upload my files to my web server. I upload my images folder, my .js file and my HTML file, but nothing. Its the images that dont load. All the other stuff (vector based objects), they load just fine. As I said, when I test localy, its fine. As soon as I upload, thats where the nonsense starts. I really am at my wits end. Anybody tell me by looking at this file what the problem could be? Thanks in advance guys. Put me out of my misery, please. I have a googledrive link to the files for any kind soul who would like to take a look and maybe tell me what I am doing wrong here.

https://drive.google.com/drive/folders/1f2pYuQVid6dIChPjXi2C6Tm2WXmYgxDV?usp=sharing

This topic has been closed for replies.
Correct answer JoãoCésar17023019

Great! Please let us know if you need further assistance.

 

Do you mean this one? If so, than that's me. o/

3 replies

JoãoCésar17023019
Community Expert
Community Expert
July 28, 2022

BTW, awesome content that you have!

JoãoCésar17023019
Community Expert
Community Expert
July 28, 2022

Hi.

 

I suspect that this issue is related to your server configuration. Have you tried uploading it to somewhere else?

 

Because I can't see the images using your link either. But using kglad's link and a link I that I created the images load correctly.

 

Can you double check your server settings and also can you upload your content to an alternative link?

 

Please let us know.

 

Regards,

JC

Participating Frequently
July 28, 2022

Hey man, you know what? I think you are right brother. This just makes no sense. On paper, it should be working. I think its definately a server problem actually. You are the dude with that awesome git repository filled with amazing AS3 and HTML5 projects, arent you?

JoãoCésar17023019
Community Expert
JoãoCésar17023019Community ExpertCorrect answer
Community Expert
July 28, 2022

Great! Please let us know if you need further assistance.

 

Do you mean this one? If so, than that's me. o/

kglad
Community Expert
Community Expert
July 27, 2022

what's the link to your canvas html on your server?

Participating Frequently
July 27, 2022

@kglad , thanks for replying bud. Here it is:

https://livecom.co.za/staging/2022/wheel/

I checked console and it is outputing something, just not sure what it all means to tell you the truth. What I dont understand is if I am just using the HTML5 standard publishing settings, why I would be getting an error?

kglad
Community Expert
Community Expert
July 27, 2022

there's a bitmap problem.

 

to remedy:

 

create a new folder

save your fla to that new folder

test your fla

(everything should work as expected)

on your server, delete all the files (esp your images folder) that you uploaded for this canvas test

upload to your server all the files in your new folder except the fla

clear your browser cache

retest your canvas test files on your server

 

any problem?