euel Posted December 14, 2011 Share Posted December 14, 2011 Hi, good pm masters! So i have this code <td><img src="images/layout/<?php echo base64_decode($_GET['layout']); ?>" width="50%" height="50%" /></td> $_GET['layout'] is encoded that's y i have a decode there, the image name will then be combined to the src like this -> image/layout/1.jpg.. when i view the source the src is correct but it doest show the image.. cant seem to find whats wrong.. my folder structure is sandbox>images>layout>file.jpg the php file (where the code above is) inside the sandbox. sorry if am i missing something sooo eaasy.. i was doin alot of coding this morning until now so i don't know what to think anymore.. Quote Link to comment https://forums.phpfreaks.com/topic/253149-img-src-cant-figure-it-out/ Share on other sites More sharing options...
euel Posted December 14, 2011 Author Share Posted December 14, 2011 imm a cry ryt now.... sooo embarassed.. :-[ .png (not .jpg) where's the delete post button? where's the delete post button? cant find it.. mark it as solved instead.. hehehe Quote Link to comment https://forums.phpfreaks.com/topic/253149-img-src-cant-figure-it-out/#findComment-1297782 Share on other sites More sharing options...
Drongo_III Posted December 14, 2011 Share Posted December 14, 2011 I think we should all reply regularly to make sure it stays at the top of the list Glad its not just me that makes these mistakes haha Quote Link to comment https://forums.phpfreaks.com/topic/253149-img-src-cant-figure-it-out/#findComment-1297783 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.