
April 6th, 2007
03:04 PM
I hate Customer Services!
Status: Offline!
PHP/ image size resolution dependant.
I have a tring ($resolution) that returns the user's resolution and I would like to use that to set a width for my pictures but am not quite sure how? Basically my work resolution is 1280x960 (this is the returned format) so when i check my gallery from work the pictures should appear at 800px wide for example, is ther any easy way to do this in PHP?
Thanks in advance
___________________
PHP Freak Wannabe!

April 6th, 2007
04:50 PM
I hate Customer Services!
Status: Offline!
sorry to be a bit slow but would you be able to explain what the code does and how it works?
Thanks
___________________
PHP Freak Wannabe!

April 8th, 2007
01:48 PM
I hate Customer Services!
Status: Offline!
Ok that is getting close to what i need, the only prblem is now i need to reduce the size of the images, for example if the resolution was 1280x960 then the widh of the image would need to be about 800px max! like your code and explanation, should come in handy for some over stuff I am doing!
___________________
PHP Freak Wannabe!