PDA

View Full Version : Thumbnail Viewer



doppelt
10-23-2013, 03:17 AM
Hi

I finally have this script working:

http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

but


to make it work, I had to make sure, as per instructions, that one of the scripts was accessed using this line:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
inside the head tags

If I copy that script and stick it on my server, and access it there
the script does not work on line, only locally

so why do I have to use that script on someone else's server?

that makes me nervous, very nervous, especially with all the malicious java out there
thanks
Dennis

jscheuer1
10-23-2013, 08:15 AM
You can host the script on your server if you want to. If you tried and it didn't work, most likely you did it wrong. I mean, it's possible you did everything right and that there's some restriction that your server has that's preventing it from working, but most likely what you tried was wrong, had a path wrong or some other typo. Or you might simply have forgotten to upload the script to the server. Some hosts add code to every file (tracking and/or ads), if you've done everything right, that could be the problem.

But you really shouldn't be afraid. Google, who hosts the script, is very vigilant and will not allow malicious code in the scripts it hosts. Google is probably more vigilant about that than your host is. Another reason not to be afraid is that with a third party hosted script, many people already have this script cached. That will speed the loading of your page.

If you still want to host the script yourself and want more help with it, please link us to a page where you're trying to use your server's hosted copy of the script so we can see what the problem is.