In case anyone runs into this again. The issue was none of those DIRs
was on the CP directly. Apparently /src is however on the CP so using
/templates/base/button_uwyn.gif worked perfectly.

Cheers,
 Tyler

On 7/14/06, Tyler Pitchford <[EMAIL PROTECTED]> wrote:
I cannot for the life of me figure out how to properly load an image
from a particpant. I'm trying to setup some "base" data on the
applications install so users have something to work with and need to
insert a few images into the DB. I know the proper format should be
something a long these lines:

ResourceFinderClasspath.getInstance().getResource("button_uwyn.gif");

but that returns null every time. I've tried other variants such as:

ResourceFinderClasspath.getInstance().getResource("/button_uwyn.gif");
ResourceFinderClasspath.getInstance().getResource("base/button_uwyn.gif");
ResourceFinderClasspath.getInstance().getResource("/base/button_uwyn.gif");
ResourceFinderClasspath.getInstance().getResource("images/button_uwyn.gif");
ResourceFinderClasspath.getInstance().getResource("/images/button_uwyn.gif");

but nothing returns a valid URL. Any suggestions?

Cheers,
  Tyler

_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to