Forums

Full Size Images (2 posts)

  1. ffwebdesigner
    Member
    Posted 2 years ago #

    I'm wondering whether there is any way to resize images before upload in wordpress to a specific height / and / or width.

    why? cause we're doing a portal with multi user. we don't want full size images get linked, we only need 800/600px.

    i tried:

    scissors plugin - no display under multimedia.
    resize on upload plugin - not enough php memory with 3mb jpgs.

    i could delete full size pictures manually by ftp.
    but then i'd need an automatic "resize also to 800/600" function when inserting a picture thumbnail into a post. the 800/600 px version then should be linked directly...

    is there any way to get wordpress linking the jpgs directly instead of opening in an attachment by default?

    cheers
    ff-webdesigner

  2. nathan12343
    Member
    Posted 2 years ago #

    What about increasing your PHP memory so that resize on upload works? I have just done exactly that by adding a line of code to the config file:

    /** This is will increase the php memory to 64M */
    define('WP_MEMORY_LIMIT', '64M');

    Put this anywhere before the bit that tells you to stop editting.

    Of course you can change 64M to be a different amount. But with this I was able to process files of 3.8Mb

Topic Closed

This topic has been closed to new replies.

About this Topic