• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Bad Image handling in Amped.

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Bad Image handling in Amped.

This topic is: not resolved

Tagged: amped, css, height, image, jetpack, post by email, sizing, theme, Width

  • This topic has 5 replies, 3 voices, and was last updated 9 years, 5 months ago by Anita.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • April 14, 2014 at 3:46 pm #100303
    lenz
    Member

    Hi all. I have an interesting little bit o' image handling weirdness that i need help with.

    So I need help pinning down exactly what in the Amped theme is causing the images to scale to their max height. I have the same setup, plugins, and versions on two sites and they are handling images differently - one uses Amped and one uses Parallax-Pro. And they are handling images differently.

    Specifically I am trying to Post by Email using Jetpack and my images are not being handled properly. Its not post by email or jetpack causing the problem - that has been established by loading the content of the defective site in the working theme (as in running Parallax on the site that normally runs Amped) and it works the way its supposed to. The images are displayed unmolested by the theme. So Amped it definitely the problem.

    Parallax theme site working properly. http://kim.rosemeow.com/category/pictures/

    Amped them displaying pictures wonky. http://www.hoppersbar.com/category/photo-blog/

    I am hoping someone has a suggestion for a snippet of code to add or remove to make the Amped site handle images like the Parallax site...

    http://www.hoppersbar.com/category/photo-blog/
    April 19, 2014 at 1:21 pm #101308
    lenz
    Member

    Nothing? Nobody has any ideas?

    April 19, 2014 at 6:56 pm #101334
    lenz
    Member

    Ok. So I spent the afternoon trying to figure out why amped doesnt work well with Post by Email" images and the Minimum theme does. Actually i have been tryign to figure out this posting problem for months across a dozen themes - both studiopress and not studiopress and I finally figured it out. I took this piece of code from Minimum theme and plunked it into the amped theme and it works fine now. I think it will work for all themes and will post updats as to whether it does or not...

    /* Images - added to prevent image skewing during post by email */
    .entry-content img,
    .comment-content img,
    .widget img {
        max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
    }
    img[class*="align"],
    img[class*="wp-image-"] {
        height: auto; /* Make sure images with WordPress-added height and width >attributes are scaled correctly */
    }
    img.size-full {
        max-width: 97.5%;
        width: auto; /* Prevent stretching of full-size images with height and >>width attributes in IE8 */
    }
    
    April 19, 2014 at 10:09 pm #101358
    essaysnark
    Participant

    Glad you got this working. I spent a good half hour looking at your two sites earlier today and came up with nada. Thanks for coming back to post a solution, others will surely appreciate that in the future.

    April 20, 2014 at 5:06 pm #101543
    lenz
    Member

    Me too EssaySnark, but i knew i could not mark it resolved. Now i am having a similar problem in the Enterprise theme... This one is a little different than the previous - the images are displaying as 1024x1024 but only in the enterprise theme - which is weird - So i move that theme to another site with a similar setup and it DISPLAYS NORMAL.

    Here is the site that is displaying wonky now... http://www.fidospantry.com/category/photos/

    So i am trying to narrow it down where the problem is. if i load up amped, the problem theme we were talking about above - the images display fine - which says to me its the Enterprise theme - BUT the Same Theme copied to another site with a similar setup displays them properly. Are YOU getting a headache yet? I have the MOAH from this...

    So - I thoought I would be clever and deactivate photo, just for giggles - problem solved. No more 1024x1024 posting! GAH!

    I am going to continue to leave this thread unresolved as i am putting together post by email for a number of my clients with a number of different themes and i will post some rants about how it goes here...

    April 20, 2014 at 5:10 pm #101544
    Anita
    Keymaster

    This is what is calling the 1024 x 1024 image. You are using the full width layout. The image CSS is this:

    img.size-full {
        max-width: 97.5%;
        width: auto;
    }

    What size do you want them to be when in Full Size mode?


    Love coffee, chocolate and my Bella!

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble