News Show Pro GK5 image crop top

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sat Feb 15, 2014 3:18 pm
Hello,

I know that you don't support code modifications, but I saw an old post from 2012, where you offer this modification.

Re: Crop Settings

Post by teitbite » Tue Jun 12, 2012 11:08 am

Hi

This would require module code modification. Normaly we do not support such changes, but I'm curious about the result too, so please send me FTP access and I'll make it.



I am using News Show Pro GK5 with auto-scale function on, but I would like to crop the bottom so that it displays only the top.

My project is at http://www.neubig-itmedia.de/kunden/mfm30_1/
You can see "MFM Aktuell" in the middle of the frontpage

Could you please show me how to do it, or what I can do?

It would be a great help!

Thanks a lot in advance!

Best regards
Patrick
User avatar
Fresh Boarder

teitbite
Sun Feb 16, 2014 11:49 am
Hi

It's a little simplier with new NSP module. Please just add this code to css.

Code: Select all
#nsp-nsp-814 a.nspImageWrapper {
display: block;
height: 200px;
overflow: hidden;
}


As You may see the selector has an id of a module, so You can specifie different heights for different modules.
User avatar
Moderator

GK User
Mon Feb 17, 2014 6:16 pm
Hi,

Thank you for your quick reply.

Unfortunately, thats not exactly what I am looking for.
Now I have image auto-scale enabled and I got this:

Image

What I want to get is this:
Image

How can I achieve this?

Thanks in advance!
User avatar
Fresh Boarder

teitbite
Tue Feb 18, 2014 12:44 pm
Hi

It should works this way, but when I look at Your site I see no code I gave You. Please send me an access to joomla panel. I'll check it.
User avatar
Moderator

GK User
Tue Feb 18, 2014 1:54 pm
I just have disabled the code, as it only changes the height of the thumbnail.

Now i have enabled it again.

Sent you the access details by PM.
User avatar
Fresh Boarder

teitbite
Wed Feb 19, 2014 10:04 pm
Hi

My code worked. You can set the height of thumbs there. Problem is that images are cut by NSP module already and showing middle part only http://www.neubig-itmedia.de/kunden/mfm ... sp-814.JPG Please change settings in NSP thumb configuration and remove cropping from there.
User avatar
Moderator


cron