i am not sure this will help you but you may try simple html img tag method with 100% width and fixed height inside template! as e.g <img src="image link" width="100%" height="x2px" >
On Thu, Jul 15, 2010 at 6:47 PM, Robson Dantas <[email protected]> wrote: > Hi, > > Looking on firebug, your gadget is not being rendered, also noticed you are > using " to escape the quotes. Change the way you are applying the > background. > > Instead of: > <div style="background: url(" > http://1.latest.izo-propose-love.appspot.com/propose/images/propose_500X260.jpg") > no-repeat scroll center center rgb(244, 244, 244); cursor: pointer; height: > 280px; width: 100%; margin: 0pt auto;"></div> > > Use it directly on css tag. > > <style type="text/css"> > body { margin: 0; overflow: hidden; } > #allBg{ background: url(" > http://1.latest.izo-propose-love.appspot.com/propose/images/propose_500X260.jpg") > no-repeat scroll center center rgb(244, 244, 244); cursor: pointer; height: > 280px; width: 100%; margin: 0pt auto; } > </style> > > <script type="text/os-template" xmlns:os=" > http://ns.opensocial.org/2008/markup" xmlns:osx= " > http://ns.opensocial.org/2009/extensions"> > > <osx:NavigateToApp> > <div id="allBg"> </div> > </osx:NavigateToApp> > > > </script> > > Let me know how it goes. > > Robson Dantas > > > > 2010/7/15 Pyrocks <[email protected]> > > Can any one there to answer this? >> >> On Jul 15, 1:53 pm, Pyrocks <[email protected]> wrote: >> > HI Friends, >> > >> > I have a problem with Profile view in "New Orkut".. >> > >> > The following code is in my xml file and it's working fine with >> > classic orkut.the same code is not working with New Orkut. >> > >> > <Content type="html" view="profile"> >> > >> > <![CDATA[ >> > <style type="text/css"> >> > body{ margin: 0; overflow: hidden; } >> > </style> >> > <script type="text/os-template" xmlns:os=" >> http://ns.opensocial.org/ >> > 2008/markup" xmlns:osx= "http://ns.opensocial.org/2009/extensions"> >> > >> > <osx:NavigateToApp> >> > <div style="background: url(" >> http://1.latest.izo-propose- >> > love.appspot.com/propose/images/propose_500X260.jpg") no-repeat >> > scroll center center rgb(244, 244, 244); cursor: pointer; height: >> > 280px; width: 100%; margin: 0pt auto;"></div> >> > </osx:NavigateToApp> >> > >> > </script> >> > ]]> >> > </Content> >> > >> > The background image is not loading in New Orkut Profile page.it is >> > loading and going to app when we click on the image in Classic Orkut >> > profile. >> > >> > my app is in sandbox mode. >> > >> > URL:http://sandbox.orkut.com/Main#AppInfo?appId=938105313010 >> > >> > Please help me. >> > >> > Thanks and Regards >> > >> > Py >> >> -- >> You received this message because you are subscribed to the Google Groups >> "orkut Developer Forum" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<opensocial-orkut%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/opensocial-orkut?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "orkut Developer Forum" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<opensocial-orkut%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/opensocial-orkut?hl=en. > -- Regards Prashant P Patil aka Orkuteer http://goo.gl/S8Qq | http://goo.gl/Kr4G -- You received this message because you are subscribed to the Google Groups "orkut Developer Forum" group. To post to this group, send email to [email protected]. 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.

