Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to render jpeg image inline in chat room if i pass it as url #1362

Closed
sggncucumber opened this issue Nov 9, 2015 · 4 comments
Closed

Comments

@sggncucumber
Copy link

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@geekgonecrazy
Copy link
Contributor

This functionality is already here. If this isn't working for you, we will need to you to provide more information.

@sggncucumber
Copy link
Author

thanks for your response earlier.

Just to be very specific. I am passing screenshot as url (jpeg) to rocket
chat either directly from hubot/custom rest api. I want to see the actual
image on rocket chat message (either preview/actual image). How to get
this done as I am failing to achieve the same though tried multiple options
like sending as or passing it from node as 'fs' operation etc.,

On Tuesday 10 November 2015, Aaron Ogle [email protected] wrote:

This functionality is already here. If this isn't working for you, we will
need to you to provide more information.


Reply to this email directly or view it on GitHub
#1362 (comment)
.

@geekgonecrazy
Copy link
Contributor

So a url sent via REST API does not show preview? I assume a message sent normally does? I know messages from hubot do, we have this working already. You can check on the demo: https://demo.rocket.chat

@sggncucumber
Copy link
Author

It is not working from the beginning. Basically the url is the jpeg image. If I type the url directly in the chat window it shows the preview. So not sure what is going wrong restapi -> hubot -> rocketchat.

Need your help to understand this better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants