UPDATES EasyBlog 6.0.18 Released! Update to the latest version

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Field type "file"

Fagault Eric · ·
2:05 PM Wednesday, 18 October 2017
None
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
The replies under this section are restricted to logged in users or users with an active subscription with us