thank you!

url(../img/layout/bg.jpg)  works, but i am wondering
why url(/img/layout/bg.jpg) has worked before.

2012/8/4 bobharner [via Tapestry] <ml-node+s1045711n5715070...@n5.nabble.com
>

> url(...) references in CSS files are relative to the location of the
> CSS file itself, so you can usually make those work by using relative
> notations like url(../img/layout/bg.jpg) or
> url(../../img/layout/bg.jpg) depending on where your CSS file is.
>
> On Sat, Aug 4, 2012 at 3:30 PM, sommeralex <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5715070&i=0>>
> wrote:
>
> > my background is defined as CSS.
> >
> > how can i reference to "context"
> >
> > body {
> >
> > background:#FFFFFF url(/img/layout/bg.jpg) repeat-x;
> >
> > font: 13px "Trebuchet MS", Arial, Helvetica, sans-serif;
> >
> > color: #333333;
> >
> > }
> >
> >
> > i tried
> >
> >
> > background:#FFFFFF url("${context:img/layout/bg.jpg}") repeat-x;
> >
> >
> > but this did not work.
> >
> >
> > 2012/8/4 Alexander Sommer <[hidden 
> > email]<http://user/SendEmail.jtp?type=node&node=5715070&i=1>>
>
> >
> >> thanks, i solved it with
> >>
> >> <img src="${context:img/icon/lounge_cloud_130x100.png}" alt
> >> ="lounge_cloud_icon"></img>
> >>
> >> 2012/8/4 Alexander Sommer <[hidden 
> >> email]<http://user/SendEmail.jtp?type=node&node=5715070&i=2>>
>
> >>
> >>> my .tml link
> >>>
> >>> <img src="/img/icon/lounge_cloud_130x100.png" alt="lounge_cloud_icon">
> >>> </img>
> >>>
> >>> 2012/8/4 Alexander Sommer <[hidden 
> >>> email]<http://user/SendEmail.jtp?type=node&node=5715070&i=3>>
>
> >>>
> >>>> ok, after deleting the browser cache,
> >>>> http://www.airwriting.com/img/icon/write_cloud_130x100.png also
> doesn't
> >>>> work any more.
> >>>>
> >>>> residing in:
> >>>>
> >>>>
> http://188.40.34.137/opt/tomcat-airwriting/webapps/ROOT/img/icon/write_cloud_130x100.png
> >>>>
> >>>>
> >>>> 2012/8/4 Alexander Sommer <[hidden 
> >>>> email]<http://user/SendEmail.jtp?type=node&node=5715070&i=4>>
>
> >>>>
> >>>>> e.g the write_cloud_icon references to
> >>>>> http://www.airwriting.com/img/icon/write_cloud_130x100.png and
> >>>>> x exists on my server.
> >>>>>
> >>>>> on the other hand, the logo is working.
> >>>>>
> >>>>>
> >>>>> 2012/8/4 Alexander Sommer <[hidden 
> >>>>> email]<http://user/SendEmail.jtp?type=node&node=5715070&i=5>>
>
> >>>>>
> >>>>>> i was now clearing the browser cache. good, the links are broken
> also
> >>>>>> on .com
> >>>>>>
> >>>>>> but i have no idea, why..
> >>>>>>
> >>>>>>
> >>>>>> 2012/8/4 Alexander Sommer <[hidden 
> >>>>>> email]<http://user/SendEmail.jtp?type=node&node=5715070&i=6>>
>
> >>>>>>
> >>>>>>> ah, ok.
> >>>>>>>
> >>>>>>> forward: i have just a (static, hidden) domain forward set for the
> >>>>>>> non .com domains.
> >>>>>>>
> >>>>>>> if even .com has no image links, then it is very wired. because
> here
> >>>>>>> (austria, vienna) i see the images as it should be but only on
> .com
> >>>>>>>
> >>>>>>> hm...
> >>>>>>>
> >>>>>>> 2012/8/4 Thiago H de Paula Figueiredo [via Tapestry] <
> >>>>>>> [hidden email]<http://user/SendEmail.jtp?type=node&node=5715070&i=7>>
>
> >>>>>>>
> >>>>>>>  On Sat, 04 Aug 2012 15:46:32 -0300, sommeralex
> >>>>>>>> <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5715062&i=0>>
> >>>>>>>> wrote:
> >>>>>>>>
> >>>>>>>> > Hello!
> >>>>>>>>
> >>>>>>>> Hi!
> >>>>>>>>
> >>>>>>>> For me, here in Brazil, the same files missing in the .com and
> .net
> >>>>>>>>
> >>>>>>>> versions. And what do you mean by forward?
> >>>>>>>>
> >>>>>>>> >
> >>>>>>>> > I updated from tapestry 5.2.6 to 5.3.4, but now it seems that i
> >>>>>>>> have
> >>>>>>>> > asset
> >>>>>>>> > errors. My app is deployed on domain A (where everything works)
> >>>>>>>> but on
> >>>>>>>> > domain B, C, D (which just forward to domain A) most (?!) image
> >>>>>>>> links are
> >>>>>>>> > broken. e.g the logo works, but not the other images.
> >>>>>>>> >
> >>>>>>>> > living example: (without points)
> >>>>>>>> >
> >>>>>>>> > www.a.i.r.w..r.i..t...i....n...g.com
> >>>>>>>> >
> >>>>>>>> > not working:
> >>>>>>>> >
> >>>>>>>> > .net
> >>>>>>>> > .de
> >>>>>>>> > .at
> >>>>>>>> >
> >>>>>>>> >
> >>>>>>>> >
> >>>>>>>> >
> >>>>>>>> >
> >>>>>>>> > --
> >>>>>>>> > View this message in context:
> >>>>>>>> >
> >>>>>>>>
> http://tapestry.1045711.n5.nabble.com/image-link-problem-with-different-domains-linking-to-deployment-domain-tp5715061.html
> >>>>>>>> > Sent from the Tapestry - User mailing list archive at
> Nabble.com.
> >>>>>>>> >
> >>>>>>>> >
> >>>>>>>>
> ---------------------------------------------------------------------
> >>>>>>>> > To unsubscribe, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=5715062&i=1>
> >>>>>>>> > For additional commands, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=5715062&i=2>
> >>>>>>>> >
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> Thiago H. de Paula Figueiredo
> >>>>>>>>
> >>>>>>>>
> ---------------------------------------------------------------------
> >>>>>>>>
> >>>>>>>> To unsubscribe, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=5715062&i=3>
> >>>>>>>> For additional commands, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=5715062&i=4>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> ------------------------------
> >>>>>>>>  If you reply to this email, your message will be added to the
> >>>>>>>> discussion below:
> >>>>>>>>
> >>>>>>>>
> http://tapestry.1045711.n5.nabble.com/image-link-problem-with-different-domains-linking-to-deployment-domain-tp5715061p5715062.html
> >>>>>>>>  To unsubscribe from image link problem with different domains
> >>>>>>>> linking to deployment domain, click here<
>
> >>>>>>>> .
> >>>>>>>> NAML<
> http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
> >
> >
> >
> >
> > --
> > View this message in context:
> http://tapestry.1045711.n5.nabble.com/image-link-problem-with-different-domains-linking-to-deployment-domain-tp5715061p5715069.html
>
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5715070&i=8>
> For additional commands, e-mail: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5715070&i=9>
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://tapestry.1045711.n5.nabble.com/image-link-problem-with-different-domains-linking-to-deployment-domain-tp5715061p5715070.html
>  To unsubscribe from image link problem with different domains linking to
> deployment domain, click 
> here<http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5715061&code=YWxleGFuZGVyLnNvbW1lckBnbWFpbC5jb218NTcxNTA2MXwxMDUzMzQxMzM4>
> .
> NAML<http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/image-link-problem-with-different-domains-linking-to-deployment-domain-tp5715061p5715071.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

Reply via email to