Skip Navigation

[Resolved] Add Custom Image Size in Views not working

This thread is resolved. Here is a description of the problem and solution.

Problem: I am experiencing an error when I try to add a custom image size in a View block. "Something went wrong on resizing the image".

Solution: This issue was resolved in a recent update of Views/Blocks. After updating, it may be necessary to recreate an image block where the problem was previously experienced.

This support ticket is created 3 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by hacerY 3 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#2056889

Tell us what you are trying to do?
I'm trying to add a custom image size (250x250) in my Views - view output section. But it doesn't work, I get the error message 'Something went wrong on resizing the image.' .

Is there any documentation that you are following?
I've found a ticket on this subject, that I followed to try to solve this issue. It is the same issue I am facing with my site. https://toolset.com/forums/topic/image-settings-error-something-went-wrong-on-resizing-the-image/

What I've already done:
1) deactivate other plugins, and switch to wordpress default theme 2021, deactivate all custom code snippets, and test again --> problem still exists.

2) Check if there is any PHP error on my website with PHP debugging. I found this message in my wp-config.php file:
[16-May-2021 15:58:46 UTC] PHP Warning: file_put_contents(hidden link): failed to open stream: HTTP wrapper does not support writeable connections in /home/u982015752/domains/hydigitaldeveloper.com/public_html/devsite/wp-includes/class-wp-image-editor-imagick.php on line 737

3) I've checked with my host if I have the php-gd2 and php-gd modules installed: There is the GD module installed, but not the GD2 one.

What is the link to your site?
hidden link

#2056915

3) I've checked with my host if I have the php-gd2 and php-gd modules installed: There is the GD module installed, but not the GD2 one.
Hello, the issue you mentioned in another ticket was resolved in the Blocks 1.5 / Views 3.5 release. Can you confirm that you are using the latest Toolset plugins? You can go to Plugins > Add New, click the "Commercial" tab, and then scroll down to the Toolset installer panel. Click "Check for updates" to confirm you are using the latest Toolset plugins, or update if necessary.

Please also confirm in wp-admin > Settings > General that your site's URLs are configured to use HTTPS instead of HTTP.

Let me know what you find out and we can go from there.

#2056953

Hello Christian, thank you for coming back to me on a Sunday! I appreciate.
I confirm that I'm using the latest versions of the Toolset plugins.
In the WPadmin settings, it was indeed saying HTTP, instead of HTTPS. I've updated this to HTTPS.
And now I tried again to change the custom image size, and it looks like it takes the new dimensions, but then it reverts back. I've made a short screencast to show it to you. You can watch it here: hidden link?
Thank you for looking into this.
Regards,
Hacer

#2056955

Okay thank you for the additional information. Can you try deleting this image block and creating a new image block, to see if the problem occurs again? It seems that the image is created successfully, since I can load it in the browser here:
hidden link

#2057035

Hi Christian,
Thanks so much! My issue is resolved now. Creating a new image block worked.
Thank you for your help.
Regards,
Hacer