• jiwicky

    (@jiwicky)


    Hi,
    This is kind of a complicated thing but I will do my best to explain. I have already tried to find this issue somewhere on here but nothing solves it.

    The problem:
    Many parts of my site involve using the featured image as a preview in the blog posts (sophiemagazine.com). This featured image was always set at 470×260 and it was fine. But recently the Featured image will not crop to the size I want it inside the post page.

    Here’s what I do:
    Click “set featured image”
    upload or choose the image and click edit
    resize and crop
    hit all the saves, etc

    When I do all that I can see in the media window that the featured image is set to the dimensions I chose, but then when I click “insert featured image” it shows up as un-cropped again, and then the image is showing up in the original dimensions everywhere (actually it usually either shows up as 470w by ‘X’ tall or ‘x’ wide by 260 tall).

    I am running NewsFocus as my theme. I did customize some things but I’m pretty sure I ruled out the customization being the culprit because I have tried to rule a ton of things out. I’m at the end of what I can do to diagnose the problem.

    Some notes:
    I know that you have to click the crop button again after making your selection to get it to crop and save changes.

    I have deleted and re-imported all plug-ins

    I have replaced loop.php, functions.php to original from my original theme folder and also the original media.php file, which I don’t even remember editing.

    I have completely reinstalled the theme to see if this fixed it to no avail.

    Has anyone ever experienced this and can you please help? I have been obsessed with this problem for about 5 days now.

    my site:
    sophiemagazine.com

    Ugh, please help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jiwicky

    (@jiwicky)

    I fixed this on my own.

    @jiwicky what was the solution here? i am experiencing the same problem.

    Thread Starter jiwicky

    (@jiwicky)

    After spending a ton of time trying to figure this out I realized that there were 2 things contributing to this. I’m not sure which one finally fixed it, but it is working better now.

    1) I had a function in my theme’s function file that was calling some custom thumbnail types and it was conflicting with another plug in. So you might want to do the plug in check thing – where you disable all the plug-ins scientifically until you find the one that is buggy. In this case I took out the code instead of deleting the plugin.

    2) I had spaces in my functions.php and media.php files. In other words, open those files up and make sure there are no extra lines in bottom. There shouldn’t be any empty space before the opening <?php or after the closing ?>

    Hope this helps. I almost went crazy trying to find what was causing this strange behavior.

    thanks for the update. i’ll give this a try.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cropping Featured Image Does Not Apply’ is closed to new replies.