• Resolved arjunsinghal

    (@arjunsinghal)



    Hi

    I am having guests sign up on my site and post their content. However, when they upload images, the window shows the image in 150×150 size. The img tag contains attributes that limit the size of the display.

    Some of the guests are photo bloggers and concerned about the resolution of images in their posts, which I have to manually clean up later on. I am thinking of taking up the Pro version, but this isn’t a feature that the Pro version differs from the free version about.

    Request your help, or an alternate plugin?

    Sincerely,
    Arjun

    https://wordpress.org/plugins/wp-user-frontend/

Viewing 1 replies (of 1 total)
  • Mahbubur Rahman

    (@themegurututorials)

    If you are using the custom field to upload images then it will show the thumbnail size image. However, you need to custom code to show the big size of uploaded images.

    $images = get_post_meta( $post->ID, 'meta_key_name' );
    
    if ( $images ) {
        foreach ( $images as $attachment_id ) {
            $full_size_thumb = wp_get_attachment_image( $attachment_id, 'full' );
    
            printf( '%s', $full_size_thumb );
        }
    }

    You should add the code inside the corresponding post loop that has been defined in the form.

Viewing 1 replies (of 1 total)
  • The topic ‘Image size after upload appears 150×150’ is closed to new replies.