coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: Tin0 on March 28, 2008, 06:34:54 PM

Title: [Solved]: Fetch images only in lanscape!
Post by: Tin0 on March 28, 2008, 06:34:54 PM
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
Title: Re: Fetch images only in lanscape!
Post by: capecodgal on March 31, 2008, 11:04:55 PM
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 (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 (http://hayden-collective.net/gallery)
Title: Re: Fetch images only in lanscape!
Post by: Tin0 on April 01, 2008, 09:01:37 AM
I did this and it got what I wanted, thx for you help.

http://forum.coppermine-gallery.net/index.php/topic,51499.0.html