Fieldtype

Developer
Supported

Expresso

ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

Removing the Preview box in the image upload option

Support (Resolved)

CRE8
CRE8

I am just wondering if there was a way to remove the preview box within the “Image Upload” area in the Expresso Kitchen sink. As it displays the fake text when you upload an image but it doesnt show in the editor.

I have attached a screenshot of what I mean.

Thanks
Jordan

PutYourLightsOn
# 1
Developer
PutYourLightsOn

Hi Jordan, can’t see your attachment…

CRE8
# 2
CRE8

Hi,

It is giving me this mesage when i try to upload the image:

Error Message:  We are unable to accept file attachments at this time

The image is ony 112kb?

Thanks
Jordan

PutYourLightsOn
# 3
Developer
PutYourLightsOn

You’ll have to contact devot-ee about problems with uploading images… in the meantime you can email it to us at info@putyourlightson.net

CRE8
# 4
CRE8

Thank you for that.

I have also emailed you the screenshot to the email address above.

Thanks
Jordan

PutYourLightsOn
# 5
Developer
PutYourLightsOn

Hi Jordan, you can achieve this by adding the following line to the themes/user/expresso/javascript/expresso.js file, insert it after line 8:

image_previewText' '

We’ll add this by default to the next release.

CRE8
# 6
CRE8

Hi there,

Thank you for looking into this for me.

I have inserted the code above and the “fake text” has been removed.

Thanks again.
Jordan

PutYourLightsOn
# 7
Developer
PutYourLightsOn

We’ve added this by default in Expresso 4.2.7.