Results 1 to 10 of 16
Threaded View
-
26th May 2011, 04:27 AM #1OPJust Another Coder
Simple Images Resize in Wordpress
Yes, that's right. What you read is right. No need of installing any plugins and keep on searching google to do it.
There is a simple way to resize images in CSS. Yes CSS code can simply resize images in your blog. Well, I changed my theme and since then nCode Image Resizer stopped working. I was wondering why but couldn't check that thing much. But then I just now found a simple way, simplest everway to resize images auto.
Remember nothing to install and no settings to be done.
Just go to Appearance -> Editor from your Admin panel.
Then the one first open is of course the style sheet so just look for the post bit of your blog i.e., the content location. You can use firebug to get this quickly and just add the following code to it.
PHP Code:.storycontent img {
max-width: 460px;
width: expression(this.width > 460 ? 460: true);
}
img si for images posted inside the .storycontent posted story
460px: Change this accordingly (or lesser probably) to the width size of your story content box.
width: expression(this.width > 460 ? 460: true); max-width fix for IE. Change the 460 to the appropriate size.
To be precise there is img { already present so insert the remaining part into it. In my case I did it in the following way :
If you don't get it imma help yea but it is soo simplefdls Reviewed by fdls on . Simple Images Resize in Wordpress Yes, that's right. What you read is right. No need of installing any plugins and keep on searching google to do it. There is a simple way to resize images in CSS. Yes CSS code can simply resize images in your blog. Well, I changed my theme and since then nCode Image Resizer stopped working. I was wondering why but couldn't check that thing much. But then I just now found a simple way, simplest ever :facepalm: way to resize images auto. Remember nothing to install and no settings to be Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to automatically resize images in featured post on wordpress
By Jayzzy in forum WordpressReplies: 1Last Post: 3rd May 2012, 10:17 AM -
How to resize images in the_excerpt?
By Divvy in forum Web Development AreaReplies: 2Last Post: 26th Apr 2012, 04:38 PM -
How to resize images in the_excerpt?
By Divvy in forum WordpressReplies: 2Last Post: 26th Apr 2012, 04:37 PM -
How do i resize all images on vBulliten?
By thecompgame in forum Technical Help Desk SupportReplies: 8Last Post: 6th Aug 2011, 08:28 PM -
Wordpress plugin that can auto-resize images
By Prazsky in forum Webmaster DiscussionReplies: 7Last Post: 5th Dec 2010, 07:13 PM
themaLeecher - leech and manage...
Version 5.02 released. Open older version (or...