So, this code:
String str = WOApplication.application().resourceManager().urlForResourceNamed("emailBackground.png", null, null, null); String absoluteUrl = ERXResourceManager._completeURLForResource(str, null, this.context());
returns this:
but that URL doesn't work - this one does:
sigh...
On Jun 26, 2013, at 4:46 PM, Johnny Miller < email@hidden> wrote: And you are using urlForResourceNamed?
On Jun 26, 2013, at 10:40 AM, Ken Anderson < email@hidden> wrote: The host isn't the problem. The URL I'm getting back doesn't have "Contents" in the middle… On Jun 26, 2013, at 4:18 PM, Johnny Miller < email@hidden> wrote: I would have a property like:
myhost= http://127.0.0.1/
and then in my properties.deployment I would have
And then prepend that to my url.
HTH,
Johnny
On Jun 26, 2013, at 10:04 AM, Ken Anderson < email@hidden> wrote: Thanks Johnny… but until I can find resources I'm still stuck…
But I will certainly try a different approach.
Ken
On Jun 26, 2013, at 3:55 PM, Johnny Miller < email@hidden> wrote: Also: http://www.campaignmonitor.com/css/
What a surprise? Outlook doesn't support background images! IDK if that influences your design though.
But if it were me I would try using an absolutely positioned image and put your content in a z-index above it.
On Jun 26, 2013, at 9:35 AM, Ken Anderson < email@hidden> wrote: Well, Apple Mail does, and so do the other clients I've tested.
Any idea why my resources are so screwy?
On Jun 26, 2013, at 3:34 PM, Johnny Miller < email@hidden> wrote: Hi Ken,
I believe most mail clients don't support CSS background images.
Aloha,
|
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail
|
|
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|