PDA

View Full Version : Image thumbnail viewer ii - works in preview but not on net



tghhampton
11-02-2011, 02:42 AM
Hi,

I have had a go at using the Image Thumbnail Viewer II. I can get it to work on my PC when I view it (in Dreamweaver) however once uploaded it does not work. If you are fast enough to click on the image when the page is still loading you will be taken off to a blank page for viewing the image however it is not loading on the actual page where the thumbnail is.

Note I have uploaded the "thumbnailviewer.css/.js as well as the loading.gif to my host.

The link to the webpage concerned is: http://artilleryhistory.org/gun_register/norfolk_island/gun_norfolk_island_test.html .

Any help would be greatlyt appreciated to advise where I have gone wrong !

Kind regard & many thanks,

Graham

jscheuer1
11-02-2011, 06:40 AM
If I navigate directly to /gun_register/norfolk_island/photos_norfolk_island/gun_norfolk_Island_18pdr.jpg, it comes up. But on the page (once one has clicked on the thumbnail) it's a broken image icon. I've seen this once before. In that case it was I believe a problem with permissions on the image file and/or its folder.

That's set server side, either in a .htaccess file or the server configuration.

There is a typo (red in the highlighted section - scroll the code block to see it):


<a href="http://www.artilleryhistory.org.au/gun_register/norfolk_island/photos_norfolk_island/gun_norfolk_Island_18pdr.jpg"" rel="thumbnail"><img src="photos_norfolk_island/gun_norfolk_Island_18pdr.jpg" style="width: 250px; height: 180px" /></a>

But removing that extra quote mark didn't seem to help.

tghhampton
11-03-2011, 06:47 AM
Hi John,

Thanks for taking the time to have a look at this for me. I have corrected the typing error by removing the " however as you say it did not help.

I will keep working at it, but I do sincerely appreciate you taking the time to have a look at it for me and making the effort to respond.

Take care and thanks again,

Regards,

Graham

jscheuer1
11-03-2011, 08:16 AM
I've seen this once before. In that case it was I believe a problem with permissions on the image file and/or its folder.

That's set server side, either in a .htaccess file or the server configuration.

This probably deserves more explanation. Permissions can also be set in most ftp programs using chmod or the ftp program's equivalent. The chmod command is also available in various terminal type interfaces, but those are rarely used these days. If all else fails, check your host's faq. It probably has something on setting permissions for files and folders. If not, or if you have trouble understanding it, contact your host's support.