Email or username:

Password:

Forgot your password?
smallcircles (Humane Tech Now)

@ColinTheMathmo I just noticed some weird issue with Chartodon SVG, where an upload to Discourse shows only the connector lines..

Will erase that post soon, but its on this link: socialhub.activitypub.rocks/t/

The SVG shows perfectly fine when viewed locally.

9 comments
Colin the Mathmo

@humanetech Hmm ... not sure what to do about that. If the SVG shows fine when viewed locally, and fine on the server to which it's uploaded, then it must be on the system you're using to display it, and I don't have any control over that.

I'd be happy to receive suggestions for action to take.

smallcircles (Humane Tech Now)

@ColinTheMathmo I was uploading from saved SVG because the image is only temporarily stored on your system.

I have reverted the post to its first revision that links to SVG on your server, and that works fine.

You might consider storing generated images on e.g. a PixelFed instance, or maybe on archive.org or somewhere else that is suited for long-term storage.

Colin the Mathmo

@humanetech So the problem lies in the upload of the SVG to Discourse. Since it displayed fine for you locally, that makes it sound like the problem is in Discourse's handling of the image when uploaded.

smallcircles (Humane Tech Now)

@ColinTheMathmo yeah, that is likely the case. But it is still peculiar since Discourse handles other SVG's fine. So there may be some unsupported formatting of the SVG file itself.

smallcircles (Humane Tech Now)

@ColinTheMathmo also Lemmy gives an error when trying to upload the SVG (unsupported format). Problem in Lemmy.

Here too, referencing the URL on your server as a markdown image, works fine.

This means that as a user, if I want to facilitate this I need to have a place to host the img myself.. a simple download and upload to another place doesn't work in many cases (SVG is not widely supported).

Offering a long-term storage option would be good feature, to make things easy on the user. 2cts :)

Colin the Mathmo

@humanetech Valuable feedback ... thank you ... early days.

I don't know anything about SVG and am simply using the SVG option in GraphViz. I can try different variants of the output ... for example I can omit the URL. But since I don't use any of these services where it's failing it's difficult for me to debug.

I can just create an image, but that won't have a clickable node to access the original, and I don't know enough to generate HTML5.

On the list ... thinking.

More thoughts welcome.

Colin the Mathmo

@humanetech If you can find someone who knows SVG and is willing to look at the raw SVG created to see what might be causing the problem, that would be useful/helpful. Given that it's created by GraphViz, not sure I can do anything about it, but identifying the problem would be a start.

Perhaps the route to take medium term is to generate HTML5/CSS ... it would be more powerful, but I don't have those skills.

Gregory

@ColinTheMathmo @humanetech I'm abusing svg features for #Smithereen UI (zero bitmaps so far!), but I'm not sure I know it all that well.

Colin the Mathmo

@grishka If you can't help directly, perhaps you can give some pointers.

I'm using GraphViz to generate charts of conversations like this:

solipsys.co.uk/Chartodon/10606

That is a chart of (an earlier stage in) this conversation, and highlights the point. Sometimes the chart renders perfectly, and sometimes it doesn't. I can't reproduce the problem, as it's happening on other platforms that I don't use.

If you could glance through that and make any comments I'd be grateful.

TIA

CC: @humanetech

@grishka If you can't help directly, perhaps you can give some pointers.

I'm using GraphViz to generate charts of conversations like this:

solipsys.co.uk/Chartodon/10606

That is a chart of (an earlier stage in) this conversation, and highlights the point. Sometimes the chart renders perfectly, and sometimes it doesn't. I can't reproduce the problem, as it's happening on other platforms that I don't use.

Go Up