Guest Posted August 6, 2006 Share Posted August 6, 2006 i created a blank page, and i want to insert graphics in it, like small thumbnail images with 1 px borders, and make an url that open the pic in a blank page or pop-up box to view it full size, or to make download something eg a zip file, or an mp3... i can only input text right now. i tried this: define('TEXT_INFORMATION', '</SPAN><A href="URL" target="blank"><SPAN style=><p align="center"><img height="0" src="images/music.jpg" width="0" border="0"></p></SPAN>'); and it didnt worked. i also tried the full url in the src ... can some1 help me plz? Quote Link to comment Share on other sites More sharing options...
trogette Posted August 6, 2006 Share Posted August 6, 2006 you might need to put \s before your "s Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2006 Share Posted August 6, 2006 the \ thing you talk about is when you input text to not have parse error. now i wanna make graphics appear in my page Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2006 Share Posted August 6, 2006 (edited) you have the image height and width set to 0 therfore you won't be able to see the image!! try define('TEXT_INFORMATION', '</SPAN><A href="URL" target="blank"><SPAN style=""><p align="center"><img height="100" src="images/music.jpg" width="1000" border="0"></p></SPAN></a>'); (note the addition of "" after span=) Edited August 6, 2006 by perfectpassion Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2006 Share Posted August 6, 2006 (edited) thanx it worked. how can i make the image open in a pop-up and a border of 1 px but with a color, not red, what would be the change/addition to the code you gave me? also, i tried to put like 2 images side to side, but it looks like the gotta be on top of each other, like i would like to put images from left to right. do you know how to make this work? thanks Edited August 6, 2006 by acebeatz Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2006 Share Posted August 6, 2006 no one else can forward this? Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2006 Share Posted August 6, 2006 cant nobody reply plz, this is really important, and its shouldnt be too complicated! Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2006 Share Posted August 6, 2006 plz someone Quote Link to comment Share on other sites More sharing options...
Guest Posted August 7, 2006 Share Posted August 7, 2006 plz someone answer me back Quote Link to comment Share on other sites More sharing options...
Guest Posted August 7, 2006 Share Posted August 7, 2006 (edited) to have more than one image side by side you need to move the <p> segments and just duplicate the rest of the code: define('TEXT_INFORMATION', '</SPAN><p align="center"><A href="URL" target="blank"><SPAN style=""><img height="100" src="images/music.jpg" width="1000" border="0"></SPAN></a><A href="URL2" target="blank"><SPAN style=""><img height="100" src="images/music2.jpg" width="1000" border="0"></SPAN></a><A href="URL3" target="blank"><SPAN style=""><img height="100" src="images/music3.jpg" width="1000" border="0"></SPAN></a></p>'); Please don't bump your posts! Edited August 7, 2006 by perfectpassion Quote Link to comment Share on other sites More sharing options...
Guest Posted August 8, 2006 Share Posted August 8, 2006 thx it worked. 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.