Mysidia Adoptables Support Forum  

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

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 12-20-2014, 11:38 PM
parayna's Avatar
parayna parayna is offline
Member
 
Join Date: May 2013
Location: Devon, UK
Posts: 342
Gender: Female
Credits: 30,127
parayna is on a distinguished road
Default

Thank you! It worked! I even managed to edit the align:

PHP Code:
                $aCell->setAlign(new Align("center""bottom")); 
To make it look like they were on the same level :P

  Spoiler: For anyone interested in the dimensions I used, for whatever reason XD 
PHP Code:
                $lvl $adopt->getCurrentLevel();
                
# if level 0 (egg) resize to 50px
                
if ($lvl == 0) { $cell->add(new Comment("<a href='/myadopts/manage/{$aid}'><img src='{$adopt->getImage()}' width= '90px'></a>")); }
                
# if level 1 (baby) resize to 100px
                
if ($lvl == 1) { $cell->add(new Comment("<a href='/myadopts/manage/{$aid}'><img src='{$adopt->getImage()}' width= '130px'></a>")); }
                
# if level is 2 or greater (adult) resize to 200px
                
if ($lvl >= 2) { $cell->add(new Comment("<a href='/myadopts/manage/{$aid}'><img src='{$adopt->getImage()}' width= '200px'></a>")); } 


Thanks~

Last edited by parayna; 01-02-2015 at 12:12 AM.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cool little pager thingy? LilPixie Questions and Supports 4 02-09-2009 05:47 PM


All times are GMT -5. The time now is 07:56 PM.

Currently Active Users: 2043 (0 members and 2043 guests)
Threads: 4,081, Posts: 32,032, 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 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636