Question
displaying images at a fraction of the size
This may not be a coldfusion question but I'm going to ask it
here anyway because cfml developers are the smartest. :)
I have a table that stores images paths and in my cfm file I pull the path and display the image. What I want to do is take that image and display it at a fraction of the size without harcoding the height and width parts of the img tag. Can I do this? Is there a way to detect the width and height of an image before displaying it?
Thanks
I have a table that stores images paths and in my cfm file I pull the path and display the image. What I want to do is take that image and display it at a fraction of the size without harcoding the height and width parts of the img tag. Can I do this? Is there a way to detect the width and height of an image before displaying it?
Thanks
