![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
![]()
I'm posting this question here in case others need to see how to do this :)
How would we resize the images shown on the myadopts and stats and market etc pages, for the pet images? Right now mine are all showing at regular size, and that would be fine for the manage section but the lists where there are a lot, each pet really dominates! I tried this: $image->resize(150); in various places but no go, and I don't want to mess anything up! Plus Im not sure how to do it as 150 x 200 or something. Thanks for the help! :) |
#2
|
||||
|
||||
![]()
Well, one way you could resize all pets is through the css sheet of your theme. Theoretically, (I don't know if this would work but it sounds like it might) you could put classes around certain images in the code and then in the stylesheet, specify that all images in that class are a certain size.
The only downsize is it would probably resize all images.
__________________
|
#3
|
||||
|
||||
![]()
I've solved this problem for Anna. Resizing an adoptable's image can be a bit tricky, since the image is wrapped inside a Link Object. For this reason, you have to get the link object and retrieve its image property before playing with image attributes.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Editing Stats Page & Little Icon | Glow | Questions and Supports | 4 | 12-07-2014 08:29 AM |
Image Size: Myadopts & Stats pages | Missy Master | Questions and Supports | 3 | 06-29-2014 01:07 PM |
Showing stats on click page | Hwona | Questions and Supports | 9 | 05-07-2014 07:40 AM |
Adoptable Stats | Abronsyth | Suggestions and Feature Requests | 2 | 09-10-2011 02:28 PM |
Quick Question about Images.. | Lady | Questions and Supports | 4 | 03-05-2009 05:28 PM |
What's New? |
What's Hot? |
What's Popular? |