[Solved]: Fetch images only in lanscape! [Solved]: Fetch images only in lanscape!
 

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

[Solved]: Fetch images only in lanscape!

Started by Tin0, March 28, 2008, 06:34:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tin0

Hi,

I have tried to look in this forum, but without luck.

Is there a way to fetch images only in lanscape or portrait orientation?

Best Regards,
Tin0

capecodgal

Are you trying to make all of the images the same width and height? If so you can utilize the $options array to do this however the images may get distorted if the height and width are forced.

I would recommend you try the modpack by Stramm this saved me loads of headaches:
http://forum.coppermine-gallery.net/index.php/board,86.0.html
There is functionality in there to force the thumbs to be cropped and centered (using max aspect of width and height) which is what I think you are looking for.
Example being this gallery: http://hayden-collective.net/gallery

Tin0