Activity Stream
48,167 MEMBERS
6815 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1.     
    #1
    Just Another Coder

    Wink 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 way 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-width460px;
    widthexpression(this.width 460 460true);

    First part is the story content class. Change it according for your blog.
    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 simple
    fdls 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

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    mytinydick.com
    Pretty sure you can insert this in custom.css

    Bad bitch in my chevy.

  4.     
    #3
    Member
    Website's:
    ihide.info
    nice. ive always been looking for plugins to do this.
    KWWH has turned gay. I will not return until Phamous is demoted.

  5.     
    #4
    Respected Member
    Website's:
    FreshWap.com KWWHunction.com
    fuc*ing awesome mate you did it its really worked thanks alot

    +1
    Dear Haters,
    "I respect you so much, that's why I salute you with 1 middle finger!"

    Thank You !

  6.     
    #5
    Just Another Coder
    Quote Originally Posted by ShareShiz View Post
    nice. ive always been looking for plugins to do this.
    Well just don't copy paste the code I put here. It .storycontent should match with the post content property in CSS of your blog

    Quote Originally Posted by CyberAff View Post
    fuc*ing awesome mate you did it its really worked thanks alot

    +1
    No Problem

  7.     
    #6
    Member
    Website's:
    ihide.info
    ahh i knew i had to change something but never used CA's theme, was helping him and i guess i got it wrong
    KWWH has turned gay. I will not return until Phamous is demoted.

  8.     
    #7
    Member
    Website's:
    wrzscene.info watchfreetvseriesonline.com
    will try this tommorow and then confirm if it works or not

  9.     
    #8
    Just Another Coder
    Quote Originally Posted by samipk View Post
    will try this tommorow and then confirm if it works or not
    Sure buddy and fyi i put this on my blog and CA's blog as well

  10.     
    #9
    Member
    will this work on an external image? i mean the image is uploaded outside the server..

  11.     
    #10
    Member
    It will work on any img tag inside the element that has storycontent as its class

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 3rd May 2012, 10:17 AM
  2. How to resize images in the_excerpt?
    By Divvy in forum Web Development Area
    Replies: 2
    Last Post: 26th Apr 2012, 04:38 PM
  3. How to resize images in the_excerpt?
    By Divvy in forum Wordpress
    Replies: 2
    Last Post: 26th Apr 2012, 04:37 PM
  4. How do i resize all images on vBulliten?
    By thecompgame in forum Technical Help Desk Support
    Replies: 8
    Last Post: 6th Aug 2011, 08:28 PM
  5. Wordpress plugin that can auto-resize images
    By Prazsky in forum Webmaster Discussion
    Replies: 7
    Last Post: 5th Dec 2010, 07:13 PM

Tags for this Thread

BE SOCIAL