Level 0 alt image

Forum
Last Post
Threads / Messages

SilverDragonTears

I am your Nemesis.
Premium Member
Joined
Jun 1, 2011
Messages
1,113
Points
36
Mysidian Dollar
51,802
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.


Apparently the moment I post things I end up solving them >.<
 
Last edited:
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.
 
I do. Everytime. For hours I try. Then I post and I always figure it out right after I post >.<
 
Code:
				$image = getcurrentimage($id);
Doesn't show the alt image. I've tried joining the tables but not working :/
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,122
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top