Skip Navigation

[Resolved] Custom sized images not displaying

This support ticket is created 6 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.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 10 replies, has 2 voices.

Last updated by johnB-37 6 years, 4 months ago.

Assisted by: Shane.

Author
Posts
#913566

I've created a View that displays a custom post type called "Technologies." I'm displaying various bits of info about each technology including an image. When I insert in image in full size, it works. However, when I try to make the image a custom size, the image breaks because for some reason there is an extraneous bit of code inserted into the img src.

Examples:
This is full size image: (works)
hidden link

Custom size image (doesn't work)
hidden link

As you can see, the ":16612" part is breaking the link. Any suggestions?
Thanks!

#913626

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi John,

Thank you for contacting our support forum.

Would you mind providing me with a link to the page that this issue can be seen ?

Thanks,
Shane

#913629

Shane,
Here is the link:
hidden link

Please note that the page also takes about 20 seconds to load, which also seems to be an issue with the images. When the images are working, the page loads very fast.

Thanks!

#913979

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi John,

I see the issue.

Could you temporarily disable all the non-toolset plugins and try again to see if the issue is still there?

Thanks,
Shane

#913985

Shane,
I de-activated all non-Toolset plugins but the issue remains.

-John

#914013

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi John,

Would you midn providing me with admin access to the website so that I can take a deeper look at this for you ?

The private fields have been enabled for your next response.

Thanks,
Shane

#914014

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

private fields

#914067

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi John,

It seems that there is a port number being added to the links when using the resize hidden link

Could you check with your hosting provider about this port # as your site isn't using one .

Thanks,
Shane

#914934

HI Shane,
I contacted my host, Pantheon. The tech there said that they have had some other instances of this behavior but he wasn't sure of a work-around. He said it was "definitely" a plug in or theme issue. He asked me change themes but the error still persisted. I think what led him to that conclusion is the fact the image works when I use "original size" but when I try to use custom size, it breaks.
For now, in the development stage, I can just manually edit my images so they are same size but down the road I don't want to have to do it that way.

#915296

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi John,

Would you mind if I took a duplicator package from your site so that I can have a look at what happens here locally.

Thanks,
Shane

#915298

Shane,
The people at Pantheon directed me to the following snippet of code:
hidden link

I pasted that code into wp-config and now everything is working!

Thanks for your help!