Thread: Only 2?
View Single Post
  #22  
Old 04-27-2009, 05:38 PM
gjac1 gjac1 is offline
Member
 
Join Date: Feb 2009
Posts: 101
Credits: 8,892
gjac1
Default RE: Only 2?

I have created a new table called "adopts_alts" , the structure of this table is just a single field called "alturl" , Type : varchar(120)

I have already added 10 alternate image locations, the part at where i am stuck now is where to edit in the functions.php file, i have found where the alternate image is :

PHP Code:
// If alternate images are enabled and an alternate image exists, use it

        
if($usealternates == "yes" and $alternateimage != ""){

        
$image $alternateimage// Use the alternate image

        
}
        else{

        
$image $primaryimage// Set the image equal to the primary image for the level

        

Thanks for all your help :)
Reply With Quote