Multiple Resolutions for Each Image

Mturco

Joined: 2008-04-29
Posts: 4
Posted: Wed, 2008-04-30 00:08

I'm using Gallery for my users to download desktop wallpaper from my site. I need a way of providing the same image at each resolution. I know you can set sizes in the album options that Gallery will automatically resize images to, but that doesn't work too well with widescreen wallpaper.

Are there any modules to accomplish this? I have resized versions of each image, but I don't want to upload each one individually as separate wallpaper. If I'm still not being clear enough, check out InterfaceLIFT. I pretty much need something exactly like their drop-down list of resolutions.

I know a Coppermine addon exists that can do this, but I'm convinced Gallery is superior. ;)

- Matt

Login or register to post comments
Mturco

Joined: 2008-04-29
Posts: 4
Posted: Fri, 2008-05-02 03:41

Anyone?

If this question has already been answered, I'm sorry for reposting it, but I searched rather thoroughly before posting, and found similar questions, but no answers.

I need to get this setup relatively soon as the gallery section our my site has a planned grand opening of June 1st, and I'd like to get this setup in advance.

Thanks!

- Matt

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 616
Posted: Fri, 2008-05-02 08:09

Hi Mturco,

What isn't right about the different resizes options that Gallery already offers? (Why would it not work "too well" with wallpaper?)

Secondly - the checkout module can be modified to offer downloads of different resizes - I've written instructions for someone how to do it, and I might get around to it myself at some point. That would mean you could choose which size to download. You're very welcome to make the modifications yourself, if you like, and I'll help out!

Login or register to post comments
Mturco

Joined: 2008-04-29
Posts: 4
Posted: Sat, 2008-05-03 21:53

Hey, thanks for the reply, Alec!

Well, what I mean by "not working too well" is that when you resize an image that's widescreen (say 1920x1200px) to standard 4:3 ratio (say 1600x1200), it distorts it and makes it look scrunched. For this reason, we've been manually creating a different version of the same wallpaper for each screen resolution. Now, unless I'm mistaken, the resize fuction Gallery offers simply resizes the image using GD (or something equivalent), which is not what I want.

Thanks for your Checkout module suggestion, though. I'll look into that and report back. ;)

- Matt

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 616
Posted: Sat, 2008-05-03 22:11

Matt,

Just thinking aloud, I'm pretty sure that you could adjust the resize code to do either of the obvious things - add black at top/bottom or sides, or zoom in and crop - when there's a change in the aspect ratio. Gallery is pretty adaptable, although it's sometimes a learning experience to bend it perfectly to your will. You can also add code to sharpen the images too.

Login or register to post comments
Mturco

Joined: 2008-04-29
Posts: 4
Posted: Sun, 2008-05-04 02:44

Hmm. Well, I think I want to see if Checkout can do what I'm looking for first. Thanks for the offer, though!

Login or register to post comments