alanl1 Posted May 16, 2013 Share Posted May 16, 2013 Hi Professionals I have the following code which has taken ages to get right. echo "<td><a href=" . $imagedir .">" ."<img src=" . $imagedir ."{$row['actual_image']} "."width=85 hight=50 border=0></img></a></td>"; this basically echos out the dirctory folder with the link to the image name as an href what I want to do is be able to allow the user to make this bigger when clicked so it is readable is this possible Quote Link to comment Share on other sites More sharing options...
requinix Posted May 16, 2013 Share Posted May 16, 2013 When clicked? But it's a link, it'll send them to another page when they click it... Quote Link to comment Share on other sites More sharing options...
Solution Dathremar Posted May 16, 2013 Solution Share Posted May 16, 2013 (edited) Yes you can, but not with php, You will need javascript for doing that. To set an event on that link and do what you want to do. Edited May 16, 2013 by Dathremar 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.