Please write to django-users, this mailing list is for the development of 
Django itself.

On Wednesday, October 14, 2015 at 10:32:55 AM UTC-7, Rosangela Oliveira 
wrote:
>
> Hi,I need some help....
>
> I have a problem when I try to upload the image in a  django project, it's 
> open the windows to upload the image twice.
>
> in HTML I did:
>
> <div class="col-md-10">
>    <input type="image" 
> src="http://shackmanlab.org/wp-content/uploads/2013/07/person-placeholder.jpg";
>  width='125px' height='125px'     style="float:left; margin-top:40px; 
> margin-bottom:10px; margin-right:30px"></input>
>    <input type="file" id="my_file" style="display: none;"/>
>     <font size="6" style="position:absolute; bottom:0">teste</font>
> </div>
>
>
>
> in controller
>
> }
>     $("input[type='image']").click(function () {
>         $("input[id='my_file']").click();
>     });
> }
>
>
> Thanks for helping
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/b1e40cb3-a345-4a5c-a9ae-cb5fe6090615%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to