Skip Navigation

[Resolved] Images not loading; https:// being stripped out of src

This support ticket is created 5 years, 10 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+01:00)

This topic contains 4 replies, has 2 voices.

Last updated by Nigel 5 years, 10 months ago.

Assisted by: Nigel.

Author
Posts
#913152
Screen Shot 2018-06-13 at 2.19.27 PM.png
Screen Shot 2018-06-13 at 14.16.53-fullpage.png

Link to a page where the issue can be seen:
hidden link
This is just one example.

Toolset plugins were updated. Many images do not load now. Upon inspecting the element, I found https:// is being stripped out of the src in the <img> tag. After adding back the https:// in the inspector, the image returns. But of course this is not a fix. Everything was working fine prior to updates.

#913323

Nigel
Supporter

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

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

Hi Jon

We have a few reports of issues relating to image fields, though not this particular one.

Can I get a few details from you?

You updated to Types 3.0. Are you using post relationships and did you run the migration wizard or simply upgrade?

"This is just one example". You mean it is happening elsewhere on the same site, rather than on various sites, yes?

How are you outputting the image? Can you show me the shortcode from your template?

#913624

Hi Nigel
Yes, I do believe I have custom post types that are related to each other.I simply just updated the plugins to the latest version. Yes, it is happening elsewhere on the website. The shortcode is this: [types field="picture-of-instrument-s-full-body-front" size="post-thumbnail" ][/types]

#913873

Nigel
Supporter

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

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

Hi Jon

I'd like to get a copy of your site for testing locally if I may: hidden link

While we investigate this you have two options.

As you haven't run the migration wizard, you should be able to revert to the previous versions of Types, Views, and any other Toolset plugin available before May 28. Note that means reverting to Types 2.2.23, not Types 2.3.

You can find those on your downloads page: https://toolset.com/account/downloads/

Or you could modify your site and replace the types shortcodes that output the images and manually insert the img tags, using the shortcode wpv-post-field to generate the src.

https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-field

In any case, let me mark your next reply to get site credentials from you.

#916263

Nigel
Supporter

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

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

Hi Jon

Yes, sorry about that.

We have another ticket that relates to issues with Types image fields when using https, but it's not the same as yours, though fixing that one may resolve this at the same time.

If you want to give me a copy of your site to pursue this further then please do, otherwise we might close this?

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.