Skip Navigation

[Closed] Images behave in an inconsistent manner

This support ticket is created 4 years, 8 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by Luo Yang 4 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#1615847

I am trying to:

Make all the images squared and unified, and linked so end-user can navigate efficiently and easily.

Link to a page where the issue can be seen:

hidden link

I expected to see:

Uniform images all the same size. Ideally, they would all e using the thumbnail size (800x440) of the original image.

Instead, I got:

We are definitely having some interesting problems going on here: (1) The images for Anthropology, Divine Attributes, and Eschatology are correctly loading the "featured-image" thumbnail size (800x440) of the original image. BUT (2) The Covenant Theology and Ecclesiology image files appear to have been auto-scaled and auto-renamed by WordPress 5.3. For example, the Covenant Theology image was originally called tree.jpg, but it has been renamed tree-scaled.jpg (by WP 5.3 I think).

(3) The Christology image is a brand new, renamed copy of the image which I uploaded, but for some reason, the 800x440 thumbnail is not being loaded, even though the thumbnail has been generated.

As a workaround, we can use an offline image editing tool to make new copies of the broken images which are 800x440
I don't want to use the built-in WordPress image editing tool to resize and crop those images, because some of them are used elsewhere on the site with different aspect ratios and different resolutions.
Is there a way we can open a bug report for this, in the meantime?

#1616463

Hello,

Please elaborate the question with more details, provide detail steps to duplicate the same problem:
How do you setup those images? are they custom image field or featured images?
How do you display those images? If it is featured image, I suggest you try to display it with shortcode [wpv-post-featured-image
], you can specific the image size in this shortcode, see our document:
https://toolset.com/documentation/user-guides/views/views-shortcodes/#vf-153425
size (opt):
'thumbnail' (default) | 'medium' | 'large' | 'full' | 'custom'

#1620687

Thank you for your reply. I am using featured images, and it is being displayed using [wpv-item] instead of [wpv-post-featured-image]. Let me get back to you, I will look into the [wpv-post-featured-image] option.

#1620689

The shortcode [wpv-item] won't display featured images, see our document:
https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-item
Used in the loop. Sets a condition to be met for subsequent lines in the loop to be executed.

Please update here if you need more assistance for it, thanks

#1621765

My apologies for the confusion. Looking more closely at the issue, and discussing with other members on the team, it was recalled that [wpv-item] did work at one point, but it seems that this stopped after the WordPress 5.3 update.

After the update, WP added a new feature that automatically resizes and renames an image, if the image is too big.

Here is some helpful documentation: https://make.wordpress.org/core/2019/10/11/updates-to-image-processing-in-wordpress-5-3/

The [wpv-item] continues to work for some of the images, that is, the ones that were not resized and renamed by this new feature. But some of the images after the update were not even showing up (since Toolset didn't seem to recognize the new name generated by WordPress).

Unfortunately, we are not able to use the [wpv-post-image-feature] since we are not using posts. We are using featured images, but we are using the featured image for tags and categories.

I hope this helps to clarify. Would Toolset be able to create a bug report for this exception case, to see if this can be dynamically dealt with by Toolset?

#1622141

It is not clear, no detail steps in your post:
https://toolset.com/forums/topic/images-behave-in-an-inconsistent-manner/#post-1621765

Please provide detail steps to duplicate the same problem in a fresh WordPress installation, I need to test and debug it in my localhost, thanks

The topic ‘[Closed] Images behave in an inconsistent manner’ is closed to new replies.