M
M
malekc2015-04-20 10:13:42
MODX
malekc, 2015-04-20 10:13:42

How to make Cyrillic support in Modx file names?

Hi all.
There is an online store on ModX + shopkeeper
How to organize support for Cyrillic and spaces in the names of preview images?
I understand that it is better not to use Russian names in file names, but at the moment I am transferring content from opencart to modX. And the preview for images does not generate if the name and path are with a space or not in Latin.

background-image: url([phpThumbOf] 
Could not generate thumbnail: /assets/images/mass/data/novasloboda/СД-2119 Цапли.jpg - 
Debug: Array ( [0] => phpThumb() v1.7.9-200712090829 in file;

If anyone has experience or knows how to help, please get in touch.
Url problems

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
petyagrill, 2015-04-20
@petyagrill

Perhaps you have checked the old phpThumb
on your Modx Revolution 2.3.1 | version phpThumb 1.7.13
Everything works fine
without update, maybe the first answer here will help

R
Ruslan, 2015-06-07
@ruslan_aleev

There is a possibility that support for Russian characters may be from the hosting side, and not modx

S
Suglobov, 2016-07-16
@Suglobov

For Modx Evo
Snippet phpthumb
add line 9 $input = urldecode($input); to be able to process pictures with Russian
names

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question