NSW42 Posted January 14, 2008 Share Posted January 14, 2008 Heya, wonder if someone could help me out with a piece of coding, so when users views a profile they can click on the picture in the profile and it enlarges to its original viewing size, coding is below in a set size now. many thanks... if ($row[pro_pic] != $null) { print(" <img src=$row[pro_pic] width=200 height=200> Quote Link to comment Share on other sites More sharing options...
dooper3 Posted January 14, 2008 Share Posted January 14, 2008 So do you want it to enlarge within the same page, or go to a new page which only shows the image full size with a link back to the person's profile or what? Quote Link to comment Share on other sites More sharing options...
NSW42 Posted January 14, 2008 Author Share Posted January 14, 2008 either way is fine to me, thanks Quote Link to comment Share on other sites More sharing options...
NSW42 Posted January 15, 2008 Author Share Posted January 15, 2008 heya, ive kinda managed 99% do this, it opens a new page with the original pic size, but I have 1 little hiccup, the actual profile pic size wont stay at what its set at 200x200 it shows the origianl size as well, coding is below, many thanks if someone could help out.... <a href=$row[pro_pic] width=200 height=200><img src=$row[pro_pic]></a> Quote Link to comment Share on other sites More sharing options...
NSW42 Posted January 15, 2008 Author Share Posted January 15, 2008 heya, ive kinda managed 99% do this, it opens a new page with the original pic size, but I have 1 little hiccup, the actual profile pic size wont stay at what its set at 200x200 it shows the origianl size as well, coding is below, many thanks if someone could help out.... <a href=$row[pro_pic] width=200 height=200><img src=$row[pro_pic]></a> oops i had it backwards <a href=$row[pro_pic]><img src=$row[pro_pic] width=200 height=200></a> Quote Link to comment 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.