WordPress.org

Ready to get started?Download WordPress

Forums

Images will NOT post in 3.8 WRITING size as 1px by 1px (43 posts)

  1. jefferisp7
    Member
    Posted 6 months ago #

    Hi, I think I found a solution. Removing WP-SuperCache and following this procedure allowed me to bulk upload images and retain their size data.

    Dear User,

    WP Super Cache was removed from your blog but the mod_rewrite rules
    in your .htaccess were not.

    Please edit the following file and remove the code
    between 'BEGIN WPSuperCache' and 'END WPSuperCache'. Please backup the file first!

    /usr/home/igota/public_html/MySite//.htaccess

    Regards,
    WP Super Cache Plugin
    http://wordpress.org/extend/plugins/wp-super-cache/

    I had to manually uninstall SuperCache via FTP after changing temporarily the folder to 777. It appears something in super cache is interfering with the uploads.
    I believe this was installed automatically by my host when installing the WP for this site. Pair does not use cPanel but SIM installer. Apparently the code for these host install programs may be causing trouble with 3.8?

  2. jefferisp7
    Member
    Posted 6 months ago #

    UPDATE: it appears these problems are all related to the ownership and permission issue of WordPress installs of plugins and themes. Apparently, when Pair.com uses SIM, it installs WordPress with ownership as Nobody, standard for Apache servers. But when you then use WordPress to install plugins, it writes the ownership as nobody, so images and plugins are creating folders without proper permissions.

    This isn't a problem I guess if you do everything via sftp as the owner. But it makes working within WP problematic and does not save you time.

  3. s0what
    Member
    Posted 5 months ago #

    I am having the same problem and I am not using any caching

  4. kmessinger
    Volunteer Moderator
    Posted 5 months ago #

    @s0what
    Please start your own thread.

    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

  5. jefferisp7
    Member
    Posted 4 months ago #

    Try this: maxxemm wrote:

    I got the same problem after upgrading WP from 3.6.1 to 3.8.1.
    It looks like there was a change in wp-includes/media.php function wp_constrain_dimensions(): width and height is set to max(1, $current_<w/h> * $ratio). I have changed:
    $w = max ( 1, intval( $current_width * $ratio ) );
    $h = max ( 1, intval( $current_height * $ratio ) );
    to
    $w = intval( $current_width * $ratio );
    $h = intval( $current_height * $ratio );
    as it was in v3.6.
    It's a hack rather than fix, so do it at your own risk.

  6. kmessinger
    Volunteer Moderator
    Posted 4 months ago #

    A few other have had this happen and it is always a plugin, permission or caching problem. I grabbed your image and posted it at http://test.savethecolors.com/test-of-png/

    That site is running twenty ten with no plugins.

  7. jefferisp7
    Member
    Posted 4 months ago #

    we tested with Twenty 14 and no plugins and deleted super cache and the problem still existed. We haven't updated since then.

  8. edbuun
    Member
    Posted 4 months ago #

    This is a big problem! I have exactly the same problem with one of my sites.

  9. douglasmichael
    Member
    Posted 4 months ago #

    yes I spent an hour wondering where my inserted media/pic was going, little did I know it was there just looked like a period 1px by 1px, what is the fix for this

  10. dompl
    Member
    Posted 4 months ago #

    Hi guys.

    I had the same problem and after hours spend on searching for solution decides to look into it myself.

    Basically I had 9 different thumbnail sizes set in my function.php after limiting the amount to 8 by removing once image size everything started to work as it should.

    I have no idea why, but it seem that reducing the amount of generating images helped.

  11. GWKaplan
    Member
    Posted 3 months ago #

    Hi jefferisp7 I have the same problem. Did you find any solutions?

  12. elibrarian27
    Member
    Posted 1 month ago #

    I am having the same problem as the others with the insert media file generating a 1px image. The happened to be bmp images and not jpgs, wonder if that caused the problem?

  13. elibrarian27
    Member
    Posted 1 month ago #

    Seems to me it has a problem with bitmapped images--when I'm home tonight I'll convert the bmps to jpgs and will report if that solved the problem.

Reply

You must log in to post.

About this Topic