S
S
Sergey Ignatiev2019-03-13 15:49:14
MODX
Sergey Ignatiev, 2019-03-13 15:49:14

Why doesn't MODX display image previews?

5c88fbc47d62e163696511.png
MODX does not display image previews. the standard installation of the latest version has been performed.
Apparently, somewhere in the system settings you need to specify the prefix "/" ?
Tell me please.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Tarasov, 2019-03-13
@an-tar

check all paths, also MODX logs and browser console logs, is there anything there? There is also such a problem when the library that creates the preview is incorrectly configured.

P
paster92, 2019-06-05
@paster92

I had the same problem the other day, the essence of the problem turned out to be that
phpthumb was swearing at the webp image format (possibly due to the fact that the version of php is 5.5, and modX is 2.7.1).
Solved this problem by commenting lines (number 990)
if ($imagetypes & IMG_WEBP) {
$this->thumbnailFormat = 'webp';
$AvailableImageOutputFormats[] = 'webp';
}
in the file \core\model\phpthumb\phpthumb.class.php
After that the problem disappeared and previews started to be displayed.
I understand that the solution is so-so, but I did not find another, and knowledge to do it
right is not enough.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question