Page 1 of 1

Position of generated thumbnails

Posted: 03 Feb 2016, 16:55
by skouf
Hello

I need to know if it's possible that the genrated thumbnails doesn't begin in the middle of the image but in the top ?

The title of each image has to be visible and it's on the top of each images.

Thanks for your answer

Re: Position of generated thumbnails

Posted: 03 Feb 2016, 19:23
by Jan
Hi, for this, you need to change the crop feature directly in the code:
administrator\components\com_phocagallery\libraries\phocagallery\image\imagemagic.php

search for "crop" in this file, to see the parts which you need to change.

Jan

Re: Position of generated thumbnails

Posted: 18 Feb 2016, 18:02
by skouf
Sorry for my late answer. I will give a try.

Re: Position of generated thumbnails

Posted: 18 Feb 2016, 18:14
by skouf
Could you juste give me a little help of what I need to change ? Thanks !

Re: Position of generated thumbnails

Posted: 21 Feb 2016, 20:51
by Jan
Hi, unfortunately I cannot give any additional advice as I didn't do such customization yet. So in the function you will find mathematical functions to find where to cut the image and such needs to be changed to your need but how exactly it will be set for your needs, I really cannot say :idea:

Jan

Re: Position of generated thumbnails

Posted: 22 Feb 2016, 11:07
by skouf
OK I will try. Thanks !

Re: Position of generated thumbnails

Posted: 24 Jun 2016, 11:36
by skouf
Hello

For your information, I found a great plugin that does the magic !!

http://extensions.joomla.org/extension/ ... ocagallery

Sylvain

Re: Position of generated thumbnails

Posted: 28 Jun 2016, 23:35
by Jan
Ok