May 25th, 2010

I know s2

HOWTO: Fixing the Display of Mood Theme Images

UPDATE: As of Release #68 on August 10th, 2010, this problem has been resolved and should no longer affect users using non-custom (i.e. LJ-provided) Component themes. If you're still experiencing this problem, you're probably using a custom theme layer and should read on.

A recent code push has affected the way some layouts (including Component) display mood theme images, although it appears that this problem only affects Internet Explorer. Basically, mood themes now have to include height and width dimensions on images. The Component layout prints a string like this, expecting the dimensions:

<img src='$url' width='$width' height='$height' alt='' />

If those width and height values are missing, Firefox and other (non-IE) browsers still display the image, but IE just displays nothing. One fix is to edit the mood theme through the Admin Console if it's a custom theme, which is covered in this FAQ. If you're already using a custom theme layer or don't mind creating one, this tutorial will show you what to fix.

Collapse )
Please leave a comment if there are any problems.