Posts [ 3 ]

Topic: Most likely an easy question... anyone care to answer?

oh im pretty new to designing websites and all and i am trying to add this cool image gallery (simple viewer) to my site. i am having some troubles with the gallery.xml though... it seems that everytime i change the <filename> line it will either show up as a picture OR a thumbnail. whatever i do i cant get both the thumbnail to link to the image, so that when clicked it shows up larger.

Re: Most likely an easy question... anyone care to answer?

For each thumbnail/image combination, create only one <filename>...</filename> entry (and no <thumb>...</thumb> entry) in 'gallery.xml'.

<filename>test.jpg</filename> will look for a file called 'test.jpg' in the 'thumbPath' to use as a thumbnail and will also look for a file called 'test.jpg' in the 'imagePath' to use as the image, regardless of whether the 'thumbPath' and 'imagePath' are the same or not.

Therefore, you can keep imagePath and thumbPath the same and have just one image to be used as both the thumbnail and the image or have separate folders for thumbnails and images but, in this scenario, both the thumbnail and the image must have exactly the same filename.