Keyword

[FIXED] Blurry category images

More
10 years 10 months ago #74866 by Lefteris
Replied by Lefteris on topic Re: [FIXED] Blurry category images
@Gwin

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.

More
10 years 10 months ago #74867 by Gwin
Replied by Gwin on topic Re: [FIXED] Blurry category images
Thanks for the info. I created the images in PSD at 960 wide.

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.

More
10 years 10 months ago #74868 by Gwin
Replied by Gwin on topic Re: [FIXED] Blurry category images
I've even tried .jpgs vs. .pngs and all the images are 150 dpi. So frustrated and so is my client. :(

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

More
10 years 10 months ago #74869 by Hardkiffeur
Replied by Hardkiffeur on topic Re: [FIXED] Blurry category images
Hi Gwin ... Do you explain bad Blurry image into Nivo Slider or a K2 categorie's page ?
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.

More
10 years 10 months ago - 10 years 10 months ago #74870 by Gwin
Replied by Gwin on topic Re: [FIXED] Blurry category images
Hi -
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.

More
10 years 10 months ago #74871 by Lefteris
Replied by Lefteris on topic Re: [FIXED] Blurry category images
@Gwin

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.

More
10 years 10 months ago #74872 by Gwin
Replied by Gwin on topic Re: [FIXED] Blurry category images
Thank you so much for the information. This is where I am confused. The images I have uploaded to the site are 960 wide at 150dpi. So, I'm not sure how or why they are being re-sized or how to change the parameters in K2....

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

More
10 years 10 months ago #74873 by Gwin
Replied by Gwin on topic Re: [FIXED] Blurry category images
I found the parameters!! Changed them, re-uploaded images and all looks great now!! Thank you TONS!!

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

More
10 years 10 months ago #74874 by Lefteris
Replied by Lefteris on topic Re: [FIXED] Blurry category images
You are welcome.

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 10 months ago #74875 by Gwin
Replied by Gwin on topic Re: [FIXED] Blurry category images
Well - I guess I spoke to soon. The images are actually still blurry. :(

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.

More
10 years 10 months ago #74876 by Lefteris
Replied by Lefteris on topic Re: [FIXED] Blurry category images
There is nothing more to add. As i already told you the module you are using there is displaying the "Small" image of the K2 items. Ask the developers of this module how you can use the "Extra Large" image size ( which by the way is now sized to 960px after you made the changes www.lcjp.org/media/k2/items/cache/a522a6005d1cb428ea34ef1769cd7452_XL.jpg ) .

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 4 months ago #135521 by MARCIA E TARUMA
Replied by MARCIA E TARUMA on topic Re: [FIXED] Blurry category images
I can not understand ...
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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #135528 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: [FIXED] Blurry category images
PHP's GD library is used in K2 (as well as the majority of CMS's). This library might increase the image size if you are using 100% quality. Try using a value of 75 - 80.

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.


Powered by Kunena Forum