Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Displayed Image Size after picture no. 49  (Read 2142 times)

0 Members and 1 Guest are viewing this topic.

specialist383

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Displayed Image Size after picture no. 49
« on: July 31, 2011, 01:04:13 pm »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Displayed Image Size after picture no. 49
« Reply #1 on: August 01, 2011, 10:55:32 am »

Please post a link to that album in your gallery.
Logged

specialist383

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Problems after picture no. XYZ
« Reply #2 on: August 04, 2011, 10:20:29 pm »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Problems after picture no. XYZ
« Reply #3 on: August 10, 2011, 04:42:34 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.