<p>Fixed in Preparse Plugin v 1.0.3.</p>

<p>View changelog at: <a href="https://github.com/aelvan/Preparse-Field-Craft/blob/craft3/CHANGELOG.md#103---2018-10-24" rel="nofollow noreferrer">https://github.com/aelvan/Preparse-Field-Craft/blob/craft3/CHANGELOG.md#103---2018-10-24</a></p>

CC BY-SA 4.0
2018-10-24T19:36:40.877Z
2018-10-24T19:36:40.877Z
Andrea DeMers
<p>I'm not sure if the issue is with Craft 3, the Preparse plugin, or me, so I'm posting here first. </p>

<p>I have a front-end form that includes an Assets field used to upload images. The entry type contains Preparse fields.</p>

<p>When the Preparse plugin is enabled and I submit the front-end form with an image, I get this error:</p>

<pre><code>Image Exception – craft\errors\ImageException
The file "assets5bcf19ef8f6bc6.04658934.jpg" does not appear to be an image.
</code></pre>

<p>Screenshot with more details: <a href="https://cl.ly/edfbc0c07bde" rel="nofollow noreferrer">https://cl.ly/edfbc0c07bde</a></p>

<p>The entry still gets created and the .jpg file is uploaded as expected.</p>

<p>I don't have any issues when creating entries via the CP.</p>

<p>If I disable the Preparse plugin and submit the front-end form, the error does not appear.</p>

<p>If I upload a .pdf file instead of a .jpg while the Preparse plugin is enabled, I don't get an error.</p>

<p>Therefore, it appears to be an issue with the Preparse plugin and image files in Craft 3 front-end forms (tested both .jpg &amp; .png).</p>

<p>How can I fix this?</p>

<assets><craft3><image><frontend-form>
How can I fix Image Exception error when uploading image via front-end form while Preparse plugin enabled?
# How can I fix Image Exception error when uploading image via front-end form while Preparse plugin enabled?

(Asked by: username_0 on 2018-10-23)

I'm not sure if the issue is with Craft 3, the Preparse plugin, or me, so I'm posting here first. 
I have a front-end form that includes an Assets field used to upload images. The entry type contains Preparse fields.
When the Preparse plugin is enabled and I submit the front-end form with an image, I get this error:
Image Exception – craft\errors\ImageException
The file "assets5bcf19ef8f6bc6.04658934.jpg" does not appear to be an image.

Screenshot with more details: https://cl.ly/edfbc0c07bde
The entry still gets created and the .jpg file is uploaded as expected.
I don't have any issues when creating entries via the CP.
If I disable the Preparse plugin and submit the front-end form, the error does not appear.
If I upload a .pdf file instead of a .jpg while the Preparse plugin is enabled, I don't get an error.
Therefore, it appears to be an issue with the Preparse plugin and image files in Craft 3 front-end forms (tested both .jpg & .png).
How can I fix this?

**Tags:** assets, craft3, image, frontend-form


---

## 1 answers

### Answer by username_0 on 2018-10-24. Score: 1 | Accepted answer

Fixed in Preparse Plugin v 1.0.3.

View changelog at: <https://github.com/aelvan/Preparse-Field-Craft/blob/craft3/CHANGELOG.md#103---2018-10-24>


---

