You are viewing a single comment's thread from:
RE: SteemJ v0.4.2 is available now ~ Use the Steem API in your Java Project
Good Job!
Question: is it possible to create an article with a picture that is not an url ? (so that it upload the image and create the post).
Hay @tyvain,
Actually I needed something like this some time ago for a project and was searching for a solution.
Hope that helps a bit :)
yeah thanks.
I ended up with the same solution: using cloudinary.com wich is very simple img hosting.
A steemimages lib could be perfect, but 3rd party solutions works well also.
Great to hear that :)
True. I will try to check it again when I have more time, but as you said: Thirdparty libs are working too, so this idea has a quite low priority for me right now :)
The steemit condenser script unfortunately does not leave the src='data:' urls intact, it prefixes them with the steemit images redirect and then the images show up as broken.
I definitely see a use case where simple (well compressed) graphics would be useful to include inline, like for, basic subject oriented icons, bullets, or other simple graphical style-ups for a post.
I see where a user has posted an issue on github in regards to this, maybe enough up-votes on the issue will have positive results?
I also a little surprised that the user posts aren't in a secure iframe? Wouldn't that let them be more permissive as to allowed tags? I notice that even <span> tags are problematic, as well as the lack of inline styles of any kind (it seems a subset could be put into a whitelist of some sort).
https://github.com/steemit/condenser/issues/1888