Community Forum

Please read the intro before joining/posting. Thank you.

If you have questions about our software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. We'll do our best to answer promptly, but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with us and we'll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. We don't employ translators and we'll be unable to understand your message properly and will probably delete it.
SOFTWARE: Each software has it's own forum. Software here is NOT supported. Posts about this software will be deleted. Supported software questions ONLY please.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PERSONAL SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable (to deter spammers) and must be copied / pasted into your browser address bar.

            

You are not logged in.

base64 Images Not Working for New TicketsPosts in the Maian Support forum by mbauer
mbauer
20-04-2023 18:26:52

Hello David,

We are running version 4.5 and really like the addition of the WYSIWYG editor. We are having an issue when users paste base64 images when creating a new ticket. It shows in the editor on their side but does not show up in the Admin Portal after the ticket has been submitted. The image does show up in the email notification we receive but the ticket is blank in the Admin Portal if they only paste a screenshot. This does not happen with ticket replies. Please advise what we can do to fix this.

Thanks!

Mike

maiandavid
22-04-2023 05:17:49

Hi Mike,

Can you give me examples of what is being pasted? Base64 is not allowed by default for users, so did you change the user wysiwyg settings in anyway?

David - Lead Developer/Programmer
www.maianmedia.com
mbauer
26-04-2023 14:30:56

My apologies for the slow response. Our users are taking screenshots of error messages, etc. with the Windows Snipping Tool and pasting them into the WYSIWYG editor. For new tickets, they display in the editor but don't actually get saved which results in us receiving a blank ticket. The images display if they are replying to a ticket. We have not made any changes to the editor settings.

maiandavid
27-04-2023 01:33:57

They should add images as attachments, not paste them into the editor. The editor doesn't support image pasting for users, which is probably the issue. The image is being stripped on submit. You can enable img tags for users to see if that works.

1. Open the 'control/classes/system/class.tags.php' file
2. Add the 'img' tag into the 'ALLOWED_VIS_TAGS' constant (same as ALLOWED_TAGS above)

Ideally they should just submit files as attachments.

David - Lead Developer/Programmer
www.maianmedia.com
100% Free SoftwareSoftware Versions, Development, Docs & UpgradesHostingNewsletter
Made with in the U.K & Hong Kong

Free PHP Scripts / Responsive PHP Scripts / Lightweight PHP Scripts / White Label PHP Scripts