Problem with exact thumbnails Problem with exact thumbnails
 

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

Problem with exact thumbnails

Started by fangweile, September 06, 2007, 01:30:15 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

fangweile

Stramm modpack is really great. I recently installed it in my gallery and it works fine.
Then I've noticed that some of my thumbnails are cropped in a wrong portion of the picture.

I set and height and width of my thumbnails to 150 pixel exact height and width, but I it crops the thumbnails in a center of an image. When I upload a full body picture (in portrait), it generates a thumbnails that is it not supposed to be. Very strange because it cuts down the head of the picture and only displaying the body in the thumbnail generated.

Is there any way to fix it? I know that someone already think of it. I really want to use this mod. Hope someone could help.
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

Stramm

If you cut a square out of an rectangle, then some information's getting lost. The cropping function's coded to cut of equal parts (top/ bottom or left/ right) of the rectangle. Without knowing what part of the pic the user wants to keep this seems to be the best solution to me (till someone's coding some sort of face or point of interest detection).
For best results you always could create the thumbs locally and then ftp them to your server.

fangweile

thanks for your reply.
I will try your suggestion and I will search for alternative solution too.
Maybe I will crop the thumbnails in coppermine picture editor.
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희