doddsey_65 Posted October 4, 2010 Share Posted October 4, 2010 up until yesterday everything was fine, but now all of my icons are displaying at 10 times the size they originally are. This can only be fixed by defining width and height of them via css but i never had to do this before. Is this something to do with php? heres an eample line of code for an image i am using: echo "<img src=\"{$site_root}/avatars/{$posts_info->user_avatar}\"/>"; any ideas why this is happening? that image is just an example btw. the same thing happens with icons that are 7x7. Quote Link to comment https://forums.phpfreaks.com/topic/215171-image-troubles/ Share on other sites More sharing options...
milesap Posted October 5, 2010 Share Posted October 5, 2010 Nothing to do with PHP, unless they are being created by PHP which is unlikely. This is an HTML CSS issue. Quote Link to comment https://forums.phpfreaks.com/topic/215171-image-troubles/#findComment-1119123 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.