1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Gonzo WP theme - Auto resizing my in-post images

Discussion in 'Web Design' started by DiscoDax, Dec 22, 2014.

  1. DiscoDax

    DiscoDax Registered Member

    Joined:
    Nov 28, 2014
    Messages:
    65
    Likes Received:
    12
    Occupation:
    Engineer
    Location:
    Somewhere in EU
    So I'm using the Gonzo theme on one of my sites. Love the design but I'm having an annoying problem.
    Whenever I insert an image into a post/page it automatically resizes the image to 50% of the content size because of some BS responsive reason. When I align left/right it goes to 50% and when I center it resizes the image to 100% of the page width?

    Anyone has an idea how I can stop this? Because it's messing up my layout and not to mention the bad quality images because of the stretching..
     
  2. lightning37

    lightning37 Newbie

    Joined:
    Dec 12, 2014
    Messages:
    21
    Likes Received:
    4
    Do you have a url to an example page where this is occurring?
     
  3. nocare

    nocare Junior Member

    Joined:
    Apr 29, 2013
    Messages:
    164
    Likes Received:
    81
    Location:
    Deep Code
    Wordpress has a concept of image sizes that need to be set up if you want certain non-default behaviors.
    I think.
    Code:
    add_image_size() ;
    Double check your functions and/or plugin files and check that wordpress isn't actually cropping them.

    Show me a working page with the problem and I'd look :D
    I think you have a css issue but i've run into it a number of times, so worth mentioning.

    Generally when I want an image in some content, I set the image to 100% width, then style a wrapper for the image, within my main content body.
     
  4. DiscoDax

    DiscoDax Registered Member

    Joined:
    Nov 28, 2014
    Messages:
    65
    Likes Received:
    12
    Occupation:
    Engineer
    Location:
    Somewhere in EU
    Thanks for the help guys.. It was indeed a responsive function that kept resizing the images to 50% or 100% of the content width. Fixed it with adding a this line of code: add_filter( 'the_content', 'remove_thumbnail_dimensions', 10 );