Displayed Image Size after picture no. 49 Displayed Image Size after picture no. 49
 

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

Displayed Image Size after picture no. 49

Started by specialist383, July 31, 2011, 01:04:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

specialist383

Hello,
I found a strange behaviour in 1.5.12 : When browsing through a user gallery, showing the selected picture above and the photo strip below, the first pictures up to number 49 in that gallery are displayed kind of too large, generating a screen larger than the display size. Exactly at picture 50 it drops to a small size about 4 times a thumbnail and stays this size for more pictures.
I suppose it was done intentionally. Can the limit be changed and, if so, where, in settings or in the php code ?
Is there a setting for automatic scaling the picture display to the available screen size using Javascript ?
This project has a lot of options and still performs admirably great.
Thanks for the support.

Αndré

Please post a link to that album in your gallery.

specialist383

Hi,
sorry for that 'early' post. After a lot of searching it turned out that it was a timeout problem in the local (=my) php.ini settings. The update function timed out just at picture 49. Default in php.ini is 30 sec max. operation per task, which was far too short. After an increase to 180 sec it works on larger galleries with updates for 15 instead of (default) 25 pictures at one time. It would depend also on CPU power.
Picture upload size is also not only a question of coppermine settings, but also of php.ini and of apache/mod_security settings, if used with apache. In that case the basic.rules settings need to be readjusted.
While copying directories out of an older gallery into coppermine I got stuck with the long-used directory name "Planten~Blomen". The name is fine with linux and windows but coppermine tried a string operation on the source name and got stuck. The effect looked much like wrong file properties. It worked fine again with "Planten-Blomen" which is not bad either.
The php log file records a lot of complaints that the time zone definitions used in the php code are not up to date any more, but it works without problems.
I am still happy with this great piece of software.
Thanks.

Αndré

Quote from: specialist383 on August 04, 2011, 10:20:29 PM
The update function timed out just at picture 49. Default in php.ini is 30 sec max. operation per task, which was far too short. After an increase to 180 sec it works on larger galleries with updates for 15 instead of (default) 25 pictures at one time.
Sounds like you're talking about the "Update thumbs and/or resized photos" function in the admin tools.