frontenduser image property

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
olumide
Forum Members
Forum Members
Posts: 108
Joined: Mon Mar 21, 2011 10:26 am

frontenduser image property

Post by olumide »

Please can anyone help, i have created a image property in frontenduser which works fine, but is it possible to display it on screen on the change settings in a particular width and height and not used its original size?
farangprod
Forum Members
Forum Members
Posts: 15
Joined: Tue Nov 01, 2011 2:56 pm

Re: frontenduser image property

Post by farangprod »

I used to do it with CGSmartimage
Here is the code i use:

Code: Select all

{capture assign="photo"}{$entry->file_location}/{$entry->fields.image1->value}{/capture}
{CGSmartImage src=$photo filter_resize='h,300'}
mcDavid
Power Poster
Power Poster
Posts: 377
Joined: Tue Mar 31, 2009 8:45 pm
Location: Delft, Netherlands

Re: frontenduser image property

Post by mcDavid »

Code: Select all

{cgsi_convert}{$control->image}{/cgsi_convert}
this should work too, you can set a max_height and/or max_width in the cgsi_convert tag.
Post Reply

Return to “Modules/Add-Ons”