Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 06-06-2020, 05:08 PM
kristhasirah's Avatar
kristhasirah kristhasirah is offline
Member
 
Join Date: Jan 2010
Location: In middle of the nothingness
Posts: 196
Gender: Female
Credits: 29,071
kristhasirah
Default

move it to where? to other place or center the image on the same page??
if you want to center right or left the image in the same place, then you need to replace the code with something like this:
$document->add(new Comment("<div class=''><img src='{$this->avatar}' width='100'></div>"));

i played with the code and that works, i center mine with the code i have in CSS (<div class='center'>)
now if you want to display the avatar in another page... then you will need to call the database and other things to get the url of the user and display it in a $document->add(new Comment(""));
haven't tried to display the avatar in another page that's not the userprofile.
__________________

Last edited by kristhasirah; 06-06-2020 at 05:11 PM.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:14 PM.

Currently Active Users: 308 (0 members and 308 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636