Results 1 to 7 of 7

Thread: How to insert an image in Zimbra web client

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Posts
    4
    Rep Power
    5

    Default How to insert an image in Zimbra web client

    Hi all!
    I want to insert an image in Zimbra web client, e.g set an image for button in instant Message.I think i need to define a class equivalent with the image in a file .property. But i don't know how do this.

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

    I believe you need to explain in a little more detail what you are trying to achieve ?

  3. #3
    Join Date
    Jan 2010
    Posts
    4
    Rep Power
    5

    Default

    thanks you!
    for example: when i set an image for button, i want to use the image created by me. How to do use an image from my desktop. I guess i have to define this image in a .property file or .css file. e.g images.css in /zimbra/img/images.css
    How to do?
    Last edited by thaotran; 04-07-2010 at 03:04 AM.

  4. #4
    Join Date
    Oct 2009
    Posts
    11
    Rep Power
    5

    Default

    I have the same problem. If you have resolved the problem, please write down?
    Thanks!

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    As the previous OP please try and really explain what you are trying to do. Perhaps attaching some code would help others to understand.

  6. #6
    Join Date
    Jan 2010
    Posts
    4
    Rep Power
    5

    Default

    here some code to expalain my problem:
    In file source code js/zimbraMail/im/view/zmChatWidget.js have this code:

    ZmChatWidget.prototype._init = function() {
    ...
    var btn = this._addToBuddyListBtn = new DwtLtIconButton(editorToolbar, null, "NewContact", null);
    btn.setToolTipContent("-");
    btn.getToolTipContent = AjxCallback.simpleClosure(this._getAddToBuddyListT ooltip, this);
    btn.addSelectionListener(new AjxListener(this, this._addToBuddyListListener));
    btn.setVisible(false);
    .....
    }

    "NewContact" is an icon of zimbra system, here i want to use my icon to replace for "NewContact" icon. How to define an icon from my image?
    please help me!

  7. #7
    Join Date
    Oct 2009
    Posts
    11
    Rep Power
    5

    Default

    For example: I have an icon in my computer and I want to use the icon in my zimlet. In my zimlet i have a button and i want to set a icon by command button.setImage(imageInfo)
    Where and how to define imageInfo?

Similar Threads

  1. [SOLVED] Postfix unavailable - queue down
    By pmona in forum Administrators
    Replies: 20
    Last Post: 01-21-2010, 09:03 PM
  2. Replies: 15
    Last Post: 11-24-2009, 07:46 AM
  3. Upgrade to ZCS 5.10
    By blozancic in forum Installation
    Replies: 0
    Last Post: 10-21-2008, 08:03 AM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM
  5. Unable to start tomcat
    By chanck in forum Administrators
    Replies: 11
    Last Post: 06-11-2006, 12:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •