How do I make the images in my Blog full size

Discussion in 'Cloriato WordPress Theme' started by gabriellastrano, Oct 26, 2013.

Thread Status:
Not open for further replies.
  1. gabriellastrano

    gabriellastrano Member

    Joined:
    May 6, 2013
    Messages:
    95
    Likes Received:
    1
    Hi, When I put "add media" images or set "featured image" into my blog posts, no matter what adjustments I make to the image size or scale, the image always gets cropped once published on the blog. Please see attached image to explain what I mean. Can you tell me how to stop this. Ideally I don't want the grey border around the images, and I want it to be the full size as uploaded.
    Many thanks in advance.
    blog images.jpg
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Paste the following code in your Custom CSS
    (Appearance -> Theme Options -> Styling Options -> Custom CSS)

    Code:
    .content_wrapper .content .post .post_content img.postimg {
    max-width: 100%;
    height: auto;
    width: auto;
    background: none;
    }
    This will solve your issue.
     
  3. gabriellastrano

    gabriellastrano Member

    Joined:
    May 6, 2013
    Messages:
    95
    Likes Received:
    1
    Hey, that still isn't doing the trick. The image is still cut short on either side. And can you tell me why the written text of the post isn't there and instead there is a "(...)" - see image.
     

    Attached Files:

  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to blog.php present in your theme directory and replace the current code

    Code:
     <?php if ((function_exists('has_post_thumbnail')) && (has_post_thumbnail())) { ?>
                            <?php inkthemes_get_thumbnail(250, 170); ?>
                        <?php } else { ?>
                            <?php inkthemes_get_image(250, 170); ?>
                            <?php
                        }
                        ?>   
              <?php the_excerpt(); ?>
    With code given below
    Code:
      <?php the_content(); ?>

    Sending image for reference

    2013-10-29_1137.png


    This will solve your issue.
     
  5. gabriellastrano

    gabriellastrano Member

    Joined:
    May 6, 2013
    Messages:
    95
    Likes Received:
    1
    perfect, thanks!
     
Thread Status:
Not open for further replies.

Share This Page