height and width of image loaded into blob?
victorpJun 23 2006 — edited Jun 23 2006i am loading images into my database which is all working fine. in parts of my app i am displaying these images so i am wondering is there a way to get the dimensions (height an width) of the image you are loading in so that when it comes time to display you can scale as needed but the aspect ratio is the same so then the image is not distorted by just putting some random values for height and width.
<br><br>
eg
instead of
<br><br>
select decode(file_type,'I','<imge src="OWNER.download_file?p_file=' || nvl(file_id,0) ||'" height="100" width="100" />','') from project_file
where file_id = :P31_FILE_ID
<br><br>
i want to replace 100 with values from columns in table that were loaded at time of save
Message was edited by:
victorp