Customizing SMF > Mod Requests

resize too large images

(1/6) > >>

Seph|roth:
for the sake of readability...

i would like to see that images that are too large are automatically resized to fit. When a user clicks on the pic, the full-sized one is opened in a new window.

Like on this forum: http://forum.fok.nl
An example: http://forum.fok.nl/showtopic.php/385635

Bouminok:
Seems a good idea... for a few minutes I thought you meant avatar images, since my knowledge of dutch is non-existant.

I like it, save a massive scroll horizontally to see a full image.

Shoeb Omar:
Umm... not sure if you can do this with PHP, but you would need to find out whether the image is under the size proportions and if it is, don't resize it, but if it isn't resize it.  Get my drift?

Anyway, I think you'd probably need somethign like Imagemagick installed for this, but as I sad I don't know :).

Seph|roth:
imagemagick... or GD, which is pretty common nowadays... most hosts have it installed.

Shoeb Omar:
GD can be used for image manipulation?  I always though ti was for image creation heh.

Navigation

[0] Message Index

[#] Next page

Go to full version