How can i check an image's size before displaying it and according to it's image resize it...
What i want to do is:
I have a table, lets say with 300 pixels width.
I want to display an image inside this table but i need to know if it's bigger tha 300pixels width, it must then displayed with a fixed 300pixels and not more...
If it's smaller than 300 pixels, then it can displayed without forcing (changing) it's width to 300pixels...
Thanx in advance,
Dimitris
What i want to do is:
I have a table, lets say with 300 pixels width.
I want to display an image inside this table but i need to know if it's bigger tha 300pixels width, it must then displayed with a fixed 300pixels and not more...
If it's smaller than 300 pixels, then it can displayed without forcing (changing) it's width to 300pixels...
Thanx in advance,
Dimitris