Position of generated thumbnails

Phoca Gallery - image gallery extension
skouf
Phoca Member
Phoca Member
Posts: 14
Joined: 28 Jan 2014, 19:37

Position of generated thumbnails

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Position of generated thumbnails

Post 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
If you find Phoca extensions useful, please support the project
skouf
Phoca Member
Phoca Member
Posts: 14
Joined: 28 Jan 2014, 19:37

Re: Position of generated thumbnails

Post by skouf »

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

Re: Position of generated thumbnails

Post by skouf »

Could you juste give me a little help of what I need to change ? Thanks !
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Position of generated thumbnails

Post 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
If you find Phoca extensions useful, please support the project
skouf
Phoca Member
Phoca Member
Posts: 14
Joined: 28 Jan 2014, 19:37

Re: Position of generated thumbnails

Post by skouf »

OK I will try. Thanks !
skouf
Phoca Member
Phoca Member
Posts: 14
Joined: 28 Jan 2014, 19:37

Re: Position of generated thumbnails

Post by skouf »

Hello

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

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

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

Re: Position of generated thumbnails

Post by Jan »

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