2011-09-26, 11:02 PM
I was wondering what the best way would be to make a MyCode that allows members to set custom dimensions for their images. So for instance...
[img=300x300]www.blah.com/image.jpg[/img]
This would display image.jpg as 300x300. Any ideas? If anyone could make this I'd be most grateful. And I'm not looking for any kind of lightbox or clicking the image to view full size. Just a simple resize of the image.
Edit: Alternatively, a code to set just the max height or max width would be interesting as well. They'd retain their aspect ratio this way. [imgh] for height, [imgw] for width. Cheers.
[img=300x300]www.blah.com/image.jpg[/img]
This would display image.jpg as 300x300. Any ideas? If anyone could make this I'd be most grateful. And I'm not looking for any kind of lightbox or clicking the image to view full size. Just a simple resize of the image.
Edit: Alternatively, a code to set just the max height or max width would be interesting as well. They'd retain their aspect ratio this way. [imgh] for height, [imgw] for width. Cheers.