Adding image to email template

Moderator: crythias

Locked
ju88a
Znuny newbie
Posts: 21
Joined: 13 May 2014, 12:39
Znuny Version: 3.3.5
Real Name: Craig Mariner
Company: Panbet LTD

Adding image to email template

Post by ju88a »

Hi Guys

I need some help please, I have searched and searched and come up with not much to be honest. So I need to reply to customers and insert and image header file into a auto reply. In my searching I have enabled full rich text editor under sysconfig which did add a couple more options but I do not see insert image button. I have seen this button in the OTRS manual and other screen shots that I have seen while researching this but I cannot seem to add this button. I understand I could use HTML but its just not workable for what I need, I would like the OTRS to add the image from a local source rather than a url to load from web. I have found that maybe I need an updated CKeditor. I have been to the OTRS blog page for tweaking this but I think its possible that this is for an older version of OTRS.

Any pointers or definitive answer to this would be muchly appreciated.

Many Thanks
Craig
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Adding image to email template

Post by jojo »

Auto Reply does not support attachments
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Adding image to email template

Post by crythias »

OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Adding image to email template

Post by crythias »

ju88a wrote: I would like the OTRS to add the image from a local source rather than a url to load from web.
this is ... interesting. You'd have to insure that the "local" source is accessible by all recipients.

another option:

base64 filename.jpg


<img src="data:image/jpeg;base64, [encoded stuff]" />

Example: (headphones picture)

Code: Select all

 <img src="data:image/jpeg;base64,
        /9j/4AAQSkZJRgABAgEASABIAAD/7QE6UGhvdG9zaG9wIDMuMAA4QklNA+0AAAAAABAASAAAAAEA
        AgBIAAAAAQACOEJJTQPzAAAAAAAIAAAAAAAAAAE4QklNJxAAAAAAAAoAAQAAAAAAAAACOEJJTQP1
        AAAAAABIAC9mZgABAGxmZgAGAAAAAAABAC9mZgABAKGZmgAGAAAAAAABADIAAAABAFoAAAAGAAAA
        AAABADUAAAABAC0AAAAGAAAAAAABOEJJTQQAAAAAAAACAAA4QklNBAIAAAAAAAIAAFBIVVQINQAA
        AAAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAUEhVVAg0AAAAAAAEAAAAADhCSU0EBgAAAAAABwAEAAAAAQEA//4AJ0Zp
        bGUgd3JpdHRlbiBieSBBZG9iZSBQaG90b3Nob3CoIDQuMAD/7gAOQWRvYmUAZAAAAAAB/9sAhAAG
        BAQEBQQGBQUGCQYFBgkLCAYGCAsMCgoLCgoMEAwMDAwMDBAMDAwMDAwMDAwMDAwMDAwMDAwMDAwM
        DAwMDAwMAQcHBw0MDRgQEBgUDg4OFBQODg4OFBEMDAwMDBERDAwMDAwMEQwMDAwMDAwMDAwMDAwM
        DAwMDAwMDAwMDAwMDAz/wAARCAAyACQDAREAAhEBAxEB/90ABAAF/8QBogAAAAcBAQEBAQAAAAAA
        AAAABAUDAgYBAAcICQoLAQACAgMBAQEBAQAAAAAAAAABAAIDBAUGBwgJCgsQAAIBAwMCBAIGBwME
        AgYCcwECAxEEAAUhEjFBUQYTYSJxgRQykaEHFbFCI8FS0eEzFmLwJHKC8SVDNFOSorJjc8I1RCeT
        o7M2F1RkdMPS4ggmgwkKGBmElEVGpLRW01UoGvLj88TU5PRldYWVpbXF1eX1ZnaGlqa2xtbm9jdH
        V2d3h5ent8fX5/c4SFhoeIiYqLjI2Oj4KTlJWWl5iZmpucnZ6fkqOkpaanqKmqq6ytrq+hEAAgIB
        AgMFBQQFBgQIAwNtAQACEQMEIRIxQQVRE2EiBnGBkTKhsfAUwdHhI0IVUmJy8TMkNEOCFpJTJaJj
        ssIHc9I14kSDF1STCAkKGBkmNkUaJ2R0VTfyo7PDKCnT4/OElKS0xNTk9GV1hZWltcXV5fVGVmZ2
        hpamtsbW5vZHV2d3h5ent8fX5/c4SFhoeIiYqLjI2Oj4OUlZaXmJmam5ydnp+So6SlpqeoqaqrrK
        2ur6/9oADAMBAAIRAxEAPwCba9q/mIa5qAj1G5SNbiVURZWChQxAAAObbBjgYCwHLxxjwjZhOs/m
        nq1hqZ0yLUbiS5SglkkmkESM3RSQa18cryyxxNCIasmSMTQChf8A5o+edJuhFqYnEdAxaK4kqUYV
        DLy2bbKhlh1iGsZ49YsssPNOr3tnDeW+p3LwTqHjb1XrQ+O/UZljFjIsAOWIxIsBkX6b1r/BvP69
        P6v6Q9P1Obc+HpcuPLrTlmNwR8aq2pr4Rx0//9Dqp0qxvdSvAWHq/WJeY9/UObDHMiIcqBoB83+Z
        NPhjlnu51LyXE88rbmtBKwHb2zFkbLgS52zHzdH9W8kaVp2pqW1mGJDHIVNTDIoYKT/xWSyf7HDK
        NFlONI38vIJE8tpBJQmGVwKEMKPRwNv9bM7Ty9LmaY+lnnD/AJ0/j/2sv+ZGQ/y3+an/ACnwf//R
        7Z5f0iOfVNQncUIupCD4j1DmZx1Ae5v4qiHgGseW9R1D8zX8qfGG+umOCIjjSBpPUZzQboFLPy/l
        ynzcM86ej/nV5Mv7iC1utOSSYrWOe2iBLOgNVZQB2rkybbswvdBeVdEubPy/brPai0lI+KL9r4dg
        z/5ZHXMnDsG/AKiyH0v+da4U/wClh0/54ZC/3vwZf5T4P//S7Rp/mWz0kazeXdRBYyzvIB1IDmij
        3Y/CuZUo+gN0h6QXhuu/mRrEnnS41GyuZ7bUXartEUKW8YBPp1ZTyVV5f62VAOIZboPXvOd/qVyJ
        9WurqeeRarZQBjKEbvLQrHEHH+6lC8VySDIll35Z+ZUa6Xy/NDJDBOhltI7hOEiMd/hO/OOSnZm4
        v/rZZCTfgyb09F+qj6j6Pb67X/p3xv8AefBvv1v/05H5zvJZP09YpWpumei/tKk3IqfurmyMLwg+
        TkTjeN5nHBFb+abpXX1FvYzNb16PsDx/2QX/AIbMNwWfxeRtGm0S3vrKbnfXHp/XiWqWcoHc+3xH
        IEtkYoiOMzecPLVnGVeWwMjsyjdLdFPKp8C3Fcnj5soC5B6PUehXt9c/7F8n/H8G/wDjf//UOvMU
        nHzNqv8AzFzf8TOb3Tj92Pc7DEPQGPal5Xm1Mxm2VGaI84CH9KRD1oCfhI+nMLLpSDtycTLpjeyZ
        +Wfy080TQreW2txWC3NGNs6vNRT32KqG9hmOcRYwxGmf6T5QtPLSSTLcSX2pXQAu9Qm+2wXoiqK8
        Ix/LluOIDbjhSY/WR+jvVp/x+Up7/V8FfvPgv8b/AP/V6d5g/wCO5ff8o9/et/f/AN91/wB2f5f8
        2ZcPpH95/mt0eX8SGg+1/wBM7/zz64n/AJKJP+cmNl/cRf8AHK6D+4+x/sPbKv8ATMB8UTP9kf8A
        HP8A+enTEf5y/NG/9Mx/0rP96f8Ann9n/k5/xrg/i/i/3yOvV//Z
        " />
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked