html - Display an image to be a certain size in PHP -


i have number of different image urls in database, of varying dimensions. when display web page in php, how can display image , have fixed dimensions?

using both fixed height , width stretch image. use 1 height or width in img tag or use css height or width zoom image fixed dimension.

1.) use either height or width in img tag in html 2.) use css either height or 3.) resize image proportionately using image resize in php. image resize can use 3rd party class. eg. suggested above.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -