How to reduce K2 image size?
Rate this topic: 




1.00 out of 6 based on 1 vote(s)
- GK User
- Wed Jan 28, 2015 11:23 am
- Reply with quote
- Report this post
Hello there,
I am using the News 2 Template and Joomla 3.3.6.
I would like to ask if it's possible to reduce the size of the image appearing at the top of the K2 articles, since I have tried to modify the settings (both in the general parameters and in the relevant categories) but the size does not change: only the quality of the picture does.
Thanks in advance
I am using the News 2 Template and Joomla 3.3.6.
I would like to ask if it's possible to reduce the size of the image appearing at the top of the K2 articles, since I have tried to modify the settings (both in the general parameters and in the relevant categories) but the size does not change: only the quality of the picture does.
Thanks in advance
-

- Senior Boarder
- teitbite
- Thu Jan 29, 2015 6:44 pm
- Reply with quote
- Report this post
Please add this code to override.css and make sure override is enabled in template settings.
- Code: Select all
.itemImageBlock {
float: left;
margin: 0 40px 40px 0;
}
.itemImageBlock img {
width: auto !important;
}
-

- Moderator
- GK User
- Mon Feb 02, 2015 7:48 pm
- Reply with quote
- Report this post
mmmhh it seems that the only thing to change is the quality of the picture, not its size...
-

- Senior Boarder
- teitbite
- Wed Feb 04, 2015 1:44 pm
- Reply with quote
- Report this post
Hi
No. It is about size. Image is being oversized. That's why in css it can be set so it will not be resized but left aligned with a text wrapping it. Just add the code I gave You to css and You will see.
No. It is about size. Image is being oversized. That's why in css it can be set so it will not be resized but left aligned with a text wrapping it. Just add the code I gave You to css and You will see.
-

- Moderator
- GK User
- Fri Jan 08, 2016 11:25 am
- Reply with quote
- Report this post
Hi
I used that advise and it works. I have problem only with customize different sizes of pictures. Settings gived in k2 kategory option dont work. Where could be the problem?
http://motoluz.pl/motoluzianie
I used that advise and it works. I have problem only with customize different sizes of pictures. Settings gived in k2 kategory option dont work. Where could be the problem?
http://motoluz.pl/motoluzianie
-

- Senior Boarder
- teitbite
- Mon Jan 11, 2016 2:24 pm
- Reply with quote
- Report this post
Hi
It always worked for me, but problem is that this sizes are only used while uploading images so images are prepared with this dimensions. If You want them to be resized after making changes to it You will have to upload them again.
It always worked for me, but problem is that this sizes are only used while uploading images so images are prepared with this dimensions. If You want them to be resized after making changes to it You will have to upload them again.
-

- Moderator
6 posts
• Page 1 of 1
