And finally tried to call it from my index with something like:
<?php $this->widget('BannerMagic');?>
The result where an img tag with the right path but no image showed up… and the source showed the img having a "class" attribute with some random figures:
should do it. Just make sure you’re putting the ‘themes’ in the right section. It should be near the top a few lines down. I usually put it directly underneath the line:
'name'=>'Your Webapp Name',
If that doesn’t work, make sure you’ve copied the theme into the correct directory for the correct webapp and that your web process can read it. Look at the permissions / ownership on your other files and make it the same.
I haven’t written any widgets, so I can’t comment.
I tried to reproduce the problem and found that images were showing for me on IE, Opera and Safari, but not on Chrome and Firefox. It took a while, but I found out that the thing that thing that sets Chrome and Firefox apart in my setup is that they have Adblock installed, while the others have not. Disabling Adblock fixed the problem. Therefore, I am guessing you have Adblock installed as well. Presumably adblock disables the picture because of the ‘adverts’ part of the image url.
Also, I would rewrite your view to include the baseUrl of the site: