<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Affiliate URL doesn't show site picture correctly? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Affiliate URL doesn't show site picture correctly?
#1635
webking (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:Affiliate URL doesn't show site picture correctly? 11 Months, 4 Weeks ago Karma: 0  
Oh one more thing before I close this post. I would like to see the same picture in the feature link. Originally, I m not sure if the feature links have picture but would like to have pictures whether automatic or manually uploaded.

Any advise would be appreciated. Thank you.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1636
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Affiliate URL doesn't show site picture correctly? 11 Months, 3 Weeks ago Karma: 9  
Yes, actually it does do that. so instead of sitepics, upload your images to ./images/featured/ and change ./sitepics/ to
./images/featured/ in the code you added
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1652
webking (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:Affiliate URL doesn't show site picture correctly? 11 Months, 2 Weeks ago Karma: 0  
Well, the site review section actually only shows the uploaded photo to /images/featured/ID.jpg but it won't show any pic if you don't upload it. Wouldn't it also show thumbnail like regular listing though?

What I m trying to accomplish is to have the feature and review area to show thumbnail and or siteID pic uploaded if thumbnail does not work. I m trying the code and it seems that I m not doing it right.

In the review_inc.php line around 79, I have the following code.

Code:

$html .= "</ul></td>"; if (file_exists("./sitepic/$SiteID.jpg")){ $html .= "<td><table cellpadding=3><tr><td align=center valign=center class=whatText> <a target=_blank href=./out.php?ID=$SiteID> <img border=0 src=./sitepic/$SiteID.jpg alt=\"" . strtoupper($get_sites[1]) . "\"> </a></td></tr></table></td>"; } else { $html .="<img border=\"0\" align=\"top\" src=http://open.thumbshots.org/image.pxf?url=". urlencode($sites_array["site_url"]) ."></a></td><td valign=\"top\" class=\"" . $cell_color . "\">"; }
Basically I just added the else there to see if I see any pic from thumbshots. It does not show correctly. I know I need to work on that a little bit more but I don't know anyting else . Any help would be appreciated. Thank you.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008