WordPress.org

Ready to get started?Download WordPress

Forums

Resize images before upload
[resolved] Custom size in wp-config not working (6 posts)

  1. dikkevandale
    Member
    Posted 1 year ago #

    I have added define( 'RIBU_RESIZE_WIDTH', 1024 ); to my wp-config.php file, but it still takes the size from my large image in the media settings screen, and not the 1024px widh.

    http://wordpress.org/extend/plugins/resize-images-before-upload/

  2. lurchi
    Member
    Posted 1 year ago #

    I had the same problem.

    1. I was just moving the code in the wp-config.php a little bit up
    2. I was saving the Page /wp-admin/options-media.php again.

    now it is working.

  3. Bobrov_Alexey
    Member
    Posted 1 year ago #

    Same problem with wp-config.

    Works when place code to functions.php in your theme ;)

  4. WPsites
    Member
    Plugin Author

    Posted 1 year ago #

    I've just done some testing and that setting should work as long as you enter it above the line that reads:

    /* That's all, stop editing! Happy blogging. */

    I'm updating the readme file to remind others.

    Also, I'm in the process of adding a setting to settings-media so that you can change this without making modifications to your wp-config.php

  5. Meevi
    Member
    Posted 1 year ago #

    This is not working for me. I thought this was supposed to automatically upload the images and they are enlarged upon uploading. Am I missing something? My images are uploading in the original small size.

  6. WPsites
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Meevi,

    This plugin only resizes the images to smaller dimensions. Say from a digital camera 8000 x 8000px down to 1000 x 1000 to save server space, reduce the time it takes to upload your pictures and reduce the time it takes for users to download your pictures.

    Simon

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.