Batfastad Posted July 1, 2004 Share Posted July 1, 2004 I have a database file containing a few fairly high resolution images. I want to display these on the web using CDML. Is there a way I can resize these images automatically before they're sent to the browser? I could resize them once they're on the page by specifying the width and height attributes in the img HTML tag, but this still means a 1MB jpeg is downloaded by the client. Has anyone found a solution to this problem? Thanks Link to comment Share on other sites More sharing options...
Garry Claridge Posted July 1, 2004 Share Posted July 1, 2004 Maybe PHP. Good Luck. Garry Link to comment Share on other sites More sharing options...
Steve T. Posted July 2, 2004 Share Posted July 2, 2004 Hmm.. even if you get it to work, I'd recommend pre-sizing them all so the same image does not have to be re-sized on-the-fly each time it is requested. There must be lots of thumbnail-type strategies out there. You may want to check Jeff Spall posts... I think I remember him working with images and may have used php to do it. --ST Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7092 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now