Skip Navigation

[Resolved] CRED form updates URLs of Types repeating images field when CDN active

This support ticket is created 7 years, 4 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Noman 7 years, 4 months ago.

Assisted by: Noman.

Author
Posts
#549757

I have a custom post type using a repeating images field group.

I have a CRED form to create and edit the posts.

I am using flexslider to produce a gallery of the images in my post.

This all works fine when the post is created with the CRED forms and in the WP Dashboard.

My problem arises when I have my CDN active (KeyCDN using CDN Enabler plugin).

With CDN active, when I update a post with my CRED form, the url of the image changes from e.g.

hidden link - the image on the local server

to

hidden link - the image on the CDN

I see this change when I look to edit the post in the WP Dashboard. It's the url of the image in the custom image field.

Because the image URL has changed, my gallery does not show the image, even though the image is available via the CDN.

We have made some customisations to produce the image galleries, including making sure that the images are attached to the posts, but we cannot see how the URLs are being changed when we update the post with the CRED form.

I would like to know if this changing of the URL is expected behaviour and if it can be prevented or worked around.

#549862

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi David,

Thank you for contacting Toolset Support.

1. Could you please also try to check it by deactivating all third-party plugins and switching back to the Default Theme (e.g. Twenty Sixteen theme) to see for any possible conflicts with any of the plugins or themes?

2. Please delete all sort of caches on your site or CDN / server cache (LiteSpeed), Filename-based asset cache busting, browser cache

3. From the image urls you have provided, I can see the url changed to live site (hidden link) after the image uploaded to dev site (hidden link)
- Please replace site or domain name properly in your database, because OLD live site urls still exist somewhere in database. You can use this plugin to replace url of live to dev site:
https://wordpress.org/plugins/search-and-replace/

4. Please Enable WordPress debugging in your site and look for any errors (any screenshot of errors will help us as well): https://toolset.com/documentation/user-guides/debugging-toolset/

Looking forward to help you, Thank you