forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: serg5777 on April 20, 2012, 04:29:04 pm

Title: The ability to choose the resolution photo (resize)
Post by: serg5777 on April 20, 2012, 04:29:04 pm
Gallery creates only a thumb, normal, and the real size.
Let's say I uploaded the pictures 2560x1600, and the user needs to 1680x1050. Is there a plugin for conversion of permission? Thank you
Title: Re: The ability to choose the resolution photo (resize)
Post by: Αndré on April 23, 2012, 10:34:12 am
So you want to provide the possibility for your users to download every image in any resolution they need?
Title: Re: The ability to choose the resolution photo (resize)
Post by: serg5777 on April 26, 2012, 04:34:30 pm
Yes. Resolution monitors all site visitors different and they would like to download pictures from their appropriate resolution :)
Title: Re: The ability to choose the resolution photo (resize)
Post by: Αndré on April 26, 2012, 04:40:32 pm
If I remember correctly there's a mod or plugin somewhere here in the board that adds that feature to Coppermine (it was designed for cpg1.4.x probably, so you should search there). If you found that thread, please post it here.
Title: Re: The ability to choose the resolution photo (resize)
Post by: serg5777 on April 26, 2012, 06:08:44 pm
Thank you very much, I look for.
Title: Re: The ability to choose the resolution photo (resize)
Post by: serg5777 on April 27, 2012, 08:52:23 am
The plugin is called download_resized.
(http://s017.radikal.ru/i437/1204/6a/4dfe94713215.jpg) (http://www.radikal.ru)

The problem is that he does not know how to convert for example:
1920x1080 ----> 1600x1200 or 1024x768.

I would like to it was implemented this feature :)
Title: Re: The ability to choose the resolution photo (resize)
Post by: serg5777 on April 27, 2012, 08:55:50 am
this works printscreen :)
http://s017.radikal.ru/i437/1204/6a/4dfe94713215.jpg (http://s017.radikal.ru/i437/1204/6a/4dfe94713215.jpg)
Title: Re: The ability to choose the resolution photo (resize)
Post by: Αndré on April 27, 2012, 10:13:56 am
The problem is that he does not know how to convert for example:
1920x1080 ----> 1600x1200 or 1024x768.
Do you want to stretch/shrink your pictures?
Title: Re: The ability to choose the resolution photo (resize)
Post by: serg5777 on April 27, 2012, 10:25:33 am
I would like to resize the plug-intuitive to the user selected, so that they fit into his desktop and virtually no distortion (wallpapers)
I saw this in the implementation of cms veppa.

For example:
widescreen-->4:3,5:4
4:3,5:4-->widescreen
1920x1080-->1600x1200
1920x1440-->1366x768
etc
Title: Re: The ability to choose the resolution photo (resize)
Post by: serg5777 on April 27, 2012, 10:28:44 am
I think this feature will be very useful and even necessary for those people who have sites with wallpaper :)
Title: Re: The ability to choose the resolution photo (resize)
Post by: Αndré on April 27, 2012, 11:58:07 am
fit into his desktop and virtually no distortion
So the only option is to crop the pictures for different aspect ratios, correct?
Title: Re: The ability to choose the resolution photo (resize)
Post by: serg5777 on April 27, 2012, 12:10:44 pm
I have a young site in another cms, so I would like to plugin the same function. There you can select your resolution on the right of the picture.

Here it is: http://hqoboi.ru/wallpaper/_w115.html

As you can see the image is not stretched or distorted.
Title: Re: The ability to choose the resolution photo (resize)
Post by: Αndré on April 27, 2012, 12:29:25 pm
I just tested it on your website, the pictures get cropped. Does the download_resized plugin works in your cpg1.5.x gallery as-is in general?
Title: Re: The ability to choose the resolution photo (resize)
Post by: serg5777 on April 27, 2012, 12:47:28 pm
My main site cpg in my profile. He now has version 1.5.18, no time to update :)
Title: Re: The ability to choose the resolution photo (resize)
Post by: serg5777 on April 27, 2012, 12:49:35 pm
p.s. plugin download_resized for 1.5 unfortunately does not work :(
Title: Re: The ability to choose the resolution photo (resize)
Post by: serg5777 on May 11, 2012, 07:43:54 am
Αndré I hope that the new version will be a function cpg ;)
Title: Re: The ability to choose the resolution photo (resize)
Post by: Αndré on May 11, 2012, 09:12:07 am
So the plugin has to be ported to cpg1.5.x and then adjusted, if it doesn't fit your needs. Porting shouldn't be that difficult, but adding that crop stuff (if it doesn't already exist in the plugin) may be more difficult. I'll have a look at the plugin when I have some spare time.
Title: Re: The ability to choose the resolution photo (resize)
Post by: serg5777 on May 11, 2012, 10:25:15 am
Thank you very much, I'll look forward to  :)
Title: Re: The ability to choose the resolution photo (resize)
Post by: Αndré on May 11, 2012, 02:42:44 pm
Announcement thread here (http://forum.coppermine-gallery.net/index.php/topic,74901.0.html).