liam1412 Posted March 31, 2007 Share Posted March 31, 2007 Hi I want users to be able to add images to there posts but I hate it when you have to scroll sideways on forum. And I mean HATE!!!!!!!!! Is it possible to check the size of an image on its way in from somewhere like photobucket etc???????? Muchos Grazias In advance. Ciao! Link to comment https://forums.phpfreaks.com/topic/45013-help-with-img-code-in-my-forum/ Share on other sites More sharing options...
genericnumber1 Posted March 31, 2007 Share Posted March 31, 2007 no, but you can add "overflow:hidden" to the css of the comment's div, so anything that goes over wont be shown. Link to comment https://forums.phpfreaks.com/topic/45013-help-with-img-code-in-my-forum/#findComment-218500 Share on other sites More sharing options...
liam1412 Posted March 31, 2007 Author Share Posted March 31, 2007 Nice one!!!!!! Will this also work wit tables as I have been naughty and wrote some of the site with tables including the forum layout. Thanks Link to comment https://forums.phpfreaks.com/topic/45013-help-with-img-code-in-my-forum/#findComment-218503 Share on other sites More sharing options...
desithugg Posted March 31, 2007 Share Posted March 31, 2007 umm go to google and type in php image manual and there are some functions that allow you to get the dimensions of images but I guess the hard part would be getting the from the post. Link to comment https://forums.phpfreaks.com/topic/45013-help-with-img-code-in-my-forum/#findComment-218523 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.