Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

Fixing aspect ratio from PHP that stretches thumbnails

images php coding issues or problems here.

Moderators: macek, egami, gesf

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.
Ezekiel
New php-forum User
New php-forum User
 
Posts: 1
Joined: Sat Nov 05, 2011 3:20 pm

Return to PHP coding => Images

Who is online

Users browsing this forum: Google [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron