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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-01-2007, 01:21 PM   #1
Angry Jew Cat - Banned for Life
(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!
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2007, 01:24 PM   #2
viki
Confirmed User
 
viki's Avatar
 
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.
__________________

viki [at] realsexcash [dot] com
228 263 454
viki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2007, 01:26 PM   #3
Deej
I make pixels work
 
Deej's Avatar
 
Industry Role:
Join Date: Jun 2005
Location: I live here...
Posts: 24,386
jesus christ blunts, put the bong down
__________________

Deej's Designs n' What Not
Hit me up for Design, CSS & Photo Retouching


Icq#30096880
Deej is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2007, 01:27 PM   #4
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally Posted by viki View Post
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.
well, that works, but since it only adjusts width you will have some seriously fucked up images....every image is different too, so there is no full proof way of doing what you are doing in the css, something that processes images as they are being posted is the only solution
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2007, 01:30 PM   #5
Angry Jew Cat - Banned for Life
(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?
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2007, 01:46 PM   #6
viki
Confirmed User
 
viki's Avatar
 
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.
__________________

viki [at] realsexcash [dot] com
228 263 454
viki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2007, 02:46 PM   #7
Angry Jew Cat - Banned for Life
(felis madjewicus)
 
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
Quote:
Originally Posted by viki View Post
It'll keep the ratio but it won't actually resize the image, it'll just display it smaller.
ya, i understand that. which is ok, most of the images i'm having problems with aren't too much larger than my content column. so this should work perfectly, thank you
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.