Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

3562 Posts in 677 Topics- by 443 Members - Latest Member: ludus529
Wikkii Suport ForumSupport CategoryTechnical SupportTopic: SVGs work fine when imported from wikipedia, but not if uploaded directly
Pages: [1]
Print
Author Topic: SVGs work fine when imported from wikipedia, but not if uploaded directly  (Read 240 times)
0 Members and 1 Guest are viewing this topic.
Solm
Jr. Member
**
Posts: 11


View Profile
« on: June 20, 2012, 08:05:33 »

I understand that wikkii has passthru() disabled for security reasons, and therefore is unable to support .svg images. However, a member of my wiki was very determined to use .svg and found a wikkii wiki where an .svg was used without problem, so I looked into it more and found that they had imported that image from wikipedia. So, I tried to do so on my wiki, and was able to successfully import and use a .svg image from wikipedia on my wiki (iiwiki.wikkii.net). However, as usual, uploading them directely would result in the errors.

Is there a reason why this is the case? And if I am able to view and use .svg images imported from wikipedia, would there be a way to get them to be shown via the regular upload file method?

For reference, my wiki is: http://iiwiki.wikkii.net and the image that I imported from wikipedia is here: http://iiwiki.wikkii.net/wiki/File:Flag_of_the_United_States.svg However, other .svg's display errors as shown here: http://iiwiki.wikkii.net/wiki/File:Solmsayshi.svg
Logged
samuelmichaels
Full Member
***
Posts: 114


View Profile
« Reply #1 on: June 20, 2012, 09:14:03 »

I understand that wikkii has passthru() disabled for security reasons, and therefore is unable to support .svg images. However, a member of my wiki was very determined to use .svg and found a wikkii wiki where an .svg was used without problem, so I looked into it more and found that they had imported that image from wikipedia. So, I tried to do so on my wiki, and was able to successfully import and use a .svg image from wikipedia on my wiki (iiwiki.wikkii.net). However, as usual, uploading them directely would result in the errors.

Is there a reason why this is the case? And if I am able to view and use .svg images imported from wikipedia, would there be a way to get them to be shown via the regular upload file method?

For reference, my wiki is: http://iiwiki.wikkii.net and the image that I imported from wikipedia is here: http://iiwiki.wikkii.net/wiki/File:Flag_of_the_United_States.svg However, other .svg's display errors as shown here: http://iiwiki.wikkii.net/wiki/File:Solmsayshi.svg
I think the SVG files work just fine, if your browser has SVG support (most modern ones do).  It's only the thumbnail that does not work (due to passthrough not working).

As for the flag, the actual file is on wikimedia, not local on your wiki.  I suspect you have InstantCommons enabled.
Logged
Pages: [1]
Print
Wikkii Suport ForumSupport CategoryTechnical SupportTopic: SVGs work fine when imported from wikipedia, but not if uploaded directly
Jump to: