View Single Post
  #5  
Old 12-20-2014, 10:16 PM
parayna's Avatar
parayna parayna is offline
Member
 
Join Date: May 2013
Location: Devon, UK
Posts: 342
Gender: Female
Credits: 27,873
parayna is on a distinguished road
Default

Alright, I'll try that thanks!

EDIT: Well, it worked. To an extent. It does resize the larger images, only it also resizes the smaller images XD Which means the eggs now look big and blurry.. and also, peeking around the internet they recommend you be careful as certain browser sizes don't like it.. (small ones for example). This is about as far as my knowledge goes *^*

Could we do a if statement and if it's $eggImage = yes or something, don't resize? (I know that isn't a valid statement XD But to get my point across of kind of the thing I want?)

This is the line so far:

PHP Code:
                $cell->add(new Comment("<a href='/myadopts/manage/{$aid}'><img src='{$adopt->getImage()}' width= '200px'></a>")); 
And as I said, I only know html to a short extent... the internet helps me a lot XD But I'm glad I even managed to do that XD And that I knew where to put the width command, so so far I'm happy :P

EDIT again: And would you also be able to do it with the baby image? (All species on my site will have 3 stages, regardless of species)

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