WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Album
[resolved] Full size image (3 posts)

  1. loufernando
    Member
    Posted 6 months ago #

    Hi, is there a way to show full size images in the album rather than thumbnails?

    https://wordpress.org/plugins/bp-album/

  2. deepbevel
    Member
    Posted 6 months ago #

    in
    bp-album\includes\templates\album\pictures.php

    <div class="picture-thumb-box">
    
    	                <a href="<?php bp_album_picture_url() ?>" class="picture-thumb"><img src='<?php bp_album_picture_thumb_url() ?>' /></a>
    	                <a href="<?php bp_album_picture_url() ?>"  class="picture-title"><?php bp_album_picture_title_truncate() ?></a>
    				</div>

    change
    bp_album_picture_thumb_url

    to
    bp_album_picture_middle_url

    then you can adjust the size in css.

    .picture-thumb-box a img {
    
        max-height: 400px;
        max-width: 600px;
    }
  3. foxly
    Member
    Plugin Author

    Posted 2 months ago #

    It depends on what you mean by "full sized image". BP-Album resizes uploaded images to fit within the maximum image dimensions you set, to save disk space. If we didn't do this, users could upload huge files (20MB+) and use up all your disk space.

    The code above that @deepbevel posted is what most users would be looking for in this situation. Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.