• 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!

Solved Images(Shop) Znoteaac

Kurre Kurrson

New Member
Joined
Aug 11, 2010
Messages
125
Reaction score
3
Hey guys.

Ive got a little annyoing problem.

When I am setting up my shop the images are broken.

Code:
$config['shop'] = array(
        'enabled' => true,
        'useDB' => false, // Fetch offers from database, or the below config array
        'showImage' => true,
        'imageServer' => 'items.znote.eu',
this is the code and the website should get the images from "items.znote.eu" but it dosent, I guess the website is down. So how could I solve this in a simpel way?

Thanks in advance!

Simon
 
Create a new folder (shop_items) and download images (e.g crystal coin, save as 2160.gif)

Replace this in shop.php
PHP:
if ($config['shop']['showImage']) echo '<td><img src="http://'. $config['shop']['imageServer'] .'/'. $offers['itemid'] .'.'. $config['shop']['imageType'] .'" alt="img"></td>';
to
PHP:
if ($config['shop']['showImage']) echo '<td><img src="shop_items/'. $offers['itemid'] .'.'. $config['shop']['imageType'] .'" alt="img"></td>';
 
Last edited:
if ($config['shop']['showImage']) echo '<td><img src="http://'. $config['shop']['imageServer'] .'/'. $offers['itemid'] .'.'. $config['shop']['imageType'] .'" alt="img"></td>';

change it to shop_items or w/e you named the folder :p
 
Last edited:
Ive replaced the lines, made a folder named shop_items (in the same map as the shop.php is) downloaded a gif file and named it 2160.gif still the "picture" is broken!

So this is what my code looks like now:

Code:
if ($config['shop']['showImage']) echo '<td><img src="shop_items/'. $offers['itemid'] .'.'. $config['shop']['imageType'] .'" alt="img"></td>';
 
I got the same problem, and I think everyone does.
It's because items.znote.eu is down at the moment, but you could create a new folder with item images as I suggested in my previous posts.
 
Last edited by a moderator:
I can help you through TeamViewer if you have it installed on your computer.
 
I am also having a trouble with this. I pasted the command below and now all images show instead of the appropriate gif.
if ($config['shop']['showImage']) echo '<td><img src="shop_items/'. $offers['itemid'] .'.'. $config['shop']['imageType'] .'" alt="img"></td>';
 
Use the default configuration for shop images now when items.znote.eu is back online.
 
Back
Top