How would I make an image round, by using CGSmartImage?
There is a Rounded Corners Filter. So I am sure it will work, but it doesn't specify how to apply the filter.
Any help would be appreciated.
Thanks
Matthew
Making a circular image using CGSmartImage
-
- Forum Members
- Posts: 41
- Joined: Sat Sep 15, 2012 9:12 pm
- PinkElephant
- Forum Members
- Posts: 173
- Joined: Fri Feb 06, 2009 2:08 pm
Re: Making a circular image using CGSmartImage
Hi,
Looking at the module Help, the simplest way is to include the filter in the call, e.g:
If it doesn't work, let us know exactly what you've tried.
Looking at the module Help, the simplest way is to include the filter in the call, e.g:
Code: Select all
{CGSmartImage src="uploads/images/test.jpg" filter_roundedcorners=40}
Re: Making a circular image using CGSmartImage
Don't forget you can just use CSS to display a round image. Bootstrap just uses:
that might be easier if you don't know the dimensions of your image.
Code: Select all
.img-circle {
border-radius: 50%;
}
Re: Making a circular image using CGSmartImage
https://www.cmscanbesimple.org/blog/get ... -in-smartyscooper wrote:...if you don't know the dimensions of your image
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -