• Resolved accend4web

    (@accend4web)


    Hi,

    I am using this theme and have uploaded a few images to the Media folder. Then I have created a page called Motorsport, and when I click Add Media to add an image and slect its maximum size which at this time is 1100px width, then it appears on the page its the middle size although the code is trying to call the large image.

    <img src="https://isimrs.com/wp-content/uploads/2017/02/isimRS-Car5-1.jpg" alt="" width="1100" height="400" class="alignnone size-full wp-image-1261" />

    This is the page – https://isimrs.com/motorsports-team/

    I have checked the main style sheet and nothing appears to be working against it

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter accend4web

    (@accend4web)

    I have located where the code is that I need to work from and its the content-page.php file inside the template-parts folder.

    There a function in there called the_content() and maybe I dont know, its where that function is that its doing something to stop the image from showing the full width, and only allowing it show the middle with of a max of 760px, which is no good really.

    Thread Starter accend4web

    (@accend4web)

    I have re-downloaded the theme, made sure I’m selecting the correct template and deleted the image in the page, and added it again, saved and it still prefers to load itself smaller than what its being asked to do.

    I have cleared stuff from the child theme, such as the functions and the css and still it wont work.

    I’m pretty stumped again in honesty.

    Theme Author createandcode

    (@createandcode)

    Hi there,

    if you shoot us an email with your WP site url, WP admin user/pass to [email protected] we’ll take a look for you.

    Colm

    Theme Author createandcode

    (@createandcode)

    Hi there,

    Are you sure you’re just now seeing the default WordPress responsive images kicking in at smaller screen sizes?

    e.g. on my browser I see this

    Screen Shot 2017-02-21 at 22.06.49

    so it looks like it’s loading the full size image for me.
    If I reduce my browser window size it will obviously load one of the smaller images – but that’s the default WordPress image experience – and not something that’s specific to the theme.

    Colm

    Thread Starter accend4web

    (@accend4web)

    Hi guys,

    Thanks for getting back to me and looking at the time you did, you must have replied not 30 mins after I managed to work it out.

    You are seeing it correctly now, the image is showing the correct width and it all came down to a plugin called JetPack.

    I’m not sure what was going on, but for some reason it wasnt allowing a full width image to show, only the medium width.

    But thanks again for asking to help

    Theme Author createandcode

    (@createandcode)

    Ah yes – it’s probably the Photon extension in Jetpack
    https://jetpack.com/support/photon/

    I’ve seen that cause issues like this in the past.
    Colm

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Image on page not correct width’ is closed to new replies.