[rt-users] Problem with interpretation of images

Thomas Sibley trs at bestpractical.com
Wed Jun 6 12:02:13 EDT 2012


On 06/04/2012 12:58 PM, Alexander Reintzsch wrote:
>> Use an autohandler to serve the images statically instead of through
>> Mason automatically.  See how core RT does this in
>> share/html/NoAuth/images/autohandler
> 
> Well, thanks for the idea. But autohandler doesn't work at all. Neither
> in share/html/NoAuth/images nor anywhere else. It's beeing ignored.
> I copied the picture, see attachment, into share/html/NoAuth/images and
> got the Mason-compiling error

Make your plugin's images directory something that's not in core RT.
You're running into an annoying Mason quirk involving autohandlers and
multiple component roots, I believe.

html/NoAuth/RT-Extension-Foo/images/autohandler
html/NoAuth/RT-Extension-Foo/images/brushed-steel.jpg

etc.




More information about the rt-users mailing list