Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: maple on December 06, 2013, 13:33:42

Title: gallery plugin - crop/distort
Post by: maple on December 06, 2013, 13:33:42
Hi,

i have a problem with the Gallery content plugin. Distort (deform) all the images in thumbnails...

Could you give a little code to insert in gallery.plugin.php (or javascript file) that permit crop images in the plugin parameters?

But if you brings the code, don't need to make another data base insertion, i can modify manually inserting the crop instruction in the gallery.plugin.php (or javascript file). So no need display this in parameters plugin...

Thanks
Title: Re: gallery plugin - crop/distort
Post by: webgift on December 06, 2013, 14:17:43
I hope this post (https://forum.elxis.org/index.php?topic=7853.msg50636#msg50636) will help you. You can easily avoid the HTML resize method that gallery content plugin use.
Title: Re: gallery plugin - crop/distort
Post by: maple on December 06, 2013, 18:28:49
webgift and datahell thank you!

perhaps i will use option 3. And I will use software to make redimensions in batch and then upload to the server. Between 1000 and 2000 images... a lot!

thanks a lot for the script modification
Title: Re: gallery plugin - crop/distort
Post by: webgift on December 07, 2013, 11:55:22
You are very welcome, maple!