Arta_S
(Arta)
3 يناير 2017، 12:03ص
1
Hey guys,
My head is exploding.
I want to upload a few files for custom fonts.
I want the file to be accessible like domain.com/filename.svg or domain.com/folder/filename.svg
or whatever!
Problem is that the discourse uploader doesn’t upload svg files and I get an error even though I selected the svg from files setting.
I Have full access via filezilla, how can I upload a file somewhere that can be publicly accessed via direct domain.com/somefile.format
I am giving up on this if I dont get any answer here.
Falco
(Falco)
3 يناير 2017، 12:16ص
2
As said in the READ ME FIRST: Admin Quick Start Guide topic you can upload woff2
fonts to the Assets for the site design topic, and use the resulting urls.
إعجاب واحد (1)
Also, enable the filetypes you need in Admin, Site Settings, allowed attachment file types.
إعجابَين (2)
Arta_S
(Arta)
3 يناير 2017، 12:35ص
4
Can’t see the URLs. Whats the address?
Arta_S
(Arta)
3 يناير 2017، 12:35ص
5
I did that already
but it still doesn’t work.
You must refresh the browser after editing the allowed file types. We assume these settings are not changing a lot so they are heavily cached.
Arta_S
(Arta)
3 يناير 2017، 12:38ص
7
I did that too, cleared the cache too!
Arta_S
(Arta)
3 يناير 2017، 12:41ص
8
I get this error when i upload svg files:
Sorry, but we couldn’t determine the size of the image. Maybe your image is corrupted?
Could be a bug related to svg uploads as attachments; we don’t see a lot of those, and they have security implications as well.
I suggest using woff2 instead as it is more standard for fonts.
4 إعجابات
Arta_S
(Arta)
3 يناير 2017، 1:11ص
10
I did that and it worked well.
thanks
3 إعجابات
This topic was automatically closed after 2713 days. New replies are no longer allowed.