If I want to use {{files}} in the following case, how should I do?
Code
url('../font/titillium-lightupright-webfont.ttf') format('truetype'),
Code
url('{{files}}/font/titillium-lightupright-webfont.ttf') format('truetype'),
X3 Photo Gallery Support Forums
<a href="{{files}}/images/filename.jpg" data-popup>click me</a>
<img src="{{files}}/images/filename.jpg" />
I'll officially add font files as an allowed upload file type in next release.Haider of Sweden wrote:Update: Problem solved.
I found this thread, explaining how to add the additional extensions. Although, I don't like to fiddle inside PHP files if not really necessary. Think is, if the site is updated, this manual tweak will most likely be overwritten.