The image you linked to is broken so I can't determine its height, but
it's very possible that the image you're trying to use it too big and
the text is getting rendered outside of the activity frame. Try using
a smaller image that is less than 70 pixels high like the one at
http://www.office-backup.com/images/google_talk-icon.jpg.

- Jason

On Aug 20, 8:22 am, sharath <[EMAIL PROTECTED]> wrote:
> Hi Jason,
>
> Kindly look into this sooner.
>
> Thanks
> Sharath
>
> On Aug 18, 9:43 pm, sharath <[EMAIL PROTECTED]> wrote:
>
> > Hi Jason,
>
> > I tried this
>
> > var bodyMarkup = '<a href="/AppInfo.aspx"><img src="http://
> > hosting.gmodules.com/ig/gadgets/file/default.jpg"/></a>' + '<a href="/
> > AppInfo.aspx">TEXT HERE</a>';
> > activity_params[opensocial.Activity.Field.BODY] = bodyMarkup;
>
> > I am getting onlyimagebut not the text , kindly let me know the
> > solution
>
> > Thanks
> > Sharath
>
> > On Jun 24, 2:23 am, Jason <[EMAIL PROTECTED]> wrote:
>
> > > Sharath: It looks like you're the only one who isn't seeing both 
> > > theimageand text. Even so, try using two anchors instead of one and see
> > > if this works for you:
>
> > > var bodyMarkup = '<a href="/AppInfo.aspx"><img src="http://
> > > hosting.gmodules.com/ig/gadgets/file/default.jpg"/></a>' + '<a href="/
> > > AppInfo.aspx">TEXT HERE</a>';
> > > activity_params[opensocial.Activity.Field.BODY] = bodyMarkup;
>
> > > - Jason
>
> > > On Jun 20, 7:32 am, Pedro Teixeira <[EMAIL PROTECTED]> wrote:
>
> > > > Does any one know if param STREAM_FAVICON_URL  is supported in orkut?
>
> > > > []'s
> > > > Pedro
>
> > > > On Jun 20, 1:32 am, sharath <[EMAIL PROTECTED]> wrote:
>
> > > > > Hi Rohit,
>
> > > > > Any solution avbl yet for theimageand not text appearing
> > > > > simultaneously?
>
> > > > > Regards
> > > > > Sharath
>
> > > > > On Jun 18, 9:14 am, "Rohit Ghatol (Google)"
>
> > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > Hi Sharath,
> > > > > > I tried this on Windows XP box using firefox, it shows me the text
> > > > > > too.
>
> > > > > > Here is the complete example I tried to run in Code runner
>
> > > > > > function createActivity() {
> > > > > >   var title= '';
> > > > > >   title = ', Title ';
> > > > > >   var activity_params=[];
> > > > > >   activity_params[opensocial.Activity.Field.TITLE] = title;
> > > > > >   activity_params[opensocial.Activity.Field.BODY] = '<a href="/
> > > > > > AppInfo.aspx"><img src="http://hosting.gmodules.com/ig/gadgets/file/
> > > > > > default.jpg"/>TEXT HERE</a>';
> > > > > >   varactivity= opensocial.newActivity(activity_params);
>
> > > > > >   opensocial.requestCreateActivity(activity,
> > > > > > "HIGH",getCreateActivityResp);
>
> > > > > > }
>
> > > > > > function getCreateActivityResp(responseItem) {
> > > > > >   console.log(responseItem);
> > > > > >   var htmlout = '';
> > > > > >   if(responseItem.hadError()){
> > > > > >     //htmlout= 'has error: ' + responseItem.ErrorMessage;
> > > > > >     //alert(responseItem.ErrorMessage +'has error');
> > > > > >   }
> > > > > >   else{
> > > > > >     alert('createactivitygood!')
> > > > > >   }
>
> > > > > > }
>
> > > > > > Thanks,
> > > > > > Rohit
>
> > > > > > On Jun 18, 6:16 am, sharath <[EMAIL PROTECTED]> wrote:
>
> > > > > > > Hi Jason,
>
> > > > > > > I am also using the same version of firefox in windows XP.
> > > > > > > I am getting onlyimagebut not text.
> > > > > > > Better show me the syntax to use it as two separate tags.
>
> > > > > > > Thanks
> > > > > > > Sharath
>
> > > > > > > On Jun 18, 5:57 am, Jason <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > Hi Sharath. I'm seeing both theimageand text in Firefox 
> > > > > > > > 2.0.0.14 on
> > > > > > > > Mac OS X. Please provide your platform details (browser and OS) 
> > > > > > > > and a
> > > > > > > > screenshot, and I'll look into this further. Alternatively, you 
> > > > > > > > could
> > > > > > > > try using two anchor tags, one with theimageand the other with 
> > > > > > > > the
> > > > > > > > text to see if this fixes the issue.
>
> > > > > > > > As an aside, HTML attributes should always be in double quotes. 
> > > > > > > > This
> > > > > > > > probably isn't causing your problem, but it could cause problems
> > > > > > > > later:
>
> > > > > > > > activity_params[opensocial.Activity.Field.BODY] = '<a href="/
> > > > > > > > AppInfo.aspx"><img 
> > > > > > > > src="http://hosting.gmodules.com/ig/gadgets/file/
> > > > > > > > default.jpg"/>TEXT HERE</a>';
>
> > > > > > > > - Jason
>
> > > > > > > > On Jun 16, 3:59 am, sharath <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > hello,
>
> > > > > > > > > I have got the below code line for the body of 
> > > > > > > > > anactivitystream.
> > > > > > > > > Only theimageis getting displayed but not the corresponding 
> > > > > > > > > text.
>
> > > > > > > > > activity_params[opensocial.Activity.Field.BODY] = "<a href='/
> > > > > > > > > AppInfo.aspx'><img 
> > > > > > > > > src='http://hosting.gmodules.com/ig/gadgets/file/
> > > > > > > > > default.jpg'>TEXT HERE</a>";
>
> > > > > > > > > Kindly suggest the required modification
>
> > > > > > > > > Thanks and Regards
> > > > > > > > > Sharath
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to