rajani Posted March 1, 2007 Share Posted March 1, 2007 hello i have one banner.Now i want add...that peticular banner width and height what is the image functions to specify that perticular banner height and width....... plese send me some code are some functions and how to add that code and where it can add. Link to comment https://forums.phpfreaks.com/topic/40687-image-width-and-height/ Share on other sites More sharing options...
trq Posted March 1, 2007 Share Posted March 1, 2007 Take a look at the gd library. Link to comment https://forums.phpfreaks.com/topic/40687-image-width-and-height/#findComment-196837 Share on other sites More sharing options...
Orio Posted March 1, 2007 Share Posted March 1, 2007 In the gd library you got the two functions: imagesx() & imagesy() Orio. Link to comment https://forums.phpfreaks.com/topic/40687-image-width-and-height/#findComment-196839 Share on other sites More sharing options...
ted_chou12 Posted March 1, 2007 Share Posted March 1, 2007 this one might help you: $imgsize = getimagesize($path_to_image); $width = $imgsize[0]; $height = $imgsize[1]; Link to comment https://forums.phpfreaks.com/topic/40687-image-width-and-height/#findComment-196848 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.