$profileLink = "https://amphibiandisease.org/profile.php?id=" . $viewUser->getHardlink(); ?> <paper-input label="Profile Link" id="profile-link-field" readonly value="<?php echo $profileLink; ?>"/> </div> </div> <div class="fab-wrapper col-xs-2"> <paper-fab icon="icons:content-copy" class="materialblue" id="copy-profile-link" data-clipboard-text="<?php echo $profileLink; ?>" data-toggle="tooltip" title="Copy Link"></paper-fab> </div> </div> </div> <?php } ?> <div id="basic-profile" class="col-xs-12 col-md-6 profile-region" data-source="social"> <h3>Basic Profile</h3> <style type="text/css"> #profile-image-uploader { background: url('<?php echo $viewUser->getuserPicture(); ?>') no-repeat center center; } </style> <div id="upload-container-section" hidden> </div> <div class="row profile-image-container"> <img class="profile-image img-responsive" id="user-profile-image" src="<?php echo $realProfileImagePathXS; ?>" srcset="<?php echo $realProfileImagePath; ?> 1024w, <?php echo $realProfileImagePathSM; ?> 512w, <?php echo $realProfileImagePathXS; ?> 128w" alt="Profile image" /> <?php if($isViewingSelf) { ?> <button class="btn btn-default col-xs-12 col-md-6 col-lg-3" id="expose-uploader"> Change Profile Image </button>