Jump to content

Can't get my graphic to show up - I know the error just don't know how to fix it


Recommended Posts

Hey folks,

 

I purchased a Groupon script from eBay as I have 0 coding knowledge.  What I quickly learned was how poorly this code was written (told to me by a few people).

 

Anyways, the graphic won't show up that I have uploaded.  Here is what the page source looks like:

<div class="deal-buy-cover-img" id="team_images">

 

 

<img src="http://anotherbigdeal.comhttp://anotherbigdeal.com/static/team/2011/0616/13082451228019.jpg" width="440" height="280" />

 

 

</div>

 

And here is what the code says:

 

</div>

 

                <div class="side">

 

                    <div class="deal-buy-cover-img" id="team_images">

 

<!--{if $team['image1']||$team['image2']}-->

 

<div class="mid">

 

<ul>

 

<li class="first"><img src="${team_image($team['image'])}"/></li>

 

<!--{if $team['image1']}-->

 

<li><img src="${team_image($team['image1'])}"/></li>

 

<!--{/if}-->

 

<!--{if $team['image2']}-->

 

<li><img src="${team_image($team['image2'])}"/></li>

 

<!--{/if}-->

 

</ul>

 

<div id="img_list">

 

<a ref="1" class="active">1</a>

 

<!--${$imageindex=1;}-->

 

<!--{if $team['image1']}-->

 

<a ref="${++$imageindex}" >{$imageindex}</a>

 

<!--{/if}-->

 

<!--{if $team['image2']}-->

 

<a ref="${++$imageindex}" >{$imageindex}</a>

 

<!--{/if}-->

 

</div>

 

</div>

 

<!--{else}-->

 

<img src="${team_image($team['image'])}" width="440" height="280" />

 

<!--{/if}-->

 

</div>

 

Any help would be amazing!!!  Thanks so much for a newb with no coding ability.

Does your script have a configuration file you had to setup?  I'm assuming it does.  This is not a coding question, it's a question of what you did to set this script up to run. 

 

The url for the image is broken:  13082451228019.jpg

 

Notice that your domain is in there 2x.  This is why it doesn't work.  So my assumption is that the script generates that url, and it already is adding the domain and then adds it again. 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.