D
D
Denis Kovalchuk2017-05-29 13:21:41
Cyrillic
Denis Kovalchuk, 2017-05-29 13:21:41

How to teach fancybox3 to open images on the server with Cyrillic names?

I use fancybox3 modal windows on the site.
The problem is that I have the names of the files that should be opened in Cyrillic and they basically open in the browser via a direct link to the file, but fancybox does not load them anymore.
File names in Cyrillic on the server are, of course, not Feng Shui, but nothing can be done about it.
This is how it works:

<a href="privet.jpg" data-fancybox="group"><img src="привет.jpg"/></a>

And now it's gone:
<a href="привет.jpg" data-fancybox="group"><img src="привет.jpg"/></a>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question