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)
-   -   Level 0 alt image (http://www.mysidiaadoptables.com/forum/showthread.php?t=3665)

SilverDragonTears 05-02-2012 11:06 PM

Level 0 alt image
 
[s]I imagine this is the part I need to edit
Code:

                        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.[/s]

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

Code:

                                $image = getcurrentimage($id);
Doesn't show the alt image. I've tried joining the tables but not working :/


All times are GMT -5. The time now is 09:54 PM.

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