[mythtv-users] Images Broken

gLaNDix (Jesse Kaufman) glandix at lloydnet.org
Thu Sep 14 20:02:24 UTC 2006


gLaNDix (Jesse Kaufman) wrote:
> Trey Thompson wrote:
>> Since .20, my images in mythweb are there, but have the “broken” tag 
>> over them as well…  See attached.
> 
> yeah, there's an issue in mythweb/js/pngbehavior.htc ... change line 7 
> from whatever it was (i'm not sure off hand) to:
> 
> var blankSrc = "/mythweb/skins/default/img/spacer.gif";
> 
> (assuming the URL to your mythweb is http://[domain]/mythweb)
> 
> i'm not exactly sure how .htc files work with IE, but it might be a good 
> idea to make it pngbehavior.htc.php and change the line to:
> 
> var blankSrc = "<?php echo $webroot;?>/skins/default/img/spacer.gif";
> 
> assuming that $webroot contains the root URL for mythweb (ie: 
> "/mythweb") ... there are a number of small issues like this in mythweb 
> that i first noticed in 0.20.  they may have been in there since 
> earlier, but i'm not sure.  it has to do with mod_rewrite and the 
> "friendly urls" ... i've run into this before on projects i've done, too :(

sorry to post a reply to myself, but you might also have to edit 
skins/[your_skin]/style.css (where [your_skin] is most likely default or 
grey) ...  change line 18 from:

.alpha_png { behavior: url("js/pngbehavior.htc"); }

to:

.alpha_png { behavior: url("/mythweb/js/pngbehavior.htc"); }

-g-


More information about the mythtv-users mailing list