What field distinguishes the default thumbnail? What field distinguishes the default thumbnail?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

What field distinguishes the default thumbnail?

Started by treehstn, September 18, 2008, 06:04:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

treehstn

I'm using CM as a gallery engine for a database system that I'm working on.  I have a programmer working on part of the project.  He is not familiar with CM. 

What I need to do is enter the static url for each album into a field in one of my database tables.  When a user searches the database the search results are going to bring up the default thumbnail image for the attached CM album. 

What I can't figure out is what record or field in coppermine is distinguishing the default thumbnail.  I'm already going to have to manually copy and paste the static url for the albums.  I'd rather not do the same for the default thumbnail especially since I'd like to have the flexibility of changing the default thumbnail.  If I could have the programmer use a database call (don't know if I'm using the correct terminology) against the given album to display the thumbnail it would be great!!!

Thanks!

Nibbler

It's the 'thumb' field. That corresponds to a Coppermine pid or if 0 you grab the last uploaded file as the thumb.

treehstn

Thanks Nibbler!  I'll pass on the info and see if he can get it to work.