Bigger Portrait Photo

1 message Options
Embed this post
Permalink
kreativfelix () Bigger Portrait Photo
Reply Threaded More More options
Print post
Permalink
Hola.
I would like to upload a bigger Member Portrait.

I can change the member_search_results Template:

Under the div class="card"
...
...

                   img src="defaultUser.gif"
                         alt=""
                         border="0"
                         width="150"
                         height="200"
                         tal:attributes="src portrait/absolute_url" />
                    <br />

And also the personalize_form

div class="field"
                             tal:define="portrait python:mtool.getPersonalPortrait(member.getId());">

                            <label for="portrait" i18n:translate="label_portrait">Portrait</label>

                            <img src="" alt=""
                                 height="200"
                                 width="150"
                                 class="portraitPhoto"
                                 style="float: right;"
                                 tal:condition="portrait"
                                 tal:attributes="src portrait/absolute_url"
                                 /

But looks like the Plone does not upload the whole image, but a little copy 75px 100px.
Where can i change the settings of the Member portrait?