Setting/creating a custom crop

Phoca Gallery - image gallery extension
martini9011
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 24 Nov 2014, 22:06

Setting/creating a custom crop

Post by martini9011 »

Hi guys,

First of all thanks for the great work on the plugin! I love what you're doing!

As for my question. I would like to be able to customize the crop that is created for the thumbnails. Is there any possible way of doing this with phoca itself, or should I look for another kind of solution?

The problem is an image is uploaded using Phoca gallery, and the thumbnail that gets generated is cropped from the middle. However, I would like it to crop from the top (but only for that image).

Please let me know if you need any more info on this, or if anything is unclear.

Thanks in advance!

Regards,
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Setting/creating a custom crop

Post by Jan »

Hi, you can:

1) disable the crop function in the Options
2) or customize the crop function directly in the code

Which version of Phoca Gallery you are using, so I can paste a link to the file which should be modified.

Jan
If you find Phoca extensions useful, please support the project
Post Reply