Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Thumbnails width, height  (Read 2286 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Thumbnails width, height
« on: March 16, 2011, 05:09:20 pm »


The original photos of the same size are resized to thumbnails of diffrent size.

For Example:

Examle 1. 2 square pictures of 1024x1024 size:
Original picture name "Jedno orosené." 1024x1024 (thumb 140x80 the sizi is not OK, thumb is cropped. Should be 80x80 not croped)
Original picture name "Les" 1024x1024 (thumb 80x80 sizi is OK, not cropped OK

Example 2. 2 pictures of 1024 pixels height:
Original picture name "V tieni" 685x1024 (thumb 140x80 is not OK, thumb is croped. Should be about 54x80 not cropped)
Original picture name "Nahý" 687x1024 (thumb 53x80 is OK, thumb is OK, not cropped)

I would like to have all pictures the same height 80px, not cropped and thumbs should keep the ratio.
It is the same album, I tried many settings in admin panel and updated the thumbs in the album in admin tools.
This is not very importat. Most of the pictures 1024x685 has the thumb at right size 140x80.
But there is something wrong, becouse of two different thumbs (140x80, 80x80) from two same size pictures (1024x1024, 1024x1024)

CPG 1.5.12
Thank You



  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Thumbnails width, height
« Reply #1 on: March 16, 2011, 06:39:28 pm »

The pictures have been added at different times. Maybe you changed some settings in the meantime?

What happens when you add your examples now to your gallery. Does the thumbnails looks the same?

You said that you used admin tools. Does it print some error message that means, that the thumbnail couldn't be updated?


  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Thumbnails width, height
« Reply #2 on: March 17, 2011, 07:28:32 pm »

Thumbnails created by "uploading" pictures are OK.
For example at this page:
There are very wide, square and height pictures. All thumbs are well sized.

It is about admin tools thumbail update only. There were no error messeges when thumbnail udate finished .
I added one pictures for the second time now (19:15) and thumbnail was created corectly:
"Letna" at
On the otehr hand:
"Jedno orosene" at
The same picture, one thumbnail created by "admin panel" and another by "uploading"
At the last link You will see probably both thumbnails.

Pages: [1]   Go Up

Page created in 0.019 seconds with 19 queries.