forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: benjo on January 07, 2005, 06:05:47 pm

Title: Disable the disply of last image upload, and enable one static image
Post by: benjo on January 07, 2005, 06:05:47 pm
Hello All-

Right now, the image that is displayed on the catagory index page is the last image that was uploaded for that album. 

However, what I want to do is; I want one image, the image that I feel best sums up that entire album, to be statically chosen, as the one image preview.

For example, i was married in 2004, and the image that it is coming up (the last image uploaded for that album) as the preview is a picture of some relative, not a picture of my wife and I.

does that make sense?  <sigh>...

thanks!!
Title: Re: Disable the disply of last image upload, and enable one static image
Post by: Joachim Müller on January 08, 2005, 05:06:17 am
By default, the thumbnail representing an album is the one that was last uploaded. You can change it to be any other thumbnail from that particular album, using the "properties" button next to the album thumbnail. This is all nicely being described in the documentation that comes with coppermine (and that is available online as well by clicking on "documentation" at the top of this page). You're suggested to read the docs before posting questions, as it's not very nice for supporters to answer the same questions over and over again...

Joachim
Title: Re: Disable the disply of last image upload, and enable one static image
Post by: benjo on January 08, 2005, 07:57:40 pm
Thanks...I knew I read it somewhere previously.
<edit>
However, when I click on "Properties" I get the error "There was an error while processing a database query ".  Any ideas?
</edit>
Title: Re: Disable the disply of last image upload, and enable one static image
Post by: benjo on January 08, 2005, 08:49:46 pm
Also, while in debug mode I received this message:

Quote
While executing query "SELECT aid, CONCAT('(', user_name, ') ', title) AS title FROM cpg132_albums AS a INNER JOIN cpg132_users AS u ON category = (10000 + user_id) ORDER BY title" on 0

mySQL error: Got error 28 from table handler

I then did a search on error 28, but still an unable to figure out how to repair the error.  Any and all help will be appreciated!
Title: Re: Disable the disply of last image upload, and enable one static image
Post by: kegobeer on January 08, 2005, 09:10:38 pm
That's a MySQL error:
http://www.mysql.com/news-and-events/newsletter/2003-10/a0000000249.html