PDA

View Full Version : Multi-Index Template Question



BobLeggett
May 6th, 2005, 02:54 PM
I'm customizing the multi-index template, I would like to remove the file caption from each photo. Here's the the thumbnail file contents:

if (startImage = @imageNumber@) { if ((@imageNumber@ - 1) % numColumns == 0) document.write('') document.write('
@file@') }

If I try to remove the @file@ token, the html file doesn't show the photos, or open up after html generation. Any help would be greatly appreciated.

Thanks in Advance
Bob

BobLeggett
May 7th, 2005, 03:41 AM
I thought I should add the following information is in my webeditors edit window. I have tried removing all & segmented parts of the @file@ token, but no joy. This is driving me crazy, any suggestions would be greatly appreciated. Thanks

Bob

if (startImage = @imageNumber@){ if ((@imageNumber@ - 1) % numColumns == 0) document.write('') document.write('
@file@ ')
}
Gatorboy
May 7th, 2005, 07:02 PM
I have my own customized template, and I have it set up without the filename under the thumbnails. Here is my thumbnail template file:


if (startImage = @imageNumber@)
{
if ((@imageNumber@ - 1) % numColumns == 0) document.write('
')

document.write('')
}

It's pretty close to what you have. I would suggest removing:


@file@

from your template.
BobLeggett
May 7th, 2005, 10:38 PM
Dave

Thanks for your reply for help!

I carefully removed the
@file@ and saved the file. When I ran BBPro Html it generated the files, but didn't open the results. I went into the files and found the index file with a .bak extension. I renamed it .htm and the file opened but no thumbnails.

Any ideas?

Thanks
Bob

Gatorboy
May 7th, 2005, 11:10 PM
Bob,

I think I have the solution to your problem. Do you have Javascript DISABLED? If so, the thumbnails will not display. If you have Javascript ENABLED, then if you are running some sort of Ad blocker, that could be the culprit.

BobLeggett
May 8th, 2005, 01:31 AM
Dave

Thanks for trying to help me with this, I really appreciate it.

I have Java enabled. I only have a problem generating and opening up the thumbnails if I change the thumbail_template settings. I was beginning to wonder if it was even possible to change the template, but you've been successful.

The only thing I trying to do is eliminate the file name token, but any change seem to stop the generation of the thumnails.

Bob

PS
Nice website.......

Gatorboy
May 8th, 2005, 02:59 PM
It's not Java that needs to be enabled, it's Javascript.

Regardless, are you saying the thumbnails are viewable with the original multi-index template, but not viewable when you make this change of taking out the @file@ token?

Peter
May 8th, 2005, 06:46 PM
Bob,
any try of help can only be a wild guess without seeing the code. Upload one of your galleries, post the link and it will be very easy to find the error.

BobLeggett
May 8th, 2005, 09:08 PM
Dave & Peter

Here is the link for my website.

http://bleggett.com (If you click on a photo it will take you to the pages with the file names under the thumbnail)


Dave - your correct in your understanding of the problem, if I remove the @file@ token from the thumbnail_template Breezebrower will not generate the thumbs. When I put it back in, no problem (or course I still have the file names generated) it creates a page showing the thumbnails.

The other interesting thing is with the token out of the template, it not only won't create any thumbnails (just a blank page with the header), it only creates a index.bak file.

Thanks for trying to solve this problem.

Bob

Peter
May 8th, 2005, 09:38 PM
If you show us a working gallery we cannot find the error. ;)

Removing the token @file@ never can cause such dramatic behavor, like generating a .bak file and no thumbs. The error must be in your workflow. Try a different text editor...

BobLeggett
May 8th, 2005, 10:49 PM
Peter & Dave

Using a different text editor WORKED!! Thank you so much for your effort in finding the solution to my problem, you guys are terrific.

Bob

PS
Sorry about listing my site instead of a working gallery, I went brain dead for a second, but I'm back now.