Resizing issue

nickthegreek
nickthegreek's picture

Joined: 2002-10-23
Posts: 11
Posted: Mon, 2003-02-24 15:39

I just finished testing the new code and everything seams to be working smoothly. A small issue is that when you choose to resize the photos gallery resizes the photos even if the photo is smaller than the requested resizing size. Could it make a check and if smaller than the requested size not to resize??

 
baschny
baschny's picture

Joined: 2003-01-04
Posts: 328
Posted: Wed, 2003-02-26 21:32
Quote:
A small issue is that when you choose to resize the photos gallery resizes the photos even if the photo is smaller than the requested resizing size. Could it make a check and if smaller than the requested size not to resize??

Good point, I will take a look at it.

 
andre-s

Joined: 2004-01-01
Posts: 15
Posted: Sun, 2004-05-16 19:55

better to check the image dimensions if they're smaller and not the same as the resize value(s)

for ex. I added a pic with 800x521 and have the 3 preview values:
640
800
1024

here it would be better to create only previews smaller than the original dimensions and left the other one(s) out

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2004-05-18 21:52

andre-s, I just committed a fix for this. Now if you add a photo to an album or do the "recreate all resizes" for an album it won't create resizes that are bigger than the original. Let me know if you can find another way to reproduce the problem.