More image stuff

    Date: 05/06/06 (PHP Community)    Keywords: php

    I have more questions about image resizing & stuff in PHP, following this post.

    1. How can I tell the script only to resize to 500px in width if it's bigger in width than 500px? Means it should NOT increase smaller pictures in size.

    2. How can I make a "crop" from an image? I'd like all the thumbnails to be 100x75 pixels, but they should neither be distorted, stretched or squashed, nor should they be more in height than 75px. Is that possible?

    Thanks :)

    Source: http://community.livejournal.com/php/448260.html

« moving host woes || get username from .htaccess... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home