PDA

View Full Version : Image Size: Myadopts & Stats pages


Missy Master
06-29-2014, 12:37 PM
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
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