[Resolved] Cannot find images from repeating fields in the post
This thread is resolved. Here is a description of the problem and solution.
Problem:
On the post edit screen repeatable field groups are not shown, and instead there appears a warning about the WPML translation mode and post relationships.
Solution:
Although the message refers to post relationships it is applicable here because repeatable field groups are implemented via post relationships.
So the advice from the warning—that the WPML translation mode for the post type needs to be set to "Translatable - use translation if available" needs to be followed.
This support ticket is created 5 years, 7 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.
I am trying to:
I have a form for portfolios which includes repeating fields for some portfolio images. However, the users have uploaded 4mb images for their posts and I need to resize them and replace them but I don't see them in the post editor.
Link to a page where the issue can be seen:
(back end)
I expected to see:
The images included in the post content editor (in the back end)
Instead, I got:
I only see the content from the cred from but not the repeating fields and I need to change the images.
We are talking about repeating fields here ("Allow multiple-instances of this field" setting) rather than repeatable field groups, right?
Your Form to submit portfolio posts includes this repeating image field, and users submit posts with some number of images attached.
But on the post edit screen in the backend you cannot see those fields?
First, double-check whether the relevant field group is set to be displayed in the Screen Options tab at the very top of the page.
If you don't see the field group listed there then it sounds like you need to go to Toolset > Custom Fields and edit the field group and under its settings make sure that "Appears on" includes the portfolio post type. (I expect it would, for you to have been able to generate the form including this field.)
Regarding the large images uploaded, WordPress automatically generates a number of alternate sizes when images are uploaded. There are built-in sizes, and themes and plugins can register custom sizes. When you are displaying the images (via a shortcode) you can specify which size should be output, so you wouldn't be displaying a 4Mb version of an image where a 100k version would do.
Hello Nigel, I followed your instructions by going to "Toolset > Custom Fields and edit the field group and under its settings make sure that "Appears on" as the option was not displayed in the post editor.
And this is displayed:
The Post Type of this Field Group cannot be changed as long as a Repeatable Group or a Post Reference field is used.
So now I'm not sure if your image fields are repeating fields or part of a repeatable field group (because you are evidently including repeatable field groups, though the image field may or may not be part of that).
In any case, you cannot change which post type the field group is assigned to if you are using repeatable field groups, but you should at least be able to see what post type they are assigned to. Is it the portfolio post type?
I think it would help if I could take a look myself, if I can get access details from you?
I will mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site.
The Access release has slipped again, so I went ahead and downloaded a copy of your site so that I could get round the current Access/WPML issue preventing me from editing portfolio posts on your live site.
I disabled WPML to bypass the issue while investigating, and I can now edit Member Portfolio posts as needed.
Your original question was about not being able to see the repeatable image fields of the portfolio when editing a member portfolio post, but once I was able to edit a post I could see the relevant custom field group and make changes as required (see Screenshot edit screen.png).
Today is a holiday for many of our team and the Access update to fix the WPML compatibility issue should now go out tomorrow.
As for the sizes of the images, in Screenshot uploads.png you should be able to see that the original image is large (2.41Mb) but as I described above WordPress automatically generates a series of other sizes (which you can customise) and you can see that there are various sizes available with a much smaller file size.
I shared some links above about such custom sizes, any of which you can choose when it comes to outputting the image via a Toolset shortcode.
Hello Nigel I am using Toolset Access 2.7.1and I am unable to update posts using that and having Oxygen Builder. I disabled all plugins (except oxygen builder) and was able to edit posts. I then activated them all and could not edit posts. I then disabled each plugin one at a time and after disabling Toolset Access I was able to edit posts so there is a conflict with Access and editing post and pages as I could not edit an oxygen template either.