This topic has 3 replies, 2 voices, and was last updated 7 years by Radu.

  • Author
  • #176509
     larandle
    Participant

    This is going to be a little hard to explain. But I want to find out how to get a universal upload size for image uploads, and video embeds..

    I want my users to be able to have a universal size, such as 450X450 for all embeds and all uploads on their activity page. How would I accomplish this?

     

    thank you

    #176559
     Radu
    Moderator

    Hi,

    For embeds it’s simple just set via CSS

    iframe, embed {min-width:450;min-height:450px;}

    For images depends where…

    Also if you are referring to the image upload, to not allow you to upload if a image doesn’t have a minimum of width, height px… i recommend you to search a plugin for that, since our ttheme follows the wordpress/buddypress working flow.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #176709
     larandle
    Participant

    Hi,
    Ok so let me better explain. If I had an upload limit of 1080X, I would still want all images and videos to display within a certain limit of the activity stream so that it looked EVEN, and proportionate; like instagrams feed. How would I do that?

    #176873
     Radu
    Moderator

    I see, the theme doesn’t alter the upload mechanism, and i think you will have to search for a plugin that gives you this ability lo limit the image by the width on the fly while upload.

    Also found this function on google give a try and adapt the values for your needs : https://wordpress.stackexchange.com/a/130204

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?