|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions Make users photo entries display on the profile page? |
Make users photo entries display on the profile page? |
Harina,
insert this code in appearance of photo Code <span style="display:none;"> <div align="center" style="margin: 0 auto; display: block;"> <span id="export-photos"> <a href="$PHOTO_URL$" style="text-decoration:none;"> <div style="background:url($PHOTO_DIRECT_URL$) no-repeat center center; background-size:cover; margin-top: 10px; height: 100px; width: 100px;"></div> <a href="$PHOTO_URL$" style="text-decoration:none;"></a> </div> </span> and this where you want the photos to appear on the profile page <div class="import-photos"></div> <script type="text/javascript"> $('.import-photos').load('$_PHOTO_ACTIVITY_URL$ #export-photos:lt(6)'); </script> good luck Systems developer
|
bigblog, am not sure if anyone would love to post an entire gallery on the profile page and thats why i include :It(6) but she can change to any number she can prefer
Systems developer
|
| |||
| |||