Keyword

[SOLVED] K2 images that do not scale

  • web brand
  • web brand's Avatar Topic Author
  • Offline
  • New Member
More
10 years 5 months ago #127310 by web brand
Replied by web brand on topic Re: K2 images that do not scale
ok, I send the parameters screen and that of the general category
Attachments:

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

  • web brand
  • web brand's Avatar Topic Author
  • Offline
  • New Member
More
10 years 5 months ago #127311 by web brand
Replied by web brand on topic Re: K2 images that do not scale
can you help? I can also provide the credentials in private if you need to check.

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

More
10 years 5 months ago - 10 years 5 months ago #127312 by calyn
Replied by calyn on topic Re: K2 images that do not scale
Lefteris, my issues lie in the category listings and the individual item. The original picture size is 256 x 193, it gets "resized" to 564px × 427px and 1,148px × 861px. I have parameters set: 72, 140, 240.
I did as you instructed above and the image shows 240px × 181px.
Excuse my ignorance I thought K2 automatically resizes images according to parameters?? :unsure:

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

More
10 years 5 months ago #127313 by calyn
Replied by calyn on topic Re: K2 images that do not scale
Anyone? Anyone? Bueller? Anyone?

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

More
10 years 5 months ago #127314 by Lefteris
Replied by Lefteris on topic Re: K2 images that do not scale
@web brand

From the screenshots you provided it seems that the category is inheriting settings from an other category....

@calyn

Do you also have a link to an item which has the issue? As i wrote before, the changes in the settings affect only new images.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
10 years 5 months ago #127315 by calyn

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

More
10 years 5 months ago #127316 by Lefteris
Replied by Lefteris on topic Re: K2 images that do not scale
This is caused by some bad code found at thirdparty-k2.css file. The rule that is breaking this is:
width: 100% !important;

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
10 years 5 months ago #127317 by J Geraci
Replied by J Geraci on topic Re: K2 images that do not scale
Is this to be edited out of the thirdparty-k2.css file or what needs to be done??

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

More
10 years 2 months ago #127318 by Omar Quesada
Replied by Omar Quesada on topic Re: K2 images that do not scale
Hi there, Maybe It's too late but I was having the same problem, my article pictures were too large. I could fix it by changing this line:

#k2Container .itemImageBlock a img { border:none; padding:0; width:100%!important; height:auto!important; margin-bottom:0;}

for this one:

#k2Container .itemImageBlock a img { border:none; padding:0; width:auto!important; height:auto!important; margin-bottom:0;}

You can find that archive here:
YOUR_URL/templates/NAME_OF_YOUR_TEMPLATE/css/custom.css

(the thing is to locate the general css archive of your template, I know it's inside templates just take your time finding the right archive and the right line....) GOOD LUCK!

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


Powered by Kunena Forum