PDA

View Full Version : Level 0 alt image


SilverDragonTears
05-02-2012, 11:06 PM
I imagine this is the part I need to edit

if($row->usealternates == 'yes') $image = $row->alternateimage;
else $image = $row->primaryimage;
if($row->currentlevel == 0) $image = $row->eggimage;
if($image=='') $image = $row->primaryimage;

I have alt images for level 0 but it's only showing the primary image.

Apparently the moment I post things I end up solving them >.<

Hall of Famer
05-02-2012, 11:15 PM
I wouldnt say it is a problem though, this indicates that your PHP skills are improving. I wouldnt recommend asking questions right after you encounter the problem. Give a try yourself at first and post here if you cant fix it.

SilverDragonTears
05-02-2012, 11:19 PM
I do. Everytime. For hours I try. Then I post and I always figure it out right after I post >.<

SilverDragonTears
05-03-2012, 12:15 AM
$image = getcurrentimage($id); Doesn't show the alt image. I've tried joining the tables but not working :/