News:

Looking for a good read? Check out the SimpleDesk Team Blog.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - rulrul

#1
SimpleDesk Support / Directly paste images into ticket
September 09, 2015, 05:26:56 AM
Hi all

I'm trying to include a "paste image from clipboard" system. I almost have it working . I can paste an image and it uploads a file via ajax to a temporary folder. The most dificult part is how to tell SD about the file and attach it to the ticket on post.

Can anyone help me with that? I've been looking inside simpledesk-Post.php and I saw a place where SD checks whether there's an already uploaded file but I have not been able to know if the file has to have a certain name or whether putting the file info into session is not enough.

I'll share as soon as I have it fully working :)

Thanks