coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: soboyle on August 26, 2004, 10:14:55 PM

Title: removing thumbs in 2nd level
Post by: soboyle on August 26, 2004, 10:14:55 PM
I see an option to remove thumbs in first level of catagories, is there a way to remove them in the second level? I would prefer to show just a list of the albums I have in there with no thumbs.

Love this software, I like it so much that I signed up for a PHP and MySQL class this semester, so who know, maybe one day I will make sense of the scrawls and heiroglyphics the php files.
Title: Re: removing thumbs in 2nd level
Post by: Joachim Müller on August 26, 2004, 10:22:11 PM
if your albums reside in no category at all (or in the root category, if you wish to call it this way), they will be visible no matter what you do in config. If you have a large number of albums, I recommend putting them into categories - will make it easier for your visitors. If you don't want album thumbnails at all, you will have to modify the code of index.php

Joachim
Title: Re: removing thumbs in 2nd level
Post by: soboyle on August 26, 2004, 10:32:27 PM
Currently I have 2 catagories, and under each catagory there are numerous albums. The albums display a thumb next to them and some text describing the number of files in the album, last one added etc. I would like to remove that thumb and text and just have a list there.
Once in the album I want to have the thumbnails showing.
Title: Re: removing thumbs in 2nd level
Post by: Joachim Müller on August 26, 2004, 10:39:05 PM
like I said: modify index.php then.

Joachim
Title: Re: removing thumbs in 2nd level
Post by: soboyle on August 27, 2004, 07:25:12 PM
Can anyone point me to where in index.php I would make changes to remove the thumbnail and text from the album list.
Title: Re: removing thumbs in 2nd level
Post by: Joachim Müller on August 27, 2004, 08:45:32 PM
there are several places you will have to modify. Looking into this and giving you more hints would actually mean coding this for you. Look for <img (but not all image tags have to be modified). Don't remove hem, but comment them out, using <!-- and -->

Joachim