Topic: Thumbs prefix

I'm wanting to use SimpleViewer with a CMS systems that generates images and thumbs with the thumbs having a prefix of tn_.  Is it possible to modify SimpleViewer to read the thumbs with a prefix.  Is so, how.

Note, both images and thumbs are in the same directory


Re: Thumbs prefix

It's possible by modifying the source code. Modify this line in the ThumbArea class:

mThumbs[i] = new Thumb(mClip_mc.mcDisplayArea.mcSlidingDisplayArea, i,mXMLManager.thumbPath + mXMLManager.imageFileNames[i]);

Change the last parameter in the Thumb() call to reflect your new naming convention.

Felix Turner
SimpleViewer Support Team.

Re: Thumbs prefix

Thanks, that worked.