Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-07-2010, 02:06 AM
New Member
 
Posts: 4
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.
Reply With Quote
  #2 (permalink)  
Old 04-07-2010, 02:08 AM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

I believe you need to explain in a little more detail what you are trying to achieve ?
__________________
Reply With Quote
  #3 (permalink)  
Old 04-07-2010, 02:55 AM
New Member
 
Posts: 4
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..
Reply With Quote
  #4 (permalink)  
Old 04-09-2010, 10:13 AM
Member
 
Posts: 11
Default

I have the same problem. If you have resolved the problem, please write down?
Thanks!
Reply With Quote
  #5 (permalink)  
Old 04-09-2010, 11:47 AM
Moderator
 
Posts: 7,928
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.
__________________
Reply With Quote
  #6 (permalink)  
Old 04-09-2010, 07:23 PM
New Member
 
Posts: 4
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!
Reply With Quote
  #7 (permalink)  
Old 04-09-2010, 07:31 PM
Member
 
Posts: 11
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?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.