As we all know SVG are usually small in size and more over they can render animation, so I personally fell OSSN should have a native SVG support.
Sorry,
but if the SVG is only used to display an embedded gif, I don't need that extra code around but can upload that gif separately.
Anyway, the latest TextAreaSupport component DOES enable the TinyMCE Editor to support SVG. That is you may use SVGs in Blogs, Bio, etc. - more support will not be available in the near future.
A support for svg in the OSSN
Okay. A svg file with a base64 encoded gif image inside.
And what should we learn from that?
OMG globe is not showing in svg image
I am including two different types of images which I use to use in a group one is a svg image where as other one is a gif image, what I found is the issue with the picture quality with the gif image and I believe this will not impact the quality in the svg image part.
svg-> https://go.0or1.ml/index.php?r=files/file/download&id=19&random_code=VLRFkSJ4xOu&inline=false&security_token=LnIVdGC7FRsyvtpMEOgH
gif-> https://go.0or1.ml/index.php?r=files/file/download&id=18&random_code=9qVzerZsLfc&inline=false&security_token=LnIVdGC7FRsyvtpMEOgH
Yes you are correct normally people prefer to use raster images rather than vector image in day to day, but I prefer to share some of the vector images on our network, so I was thinking if OSSN could support vector images then it can help me to share my images on the network and I'll prefer to use a vector image as my website logo too.
Hmm ... honestly this doesn't make too much sense to me.
I agree: svgs can be of real help to create interesting effects on websites or maybe even pepping up your bio or blog, but on a newsthread? Todays people are used to make a quick shot with their smartphone and posting it a minute later. That's the normal workflow.
Thanks Zetman for this information, I was expecting a more linear adaptation of the file format from the front-end as a image type in the news feeds section.
SVG support for admin backend editor is available with Release 1.5 of GreenByGreen now.
Install TextareaSupport 2.2 - and you'll be able to enter SVG code via
Tools -> Source Code
Currently working with all components that are TextareaSupport based:
https://www.opensource-socialnetwork.org/component/view/3196/textareasupport
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)