Skip Navigation

[Resolved] feature images are not uploading

This thread is resolved. Here is a description of the problem and solution.

Problem:
Feature image not uploading or working with CRED forms

Solution:
There are some special CRED shortcodes that control the basic functionality of every form. These shortcodes include:

[credform class='cred-form cred-keep-original'] – mandatory
[cred_field field='form_messages' value=''] – optional, used for rendering the validation messages
[cred_field field='form_submit' value='Submit' urlparam=] – mandatory (form cannot work without a submit button)
[/credform] – mandatory

You should not allowed to change the class for [credform] shortcode.

You can find proposed solution, in this case, with the following reply:
=> https://toolset.com/forums/topic/feature-images-are-not-uploading/#post-609770

Relevant Documentation:
=> https://toolset.com/documentation/user-guides/creating-cred-forms/#designing-the-cred-post-form

This support ticket is created 6 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 12 replies, has 2 voices.

Last updated by loriD 6 years, 11 months ago.

Assisted by: Minesh.

Author
Posts
#609099

I am trying to: to have images upload along with the forms I am using.

Link to a page where the issue can be seen: hidden link this is just one of the forms I have this feature on.

I expected to see: the images uploaded and available on the back end in the post.

Instead, I got: nothing

I am using a number of forms with images that need to be uploaded. I also tried to use the post fields image and is does the same thing.

#609197

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I do not able to see the form. I think I need access details in order to see the form.

But, before you grant me access:
1)
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?

2)
We always recommend to run your site with latest stable release plugin version.

*** Please make a FULL BACKUP of your database and website.***
Could you please update ALL Toolset plugins to it's latest official released version if you are using outdated Toolset plugins. You can download latest plugin release from your accounts page:
=> https://toolset.com/account/downloads/

I have set the next reply to private which means only you and I have access to it.

#609484

I just used tried the twenty seventeen theme, and still nothing. I am convinced it has something to do with coding conflicts. I see some Image items show bootstrap, some don't, neither work. I also found that your features are NOT compatible with avada's fushion builder so I typically don't use it. I am EXTREMELY disappointed with avada other than the header options. But I am unwilling to switch theme and most definitely not willing to pay for another theme unless I am guaranteed it will work for what I want and of course that isn't possible. Loading up images should be a foundation aspect of a website even from the front end. I do not buy into the theme issue since switching it didn't work. I am trying to launch this site (it is a new site, as I started over from my last one. I am trying to reduce these conflict so I don't have to spend so much time trouble shooting) it was supposed to launch January first, now I am hoping for February 1st. I don't have time to re-trouble shoot all over again. Yes I am frustrated. I am soooooo tired of getting pawned off on it's something elses fault. please fix this.

#609690

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

1:
It Ok with your current theme, I've just asked you to follow few basic debug steps that will help us to minimize the cause of the issue and that is why I ask you to disable non-toolset plugins and switch to default theme.

2.
Its Ok. You can use your current theme.

3.
We need to debug this, why images not uploaded. For that I need test site as to debug things on live site is not recommended. I suspect the access details you shared is of live site is that correct?

4.
Well - Toolset will play nicely with almost all the themes and plugins. You can use any theme of your choice but if you want to use Layouts with your theme, your theme should be Layouts compatible. Please find below our "recommended themes " page:
=> https://toolset.com/documentation/recommended-themes/
=> https://toolset.com/documentation/user-guides/develop-layouts-based-themes/

More info:
https://toolset.com/home/compatibility-toolset-plugins-themes/

5. It is 10:41 AM central standard time in the US. I know you are not available now. So I am putting my site back up so I can actually work on it today. You are allowed to disable or do what ever you need, I just suggest you maybe send me a heads up so I know that you need to have me off the site and I won't freak out. If I don't hear from you by the time I go to bed I will try to remember to disable everything back to where it is now.
==> I will start to debug the issue when you give me permission as I suspect its live site. Please advise.

#609711

my site is a redo of another site. when I started "over" my intention was to reduce as many conflicts as possible. Since toolset is THE core of my site I thought I would look into the layouts aspect. In the layouts documentation there is a list of themes that supposedly are intergrateable with layouts. of the list avada appeared to offer the best features. However, it has it's own fusion features which are very similar to layouts, however didn't keep there styling when I started to add content. to get to layouts you need to go through fusion builder. if you look at the back end of a page where I am not using fusion builder (pretty much every one - unless I missed going back and changing it) you will notice that layouts isn't an option. So I now have a very heavy theme that couldn't be uploaded with out going through FTP, that is redundant, that i can't change css, despite having a child theme. All because I have been told by many plugins that there is a conflict with a theme and I tried to be diligent and use a recommended theme from my core plugin. So I am frustrated cuz to now change the theme AGAIN will mean starting many things all over again. However If I am to do it NOW is the time. I just don't want to run into the same issue again. it is tedious to say the very least.

As for the site being live. yes it is. however, only 6 people have the website name and they all know the site is under construction. It is more of an issue of me trying to accomplish something, being in the middle of that something and having all the plugins being disabled at the same time. I get it, but I just don't want to be in the middle of something. You have full permission to do what you need to do to fix the issue as it is imperative that it gets resolved.

thank you

#609720

I attempted to create a test form for the image only called image test. I am posting its below

[credform class='cred-form cred-keep-original']

<div class="form-group">
<label>Featured Image</label>
[cred_field field='_featured_image' value='' urlparam='' output='bootstrap']
</div>

[cred_field field='form_submit' value='Submit' urlparam='' class='btn btn-primary btn-lg' output='bootstrap']

[/credform]

using this it worked. I do not have any css on it so at this point I will compare a few other things and see if I can figure it out. this is happening on more than one form but at least I was able to get this feature to work alone. If you have any other ideas please let me know.

#609721

okay so i went and added styling to the test form above and it broke. the image wont load up. HOWEVER, when I took it away from the original form the endorsement form it didn't fix it.

this is the styling at broke the image only form

[credform class='image-test'] - used in the form itself

.image-test {
width: 90%;
padding: 10px;
padding-right: 25px;
position: relative;
border: 3px solid #505a82;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}

*** when I go back and remove it the form stays broken. see hidden link
i went to purge my site cache and it didn't help.
frustration is now setting in. it seems that this aspect is becoming common, can't unbreak things. this is happening with another ticket I have in.

#609770

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see you are missing really basic information regarding how to build your CRED form:

Please check following link:
=> https://toolset.com/documentation/user-guides/creating-cred-forms/#designing-the-cred-post-form

Where we clearly mentioned :

There are some special CRED shortcodes that control the basic functionality of every form. These shortcodes include:

[credform class='cred-form cred-keep-original'] – mandatory
[cred_field field='form_messages' value=''] – optional, used for rendering the validation messages
[cred_field field='form_submit' value='Submit' urlparam=] – mandatory (form cannot work without a submit button)
[/credform] – mandatory

You should not allowed to change the class for [credform] shortcode.

I've rebuild the form as you can see here:
=> hidden link

And I've tried to upload the post with featured image and I can see its working fine. You can see my test post here:
=> hidden link

Could you please confirm that the form is also working for you.

#609791

Okay now we are not communicating I don't think.
1. I have the cred class in EVERY FORM!! It has been my understanding that you change the class name if you want the css to work, since you used the same name in css. If this has changed then I certainly hope css will still work
2. I have never seen [cred_field field='form_messages' value=''] – optional, used for rendering the validation messages - have no idea what that would be used for.
3. I understand that the submit button is needed - that is how it gets to the back end. where in the above code am I missing ANY of these features.
4. if the [/credform] – mandatory wasn't there the form would be broken completely nothing would work.

I am clear i am missing something, BUT I have actually been working with this program for years now, I have NEVER had an issue with the image like I am now. I currently have 69 cred forms all submit ALL other content other than the image. I have got to be doing something right.

if you made changes to how your coding works, and I don't know about it that is one thing but there is NO way I can keep up with all your changes and know how they affect everything else. I have other things to do than to troubleshoot all your changes.

#609798

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

1. I have the cred class in EVERY FORM!! It has been my understanding that you change the class name if you want the css to work, since you used the same name in css. If this has changed then I certainly hope css will still work
==> Following exact code is required for all forms:

[credform class='cred-form cred-keep-original'] – mandatory

2. I have never seen [cred_field field='form_messages' value=''] – optional, used for rendering the validation messages - have no idea what that would be used for.
==> This shortcode is to display the error messages. If you dont want, as we said its "optional", so you can remove it.

3. I understand that the submit button is needed - that is how it gets to the back end. where in the above code am I missing ANY of these features.
=> Yes, obviously, submit button is needed to submit the form.

4. if the [/credform] – mandatory wasn't there the form would be broken completely nothing would work.
==> Its by design, and for information so users should not delete the closing shortcode [/credform], otherwise you may get unexpected results.

Now, I've modified your original form where you have issue:
=> hidden link

I've keep your class but also the two classes "cred-form cred-keep-original" that is required by CRED form to work properly :

[credform class="cred-form cred-keep-original endorsement-form"]

Now, I can see image is working fine on your original post form as well. Please check.
=> hidden link

#609803

so basically it isn't that I am doing things wrong, it is that we can no longer style the forms. that is a BIG difference and THAT is on Toolset.

#609807

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - you can style it but just keep [credform] shortcode away or you need to use it with the classes that is required by form as I already advise you and shared the solution in my previous post.

Following is the complete guide about how you can style the CRED forms that you may like to go through:
=> https://toolset.com/documentation/user-guides/styling-cred-forms/

#609808

as long as I change the class to the original terminology (which by the way my forms have been working for years with that part changed so something on your end changed) and I take away ALL styling THEN it will work.

At least now I know