Fixing aspect ratio from PHP that stretches thumbnails

images php coding issues or problems here.

Moderators: macek, egami, gesf

Ezekiel
New php-forum User
New php-forum User
Posts: 1
Joined: Sat Nov 05, 2011 3:20 pm

Fixing aspect ratio from PHP that stretches thumbnails

Postby Ezekiel » Sat Nov 05, 2011 3:25 pm

Hi,

I'm using a cms that allows the user to upload images into a gallery that uses slimbox. The problem I'm having is that the images are stretched/squashed in the thumbnails, rather than cropped (or just showing the relevant part).

The offending gallery can be seen here, and the javascript for it can be seen here. Is there any easy way - hopefully by adding a small but of PHP - that I can make the thumbnails look better?

Thanks in advance.

Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 1 guest

cron