The wps e.g. example.wps should be placed in /.rockbox/WPS, and all bmps used in it in /.rockbox/WPS/example
In the actual WPS, the bmps should be loaded with
%x|a|image.bmp|0|0
and the wps will automatically look in the subdirectory with the same name as it.