Keyword

[SOLVED] K2 images that do not scale

  • web brand
  • web brand's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #127300 by web brand
[SOLVED] K2 images that do not scale was created by web brand
Hi, I'm going crazy. I inserted the items with images inserted in the appropriate section. The problem is that the configuration of the component I changed the image size and category settings I also set the size of them, but the result has not changed! I still have my image when I click on it magnifies and shells. How can I do?
thanks :(

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

More
11 years 1 month ago #127301 by Lefteris
Replied by Lefteris on topic Re: K2 images that do not scale
Hi. The images cannot be changed when you change this setting. This affects only new images. To update your existing images you need to upload them again.

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

  • web brand
  • web brand's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #127302 by web brand
Replied by web brand on topic Re: K2 images that do not scale
hello, but I tried to delete all the images and to recharge them, but nothing has changed

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

  • web brand
  • web brand's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #127303 by web brand
Replied by web brand on topic Re: K2 images that do not scale
can someone answer me?

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

More
11 years 1 month ago #127304 by Lefteris
Replied by Lefteris on topic Re: K2 images that do not scale
The new uploaded images should get resized according to settings. However note that these settings are applied to images uploaded using the "Image" tab in K2 form, not for images you insert in the text.

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

More
11 years 1 month ago #127305 by calyn
Replied by calyn on topic Re: K2 images that do not scale
Hello, I have same issue: I am posting pictures in the image tab, under the appropriate Item, the picture shows up way too large. I have changed settings in the parameters, I have changed settings in the Parent category, I have even changed settings in the item section. Nothing changes. I have researched forums for several months now, tried all techniques still not getting correct image sizes.
One thing I have noticed (if it makes any difference- main menu section will not allow me to set image sizes).
Is there something I'm overlooking or is it possible bug or non-compatible with Joomla 3.0?
Thanks

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

  • web brand
  • web brand's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #127306 by web brand
Replied by web brand on topic Re: K2 images that do not scale
exact, I have continued to do everything I was told, but the images still do not downsize, someone has a solution?

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

More
11 years 1 month ago #127307 by Lefteris
Replied by Lefteris on topic Re: K2 images that do not scale
Since both of you have issues regarding the images, try to provide more details. In which part of your site this occurs? Which module/menu link are you using? Are you totally sure that the images are not resized because of your template's CSS? You can always open the image in a new tab to see it's actual dimensions.

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

  • web brand
  • web brand's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #127308 by web brand
Replied by web brand on topic Re: K2 images that do not scale
So, I set all the parameters both in setting k2 images of a fixed size Width 226 px. I put the same parameters also in the category of the relevant article and the article itself. I deleted the old article, and reissued a new one. The result is that when I go to "Site-wide" in the article detail the image is larger than the size that I set

www.enotecamagro.com/magro/component/k2/item/372-prova

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

More
11 years 1 month ago #127309 by Lefteris
Replied by Lefteris on topic Re: K2 images that do not scale
Is there a screenshot of your parameters? The link you provided is using the Medium image which gets resized at 500px. Is that the same setting as in K2 parameters?

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

  • web brand
  • web brand's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month 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
11 years 1 month 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
11 years 1 month ago - 11 years 1 month 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
11 years 1 month 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
11 years 3 weeks 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.

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

More
11 years 3 weeks ago #127315 by calyn

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

More
11 years 3 weeks 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;

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

More
11 years 2 weeks 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 9 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