3215 Posts in 848 Topics by 811 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 506 Views |
-
How to resize only big images? [snippet won't work]

28 August 2011 at 1:05pm
Hi,
i found this http://www.ssbits.com/tutorials/2011/improving-image-quality-by-preventing-correctly-sized-images-being-resized/ snippet but it won't work :/so is there any other possibility to prevent correctly sized images being resized?
While using the searchfunction i found something about the gd functions. but i don't understand them :/
can someone help me?
-
Re: How to resize only big images? [snippet won't work]

29 September 2011 at 8:34am
If the images are sized correctly, you should be calling them form the template using $Image with no dot functions (.SetWidth etc). Now if you're unsure if you're users will provide correct images you can always create a new function that checks the image size and only resize if its bigger than a specific size.
| 506 Views | ||
|
Page:
1
|
Go to Top |


