Images appear problem

Started on the old forum in September 2010 · view the original in the archive · old links redirect here

8 replies · 616 views · started 16 years ago · 1 min read

4 participants
rayjee Developer · 99 posts #1

Hello coders! I Already creat a new uploader image and its ok n0w w/o GD. . But i cant fix my 2nd pr0blem , , ,. About image appearing like my avatars,albums,tamagotchi image by level etc.. I dun0 if i delete s0mething php.. Bcuz Only box object appears. I think this code img src is the problem and how to fix it . . Thank you-->

for tamagotchi $img = "<img src="p.php?pid=$item[1]&sid=$sid" alt="$item[0]"/> ";

avatar $uid =$item[0]; $avlink = getavatar($uid); if($avlink=="") { echo "<img src="imgs.php?src=../images/avatar.jpg&r=45" alt="x"/> "; }else{ echo "<img src="imgs.php?src=$avlink&r=45"/> "; }

and dis smile code img src is ok <img src="/smilies/thumbup.gif" alt="yg"/>";

robzky Developer · 205 posts #2

try to chmod 777 all folders of your images.

LESS TALK. LESS MISTAKE.

HTTP://APPSROB.COM - LIST OF MY FACEBOOK APPS!

subzero Super moderator Fellow · 3,954 posts #4

Image magic will only work if using phpthumb or reg golbals on

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

wapmetal Lead · 609 posts #6

phpthumb do not support my server, as i already told you

for the mean time just edit the code

$uid =$item[0]; $avlink = getavatar($uid); if($avlink=="") { echo "<img src="../images/avatar.jpg" height="100" width="100" alt="x"/> "; }else{ echo "<img src="$avlink" height="100" width="100" alt="photo"/> "; }

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close