You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
Hello,
application creates a picture and I need to send this created picture to client without refresh. if client rotates the picture new generated one should be send from backend and new generated image should be updated in place.
Can I use rails live streaming for this set up? maybe encode 64 to json and send it via live stream to client?
Any suggestions?
thanks in advance
Ovunc
Walter Lee Davis
unread,
May 29, 2014, 8:28:44 AM5/29/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
That's certainly one way, but have you considered just pulling the new image from the client with Ajax? If the user has pushed some control to rotate the image, you could return the rotated image and the client-side JS could update the view.