Okay I dont think there is anything wrong with the code as such because I used a free gallery builder from here to be precise
Flash-Gallery.com - Get your flash photo gallery (flash component, swf gallery, Joomla and Wordpress plugins, jquery gallery)
and have incorporated it into my portfolio website because I am pretty new to coding for web side of things.
anyway it loads perfectly well from the local file but when I upload to my host (im using 000webhost.com) to test the site it starts to get buggy and not work properly.
Less than half of the images load up and I do not know why this is. Somebody already suggested to me that it could be one of these things
1: Analytics is enabled (disable it at 000webhost.com Members Area )
2: The flash loades txt files, txt files are disabled for security reasons (however, .dat files is read the same way from a script as a txt file, so change txts to dats)
however I turned off the analytics script and it made no difference
I have not tried to update the file extension yet because i am not sure that this is why
<script type="text/javascript" src="gallery/js/jquery.js"></script>
<script type="text/javascript" src="gallery/js/swfobject.js"></script>
<script type="text/javascript" src="gallery/js/flashgallery.js"></script>
<script type="text/javascript">
jQuery.flashgallery('gallery/gallery.swf', 'gallery/config.json', { width: '1250px', height: '480px', background: 'transparent' });
</script>
</script>
if it is configured to read as .json surely that is not the same as .txt?