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
Position of generated thumbnails
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Position of generated thumbnails
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
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
If you find Phoca extensions useful, please support the project
-
skouf
- Phoca Member

- Posts: 14
- Joined: 28 Jan 2014, 19:37
Re: Position of generated thumbnails
Sorry for my late answer. I will give a try.
-
skouf
- Phoca Member

- Posts: 14
- Joined: 28 Jan 2014, 19:37
Re: Position of generated thumbnails
Could you juste give me a little help of what I need to change ? Thanks !
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Position of generated thumbnails
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 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
skouf
- Phoca Member

- Posts: 14
- Joined: 28 Jan 2014, 19:37
Re: Position of generated thumbnails
OK I will try. Thanks !
-
skouf
- Phoca Member

- Posts: 14
- Joined: 28 Jan 2014, 19:37
Re: Position of generated thumbnails
Hello
For your information, I found a great plugin that does the magic !!
http://extensions.joomla.org/extension/ ... ocagallery
Sylvain
For your information, I found a great plugin that does the magic !!
http://extensions.joomla.org/extension/ ... ocagallery
Sylvain
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Position of generated thumbnails
Ok
If you find Phoca extensions useful, please support the project