Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Image Size: Myadopts & Stats pages (http://www.mysidiaadoptables.com/forum/showthread.php?t=4564)

Missy Master 06-29-2014 12:37 PM

Image Size: Myadopts & Stats pages
 
HOF can I get the code to reduce the image size for the pets in the stats page and the myadopts list of pets?

We had it for the earlier version but I am not sure where to do it here :)


This is what we used before on myadopts ...


$link = new Link("myadopts/manage/{$aid}", $adopt->getImage("gui"));
$link->getImage()->resize(150);



Thanks!!

Hwona 06-29-2014 12:43 PM

Re
 
Umm, do you think you could do something like this:
<img src="{$mysidia->path->getAbsolute()}levelup/siggy/{$this->adopt->getAdoptID()}" height="42" width="42">

Missy Master 06-29-2014 12:44 PM

Ah, possibly! I'm just not sure where to insert it .. I fail at the Object php haha.

I just want to get the pet sizes to not display their normal size in myadopts ( just the list of them ) and stats ....

Hwona 06-29-2014 01:07 PM

Umm, you know how for the modification I made, how to display the stats? Put it there. :3


All times are GMT -5. The time now is 11:08 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.