Ossn fail to load image!

Malik Umer Farooq Posted in Technical Support 7 years ago

Hay i am working in mankig new game but ossn fail to load image
here is screenshort
enter image description here

here is my project file
https://lablnet.tk/ossn_report/Malik_snake.zip

Replies
ng Moneya Replied 7 years ago

You welcomed

pk Malik Umer Farooq Replied 7 years ago

Its not properly work but you give me a more knowledge that php work within javascript
@moneya

pk Malik Umer Farooq Replied 7 years ago

but in my website its work fine https://lablnet.tk/online/game/snake.php

pk Malik Umer Farooq Replied 7 years ago

hay @Moneya this work but not properly
enter image description here

and zet how to make poll
there is no clickable option and i also have no idea how to use github
seeenter image description here

ng Moneya Replied 7 years ago

Can you correct the Topic name from your end? To Something like OSSN Plugin fail to load image! and move it to the plugin development section.

ng Moneya Replied 7 years ago

@Zet Man sorry about that.
He isn't an English native speaker, So he make's typos.

German Michael Zülsdorff Replied 7 years ago

Malik, I appreciate you're enthusiatic work on Ossn,
but please put stuff like that onto Github, and discuss your ideas and problems there. Moneya could send you pull requests then, and things are much easier.

Starting a topic like 'Ossn fails to load images' HERE will make people think that Ossn has problems with images in general, and that's very much misleading.

ng Moneya Replied 7 years ago

Sent you a mail.
You made a mistake.
check your snake.php line 190

images = loadImages(["image/snake-graphics.png"]);

Try using images = loadImages(["<?php echo ossn_site_url();?>components/Malik_snake/plugins/default/snake/image/snake-graphics.png"]);

That should work.