KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a div which is width:500px; and height:170px; The div contains a jquery slideshow which gets random images from my database and displays them. Problem is that the images are uploaded by users and can be any aspect-ratio / any size . I need the images to fit the div without being resized using style='height:x; width:x; Basically, I want all images to be displayed properly and in acutal quality. I don't want to restrict which sizes of images can be uploaded as they as displayed in other parts of the site in full size/quality. Can any provide a solution?
Tags (comma-separated)
Save Edits
Cancel