How to add images in 800px with G2 import

rakeshkollam

Joined: 2009-07-26
Posts: 8
Posted: Tue, 2009-11-03 15:30

Hi

I have a Gallery2 installation with more than 150000 photos in it, i installed the Gallery3, and am going to add the files using Gallery 2 Import module, my question is that, how can i add the images in 800px width. When i tried previously it bring 640px only as the resized image. Please help me

Thanks
Rakesh

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11018
Posted: Tue, 2009-11-03 16:26

In G2 you could have multiple resizes, in G3, you can't (until someone creates a module for that)

To change the size of those images, go to Admin > Appearance > Theme Options and change the Resized image size (in pixels) setting
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
rakeshkollam

Joined: 2009-07-26
Posts: 8
Posted: Tue, 2009-11-03 19:43

Hi nivekiam

Thanks for the reply, i have given 800 px , but its taking the height as 800px, i need the width of the picture as 800 px, is it possible ? One more thing, Is there any way to keep my old links as it is ?

Thanks in advance
Rakesh

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11018
Posted: Tue, 2009-11-03 19:58

Then your images are taller than they are wide. G3 sets the longest side. If your images are consistent, you'll need to do the math. So if your images are 1200x1600 (instead of 1600x1200) and you want them to be 800px wide, then you need to figure out how tall they need to be.

1200/800 = 1.5

1600/1.5 = ~1066

So you'd need to set that (for this example) to 1066 and your images will be 800 wide and 1066 tall.

If they are not consistent, this is where the difference in complexity in G2 and simplicity in G3 is going to bite you. For example, in G2, you can set tons of settings for each album and even different themes. In G3, you can't. At least not without someone creating a module to extend that functionality.

Quote:
One more thing, Is there any way to keep my old links as it is ?

Not right now, that's being worked on.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments