Support Center

Recent questions

About Koken

This Help Center provides support for Koken, a free content management system designed for photographers, artists and designers.

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Pb with medium size image

COEZ

Feb 22, 2018 09:12AM EST

Hi,

I'm moving a koken site from an (old) server to a brand new one with PHP 5.4.16/MariaDB 5.5
All is fine except that on some photo the medium size is very bad quality (pixelized)
When I clear the image cache some of them are in good quality but some others are bad (when they ware good previoulsy).
I have tried GD 2.1 an ImageMagick 6.8 for same result.

My old koken was a 0.21.2 on PHP 5.3
The new one is up to date 0.22.24

What can I do to ionvestigate on that ?

Thanks

1 Community Answers

Answered

Team NetObjects

Feb 22, 2018 09:46AM EST

Quick solution:
Log in to Koken, go to Settings, then Image publishing and click Clear image cache. However, on a resource limited server clearing the entire image cache may fix one issue but introduce others. To fix an individual pixilated image, find the pixilated images(s) via the web browser. Then log into Koken and find the exact image(s) in the Library. Rotate the image and then rotate it back. This will force the server to re-render that specific image and the pixelation is gone. Also upgrade PHP to v7, it is significantly faster.

Long answer:
Let me try to explain what was happening. The issues you describe are due to your host’s resource limitations and may happen after a period of activity; the actual cause is on the hosting side.

Shared hosting accounts are exactly that; many websites share a server. Hosting companies place restrictions on the amount of server resources available to any one site to minimize the chance a resource intensive site will slow down every other site.

A key part of Koken involves image generation and caching. Koken creates images by using the image processing software installed on your web server. This process takes your uploaded images and generates smaller versions for use inside Koken and on your public web site. A variety of image sizes are generated for optimum load times across all screen sizes (phones, tablets, desktops, etc). Once smaller versions of images have been cached, those cached versions are re-used for optimum speed and performance. A cached copy of an image is only generated again if you replace its original file with a new version.

In all, Koken has the potential to create 28 different caches for each image you add to your library. That’s a lot of images, and more than most shared web hosts can handle being requested all at once. To workaround that limitation, Koken creates most cached images on-demand as needed to avoid overloading your web server. As the images are generated on demand (when the page is visited) it will take time until those images are created and cached again.

More info here


This question has received the maximum number of answers.

support@koken.me
http://assets0.desk.com/
false
koken
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete