franchisestuff Posted June 17, 2011 Share Posted June 17, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/239600-cant-get-my-graphic-to-show-up-i-know-the-error-just-dont-know-how-to-fix-it/ Share on other sites More sharing options...
gizmola Posted June 17, 2011 Share Posted June 17, 2011 Looks to me like a config problem. Wherever you configure your image path, don't have the url to your website in there. Just the relative path to the images. Quote Link to comment https://forums.phpfreaks.com/topic/239600-cant-get-my-graphic-to-show-up-i-know-the-error-just-dont-know-how-to-fix-it/#findComment-1230847 Share on other sites More sharing options...
franchisestuff Posted June 17, 2011 Author Share Posted June 17, 2011 Hey, Thanks for the reply. I unfortunately do not know anything that you said as I have ZERO coding knowledge. Are you able to dumb it down for me? Thanks!! Quote Link to comment https://forums.phpfreaks.com/topic/239600-cant-get-my-graphic-to-show-up-i-know-the-error-just-dont-know-how-to-fix-it/#findComment-1230848 Share on other sites More sharing options...
gizmola Posted June 17, 2011 Share Posted June 17, 2011 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: 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. Quote Link to comment https://forums.phpfreaks.com/topic/239600-cant-get-my-graphic-to-show-up-i-know-the-error-just-dont-know-how-to-fix-it/#findComment-1231206 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.