robvas
11-14-2006, 02:52 PM
Can you guys do anything about when people post a 1500 or 2000 pixel wide image? Temporary ban the user or something? Christ
THUMBNAILS PEOPLE
THUMBNAILS PEOPLE
|
||
Giant imagesrobvas 11-14-2006, 02:52 PM Can you guys do anything about when people post a 1500 or 2000 pixel wide image? Temporary ban the user or something? Christ THUMBNAILS PEOPLE Bayer-Z28 11-15-2006, 03:43 PM I agree. The overly large images get to me also. I do 640x480 or less. shock6906 11-16-2006, 07:50 PM I can understand large pictures if you're showing something that warrants it, but you can just as easily use a thumbnail or just post a link to the picture. If it's just a picture of your car though, make it fit the page! JasonD 11-17-2006, 07:10 PM Okay, I found a simple fix for this. http://web.camaross.com/forums/showthread.php?t=485236 Note post #3. The shark image is automatically resized to fit the screen if it is 700 pixels wide or more. If there are any errors/bugs/weirdness that you notice that wasn't there before I made this change at roughly the time of this post, please let me know by posting here. If you do, it is important that you include your browser and version info. Thanks. JakeRobb 11-17-2006, 07:12 PM In Safari on the Mac, the Shark picture is all distorted (squeezed horizontally to 700px, but the original size vertically). JasonD 11-17-2006, 07:19 PM In Safari on the Mac, the Shark picture is all distorted (squeezed horizontally to 700px, but the original size vertically). Ugh...that one I might not be able to help. Just fired you a PM... JakeRobb 11-17-2006, 08:10 PM Ugh...that one I might not be able to help. Just fired you a PM... Responded. The image on the page you linked is still all squished. I've seen this problem before. The only way I know of that works in most browsers is a client-side (JavaScript) solution. Are you able to add JavaScript functions that run on page load? JasonD 11-17-2006, 08:14 PM Responded. The image on the page you linked is still all squished. I've seen this problem before. The only way I know of that works in most browsers is a client-side (JavaScript) solution. Are you able to add JavaScript functions that run on page load? Yes, I could, but I don't want to since it will load with every page, regardless if there is an image to resize or not. The method I used is CSS and seems to be very lightweight. I will keep trying. JakeRobb 11-17-2006, 08:25 PM I just threw something together that works on Safari and Firefox 2.0 on the Mac. Give this a shot and let me know if it works or doesn't work in any other browsers. http://homepage.mac.com/jakerobb/camaro/cz28ImageResizer.html It should appear like the individual post with the shark from the other thread. The image will be big at first, but it should resize as soon as the page finishes loading. JakeRobb 11-17-2006, 08:30 PM Yes, I could, but I don't want to since it will load with every page, regardless if there is an image to resize or not. What exactly is your concern with running the script on every page? If there are no images to resize, the script is fast and pretty much transparent, so it shouldn't matter to the end user. Or are you concerned about server traffic? You'd be adding maybe 100 bytes to each page you serve. I could trim it down a bit smaller... | ||