- Posts: 8743
COMMUNITY FORUM
[FIXED] Blurry category images
- Lefteris
-
- Offline
- Moderator
Hi. First of all the images there are resized using CSS to 960px while their actual width is 900px. So the first thing you need to do is change the width to 960px and re-upload the images. You can also take a look at the K2 parameters and search for the images quality setting. Set this to 100. Finally note that PHP is not Photoshop. PHP cannot resize images in the same quality that Photoshop does.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Gwin
-
- Offline
- New Member
My PHP code is....and they still look crappy.
$handle = new Upload($image);
if ($handle->uploaded)
$handle->jpeg_quality = $params->get('imagesQuality');
{
$handle->file_auto_rename = false;
$handle->jpeg_quality = $params->get('imagesQuality', '100');
$handle->file_overwrite = true;
$handle->file_new_name_body = $row->id;
$handle->image_resize = true;
$handle->image_ratio_y = true;
$handle->image_x = $params->get('catImageWidth', '100');
$handle->Process($savepath);
if ($files === 0)
$handle->Clean();
Please Log in or Create an account to join the conversation.
- Gwin
-
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- Hardkiffeur
-
- Offline
- Senior Member
- Posts: 56
I just go on your website to anderstand what you mean, and I could not find any pic (out a Nivo's slide) with a blurry effect.
sample :
www.lcjp.org/media/k2/items/cache/ccb4e23c8aa216f1e96d31ab209c036b_XL.jpg
this is the standard pic traited by K2 stuff and for sure, I think this resolution is better than the one on the home page into the Nivo Slide ... Let me know if I'm right ;)
Please Log in or Create an account to join the conversation.
- Gwin
-
- Offline
- New Member
I am using the Sportson slider and I'm referring to the images on the home page that are in the slide show. I've put them in using the Components/K2 / Items option and then add those images to the slide show through the Extensions / Module Manager / SP Smart Slider
I've also re-uploaded my images to the Items section.
Thanks for your help
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
You are using small images in an area you need an image of 960px width. The image you are using is www.lcjp.org/media/k2/items/cache/c99e3db826c0f4cc2688a36ce3b60e1a_S.jpg . The bigger image size you have currently is 900px www.lcjp.org/media/k2/items/cache/c99e3db826c0f4cc2688a36ce3b60e1a_XL.jpg . In order to solve your issue, you have to :
1. Change the image sizes in K2 parameters. One of the image sizes should be set to 960px.
2. Re-upload the images for the items you are using in the slideshow.
3. Check the slider module for any option allowing you to define which K2 image size will be used there. Select the image size you have set to be 960px in the first step.
If none of the above helps, ask the developers of the slider module for help.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Gwin
-
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- Gwin
-
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Gwin
-
- Offline
- New Member
I'm also wondering if there is a way to link individual slides in the slideshow to another page in Joomla.
Thanks for your help.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- MARCIA E TARUMA
-
- Offline
- New Member
- Posts: 2
I made the changes to the code as indicated:
$ handle-> jpeg_quality = $ params-> get ('imagesQuality');
The original image has - 128 kb
I've set the parameters k2 - image size - to 75 (%)
The category is configured to display the images L
However K2 is putting the image in media / items / scr 248 kb (almost twice the size).
And the item, the image that appears is resized 1600 (XL) for the size I specified 1200 (L) - specified in the category and item category as inherited. (I used the Chrome Inspect element) - www.joiasetc.com.br/media/k2/items/cache/eb9b7452cdc806568d2312ea5614a301_XL.jpg
How come? If I chose size L because it is carrying the XL and resizing for L if there is this image?
Also the quality is bad - see the item in www.joiasetc.com.br/index.php/catalogo/joias-e-semijoias/pulseiras-folheadas-a-ouro - on the phone to view and gives the quality loss.
What to do?
How not to increase the size of the original image?
How can the quality?
Thank you
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Was this image generated with 100% quality or did you change the quality afterwards?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.