Thread: Mys 1.3.4 Abron's Background Mod
View Single Post
  #15  
Old 05-04-2017, 10:01 AM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 111,764
Abronsyth is on a distinguished road
Default

Alright, so it's failing to call the background URL. What should the URL appear as for that adoptable?

Okay, so this is what I have for my site:
PHP Code:
<td style='background-image:url({$adopt->background});background-repeat: no-repeat;background-position:center;border-top:1px #000 solid;border-bottom:1px #000 solid;vertical-align:bottom;height:155px;'><img src='{$adopt->getImage()}'></td
Try replacing style='background:{$adopt->adoptbackground} no-repeat;vertical-align:bottom;text-align:center;width:100px;height:400px' with this:
PHP Code:
style='background-image:url({$adopt->background});background-repeat: no-repeat;background-position:center;vertical-align:bottom;height:400px;width:100px;' 
__________________
My Mods Site (1.3.4, 2020 Mods)

Last edited by Abronsyth; 05-04-2017 at 10:05 AM.
Reply With Quote