By Fagault Eric on Wednesday, 18 October 2017
Posted in General
Replies 5
Likes 0
Views 453
Votes 0
Hello,
My question is a bit out of context, but I will need your opinion.

I am developing a "Market Place" extension for my EasySocial site.
It works fine, however, I can not limit the sending of image to JPG format..
I try to use: accept = "image: jpg",
in:
<field name = "photoprincipal" type = "file" label = "COM_ESOFFERS_FORM_LBL_ANNONCE_PHOTOPRINCIPALE" description = "COM_ESOFFERS_FORM_DESC_ANNONCE_PHOTOPRINCIPALE" hint = "COM_ESOFFERS_FORM_LBL_ANNONCE_PHOTOPRINCIPALE" accept = "image / jpeg" >

Would you have an idea for limited sending it to a jpg format?

Best regards.

Eric
Hm, where are you defining this?
·
Wednesday, 18 October 2017 14:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
In a component I develop to work with EasySocial.
Best regards.
Eric
·
Wednesday, 18 October 2017 16:04
·
0 Likes
·
0 Votes
·
0 Comments
·
You could try to take a look at Joomla's documentation here, https://docs.joomla.org/Special:MyLanguage/File_form_field_type
·
Wednesday, 18 October 2017 16:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
Thank you very much.
It is actually of the doc JOOMLA that I use.
But I did not find a conclusive answer to my question.
I keep looking and trying to solve my problem.
Best regards.
Eric
·
Wednesday, 18 October 2017 16:36
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem
·
Wednesday, 18 October 2017 16:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post