CalderaWP / Caldera-Forms

Drag and drop, responsive WordPress form builder.
https://CalderaForms.com
GNU General Public License v2.0
187 stars 163 forks source link

Cannot See Image Preview after Attaching image in Advanced File Fields Version 2.0 #3013

Closed swapnilmanjrekar closed 5 years ago

swapnilmanjrekar commented 5 years ago

Is This A Feature Request?

What Version Of Caldera Forms, WordPress and PHP Are You Using?

Does Your Issue Persist When You Disable All Other Plugins and Switch To The Default Theme?

What Is Unexpected Behaviour?

What PHP Errors Have You Logged While Reproducing This Bug?

What JavaScript Errors Have You Seen While Reproducing This Bug?

st3phan76 commented 5 years ago

Hi, if I'm right, there is no preview in this field-type ...

Shelob9 commented 5 years ago

@st3phan76 this related to the new file fields in Caldera Forms 1.8.0, which do support this.

Shelob9 commented 5 years ago

I was unable to reproduce this issue. @swapnilmanjrekar Please include steps to reproduce.

I created a form with a file field and enabled image preview: screen shot 2019-02-22 at 11 13 55 am

When I add a PNG file, I see the image preview.

New0 commented 5 years ago

@swapnilmanjrekar The preview is only for image type of files, was the test loading image files ? ( .png, .jpg...)

@Shelob9 This could be a point worth mentioning on the option, preview being for images file types only

swapnilmanjrekar commented 5 years ago

@Shelob9 @New0 I am not able to reproduce this issue now.

WordPress Version: 5.1PHP Version: 7.2.15MySQL Version: 5.5.5Caldera Forms Version: 1.8.0-rc.2WP_DEBUG:

New0 commented 5 years ago

Thank you @swapnilmanjrekar