Keyword

Change the picture size

  • lukass2000
  • lukass2000's Avatar Topic Author
  • Offline
  • Senior Member
More
11 years 7 months ago - 11 years 7 months ago #110786 by lukass2000
Change the picture size was created by lukass2000
Hi!

I would like to change the image size as in my screenshot :)

The picture should have the full width but always a fixed height,
and the picture will should not be stretched.

Is this possible?
If yes, how can i do this?

THANKS!
Attachments:

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #110787 by Uldis
Replied by Uldis on topic Re: Change the picture size
Hi,

I think that the easiest way would be

1.set image width in k2 settings (K2 doesn't resize height)

2.resize your images on photo editing software to be exactly the same width as k2 settings width and the height you need.

I would avoid using css image resizing.

Please Log in or Create an account to join the conversation.

  • lukass2000
  • lukass2000's Avatar Topic Author
  • Offline
  • Senior Member
More
11 years 7 months ago #110788 by lukass2000
Replied by lukass2000 on topic Re: Change the picture size
Hi Uldis!

Thanks for your possibility :)
But on the homepage several user make entries, so your way is not so perfect for me ;)
Thanks :)

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #110789 by Uldis
Replied by Uldis on topic Re: Change the picture size
You could also ask them to use images that are in the right size. I know I have asked some of my clients to do this.

Automatic Image resizing is a slippery slope, imho.

There is one more alternative, that I use myself sometimes. There is a module gavick news show pro, it's a module that can handle image height and width resizing. You will probably have to play around with settings to get that right, and you will probably have to style module, to fit your sites style.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum