Random image for all Album thumbnai uploaded Random image for all Album thumbnai uploaded
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Random image for all Album thumbnai uploaded

Started by johnfelipe, September 27, 2013, 08:43:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

johnfelipe

Hi, please tell me if possible change default Last uploaded for Random image for all image uploaded

Tnks

Αndré

I don't get what you're asking for. Please describe more detailed.

johnfelipe

Please see my attach, i need upload all random for default, not latest upload

Tnks

Αndré

Do you want to set it as default for already existing albums or just new created albums?

johnfelipe


Αndré

This has to be done directly in your database, with a tool like phpMyAdmin.

To set it as default for new albums, open the albums table and change the default value for thumb to -1.

To set it as default for all existing albums, execute this query:
QuoteUPDATE cpg15x_albums SET thumb = '-1'
(maybe you need to adjust the table prefix).

johnfelipe

Done it works, and now for new created albums?, default and dont change in properties albums?

Tnks

Jeff Bailey

Quote from: Αndré on October 04, 2013, 11:23:07 AM
This has to be done directly in your database, with a tool like phpMyAdmin.

To set it as default for new albums, open the albums table and change the default value for thumb to -1.

Did you complete this part? or did it not work?
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford