Hello, I was wondering if there would be a way I could place an image without it overflowing. So say if there is images within each table cell in a row where each cell is 25 x 25, and the image is 50 x 50, I want to place the 50 x 50 image at full size within each cell, without the image overflowing into the next cell, while keeping each cell 25 x 25.
I guess I didn't explain this too well, the reasoning behind this is, that some images are too narrow when they get scaled down, so I want to place the big image so that problem doesn't occur. e.g. say you have an image that is 30x90, and one that is 50x50. When you place the images in the 25x25 cell, and have them fit proportions, the 30x90 one won't fill out completely on the side, but the 50 x 50 one will.
Well let's say you have an image that is 500 x 500 pixels right? And then let's say you only want to display 100 x 100 pixels of it, but you want it to be only part of the image that is displayed so the 100 x 100 part being displayed is only a section of the image, not the entire thing. So in essence you are only displaying a cropped part of the image. The thing is I can't just crop single images, since they are being dynamically pulled out from a directory by php. Make sense now?
mmm i think there's no solution to fit all of your image in 25x25 cell (because your images not all in square). If you push it that way you can set default value for height or width in your php script. But i think its better to make image thumbnails to fit in your cell (just like midimagic said)