Skip Navigation

[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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 21 replies, has 3 voices.

Last updated by alanS3341 5 years, 6 months ago.

Assisted by: Nigel.

Author
Posts
#1235465

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.

#1235502

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Alan

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.

The WordPress documentation isn't especially illuminating: https://codex.wordpress.org/Post_Thumbnails

Tutorials like this do a better job: hidden link

#1235512

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.

#1235542

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

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?

#1235593

Yes I think they are assigned to the portfolio post type...

It was suggested I use it from the Toolset Modules [wpv-view name="portfolio-gallery-a-list-with-a-zoom-in-effect"]

Portfolio gallery - a list with a zoom-in effect
Portfolio gallery (repeatable group); to be used as a nested View for Portfolio posts.

#1235599

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

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.

#1235992

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Alan

I visited the site and went to edit a Member Portfolio post to see the problem but you are affected by another issue which means I cannot edit the posts at all: https://toolset.com/errata/if-toolset-access-and-wpml-are-active-together-you-cannot-edit-any-posts-controlled-by-toolset-access/

A fix for this will be published on Monday. If you agree I will try again when that Access update is published.

#1235996

Thanks for the update Nigel, I'll wait until you take another look.

Regards

Al

#1237115

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Alan

I haven't forgotten you, but it seems like the Access update will be released until tomorrow now...

#1237149

OK TY

#1238104

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Alan

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.

#1238147

Thanks for the update Nigel, I'll wait until the update comes out then hopefully mark this as resolved.

Regards

Al

#1238681

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Alan

Access 2.7.2 was just released if you want to give it a try.

Let me know if you still have problems after updating, thanks.

#1239044

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.

#1239046

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Alan

Did you mean 2.7.1?

The current version is now 2.7.2, that's the version you need to test with.