First thank you for this great extension.
I really like the way thumbnails are created, nice beautiful square with shade. But I have one question, Is it possible to crop pictures starting from the top rather than in the middle of pictures so that the head part is visible. My problem is that most portrait (vertical) pictures are cut above the neck area. All landscape (horizontal) pictures looked perfect. I like the 'crop' feature. I don't want to disable it. I am wandering in case there is a way around this. Thanks for your help.
Is it possible to crop pictures starting from the top ?
-
molla_marru
- Phoca Newbie

- Posts: 2
- Joined: 02 Dec 2009, 04:43
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Is it possible to crop pictures starting from the top ?
Hi, yes this is the big problem because every picture is different, so if you will do such customization, it can happen, that landscaple images will display only blue sky, so every picture will by blue only. You can try to customize it, but I think it will be complicated, as you will need to add a lot of different if clauses to the cropping feature. I didn't try it yet, so cannot give any advice only that you can find the crop function here:
administrator\components\com_phocagallery\libraries\phocagallery\image\imagemagic.php
Jan
administrator\components\com_phocagallery\libraries\phocagallery\image\imagemagic.php
Jan
If you find Phoca extensions useful, please support the project