![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
Is there a WP Plugin which resizes oversized images from rss feeds to fit your layout
is there? and where? thnx!
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jan 2005
Posts: 2,640
|
You don't need a plugin. Just put this in your stylesheet under the class that your content gets posted:
img { max-width: 500px; } So if the class that your content is posted in is called "content", it would look like this: .content img { max-width: 500px; } Obviously adjust 500px to whatever you want. If you need help finding it, send me an ICQ. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
I make pixels work
Industry Role:
Join Date: Jun 2005
Location: I live here...
Posts: 24,386
|
jesus christ blunts, put the bong down
![]()
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
So when I use this CSS
.content img { max-width: 500px; } will that keep the aspect ratio of the image, or just smush it skinny? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Jan 2005
Posts: 2,640
|
It'll keep the ratio but it won't actually resize the image, it'll just display it smaller.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |