?

Log in

No account? Create an account

Previous Entry | Next Entry

I like being able to see userinfo icons, userpics, and mood icons, but I do not want to see any larger images in entries. I am aware of LiveJournal's image placeholders (I see http://stat.livejournal.com/img/imageplaceholder2.png), but since most people don't specify image sizes when they post, I see the 35X35 image a LOT even when hoping to block just medium to large pictures. This is especially annoying because the image placeholder is bigger than the images it is replacing, such as those "add this to del.icio.us * digg this" buttons, which would be a lot less obnoxious than the 35X35 thing.

I'd like a smaller image placeholder. I know that there are tutorials about changing the userinfo images, so I'm hoping it would be possible to tweak the placeholder as well?

Thanks in advance!

OOOH OOOH OOOH I THINK I FIGURED IT OUT!!!
This is awesome for those of you who want to use image placeholders but don't like what LJ has:
.ljimgplaceholder img { 
  width:             0;
  height:            0;
  background-repeat: no-repeat;

  /* so that IE6 users will still see an image */
  background-image: url(http://YOURIMAGEURL.GIF); 
  padding:          16px 16px 0 0;
}

.ljimgplaceholder img[src="http://stat.livejournal.com/img/imageplaceholder2.png"] {
  background-image: url(http://YOURIMAGEURL.GIF);
  padding:          16px 16px 0 0;
}


At least it looks good on my firefox + mac os x.

http://whitecrow0.livejournal.com/friends
to see what I'm talking about. You should see little blue squares instead of other images.

Comments

( 2 comments — Leave a comment )
av8rmike
Jan. 26th, 2008 03:28 pm (UTC)
Very nicely done, that's exactly how you would do it, except for one small thing: You have a typo in the second specifier, where it should say ljimgplaceholder instead of ljimjplaceholder.

Also, the placeholders aren't shown when viewing someone else's friends page; i.e. the setting doesn't carry over. But, it worked fine on my own friends page.

Finally, it's also worth pointing out that anyone should be able to apply this setting to any layout, not just Expressive.

Edited at 2008-01-26 03:31 pm (UTC)
whitecrow0
Jan. 26th, 2008 07:34 pm (UTC)
Oh, thanks for pointing out that typo. I'll get that fixed in my own journal right away (and edit this post as well.)
The placeholders don't seem to work on my own journal, either; I make a few posts with images in them from time to time and I still see my own. But it's now so much less cluttered looking on my friends page!

I can't tell you how pleased I am with myself for figuring this out. I really think it's helpful. :}
Thanks for the comment!
( 2 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars