• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Web Images

Ward_214

Pro PvP
Joined
Dec 11, 2008
Messages
297
Reaction score
0
When I add "Shop Offer" on my website, the item images do not appear. I have checked in image files and they ARE there.. With the correct ID.

aaacfff.jpg
 
Go in the images folder inside it will have a folder named items copy paste it into the htdocs folder along with the others and renames it to item_images and modify images gif jpg ready for
 
In shop system change this line
PHP:
$main_content .= '<tr bgcolor="#F1E0C6"><td align="center"><img src="item_images/'.$item['id'].'.jpg"></td><td><b>'.$item['name'].'</b> ('.$item['points'].' points)<br />'.$item['description'].'</td><td align="center">';
to
PHP:
$main_content .= '<tr bgcolor="#F1E0C6"><td align="center"><img src="item_images/'.$item['id'].'.gif"></td><td><b>'.$item['name'].'</b> ('.$item['points'].' points)<br />'.$item['description'].'</td><td align="center">';
line ~175

Rep++
 
EDIT:

I copied Items file into htdocs, and took out the ones in the Images folder. Renamed it item_images.. and restarted Xampp.. Now I get this:

Untitledfgfgfg.jpg
 
Last edited:
That doesn't even make since.. If you change to whatever # ID it is, then the 1-whatever no item slots wont show up. Lol

Shouldn't the item show up by what "Item ID" you put in?
 
Back
Top