- Posts: 15920
COMMUNITY FORUM
very poor quality for K2 image...!
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
8 years 6 months ago #153778
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic very poor quality for K2 image...!
Can you double check that the correct image size is being used?
Did you reupload the image?
As I have already told you, PHP image processing and GD in particular has some flaws (it is a 3rd party library we are not responsible for that library).
If you are uploading logos where no compression should be made or images that png format is preferred, then you can tweak your template to show an extrafield image instead of the value of an image. You can use this code as a starting point -> github.com/kricore/Advanced-templating-with-K2/blob/master/_inc/cheatsheet.php#L77-L82
Did you reupload the image?
As I have already told you, PHP image processing and GD in particular has some flaws (it is a 3rd party library we are not responsible for that library).
If you are uploading logos where no compression should be made or images that png format is preferred, then you can tweak your template to show an extrafield image instead of the value of an image. You can use this code as a starting point -> github.com/kricore/Advanced-templating-with-K2/blob/master/_inc/cheatsheet.php#L77-L82
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
- rastchin
- Offline
- New Member
Less
More
- Posts: 1
4 years 3 months ago #176768
by rastchin
Replied by rastchin on topic very poor quality for K2 image...!
Hi
I have the same issue and the cause isn't about PHP GD library.
The problem is : when you set width in K2 image tab, K2 insert just CSS command and image is smaller than it.
For example I set 2000px for full style but in frontend k2 makes 850px image + (width:2000px css) and result is bad experience for user. Even I uploaded again high quality image in article.
The interesting point is I don't even have 850px value in k2 image tab setting!
Maybe it's a bug.
I have the same issue and the cause isn't about PHP GD library.
The problem is : when you set width in K2 image tab, K2 insert just CSS command and image is smaller than it.
For example I set 2000px for full style but in frontend k2 makes 850px image + (width:2000px css) and result is bad experience for user. Even I uploaded again high quality image in article.
The interesting point is I don't even have 850px value in k2 image tab setting!
Maybe it's a bug.
The topic has been locked.
- piet
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 83
4 years 3 months ago #176769
by piet
Replied by piet on topic very poor quality for K2 image...!
I never found a solution!
Since 2 years I'm on WordPress now.
And it is so better, and you can compress with a lot of parameters.
Regard.
Since 2 years I'm on WordPress now.
And it is so better, and you can compress with a lot of parameters.
Regard.
The topic has been locked.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 3 months ago - 4 years 3 months ago #176770
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic very poor quality for K2 image...!
@rastchin Somewhere, something is enforcing that width. Could be the general setting for that image size, a direct category or an inherited category... Please open a new post if you need further assistance.
@piet Actually WP is worse, cause image sizes can be set in the theme as well, leading to GBs of unused images...
@piet Actually WP is worse, cause image sizes can be set in the theme as well, leading to GBs of unused images...
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 4 years 3 months ago by JoomlaWorks.
The topic has been locked.