[Resolved] can't set image size nothing showing under image settings
This thread is resolved. Here is a description of the problem and solution.
Problem:
The customer was unable to set image sizes in the Advanced Custom Fields (ACF) settings within the WordPress dashboard. The image size dropdown was not appearing, which hindered the ability to select a custom size for images.
Solution:
We discovered that the issue was related to resource limitations on the server. By disabling several resource-intensive plugins, the customer was able to access the image size settings properly. Additionally, we recommended increasing the PHP and WordPress memory limits to improve performance.
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.
I have a template for a content type. On that template i am displaying an image from a custom field but THERE ARE NO IMAGE SIZE SETTINGS.
Here's a video showing you the problem: hidden link
After I made this video I tried out just a plain image block, no dynamic content, just using media library and still there is NO DROPDOWN TO SELECT IMAGE SIZE UNDER IMAGE SETTINGS.
I need to set this to a custom size I have created. The CSS resizing will not be sufficient. It needs to be a smaller image so the page load is faster.
I have also tried using a shortcode but that also does not work, just shows the full image, not the cropped version.
Also, this site has the Gutenberg plugin but I've already tried disabling that and it does not make a difference. I'm testing this on a staging site so you can get admin access if needed.
That's odd. It's working normally on my own test site, so it doesn't seem to be a generalised problem.
Could I take a look at your site to see if I can spot what is particular to it that is causing this? If I can't determine it with some basic debugging steps on your server I may need to take a copy to install locally if that's okay.
Can you check one thing, which is if you add a core Image block and add some image from the Media Library, in the Image block settings at the bottom, are you able to choose alternate sizes (screenshot)?
Let me mark your next reply as private so that we can get log-in credentials from you—you may want to create a temporary admin user for us to use that you can later delete. And be sure to have a current backup of your site.
Can you also confirm which template you are editing, and the custom field that should be the source?
Hello Jen, I recorded a quick video to demonstrate what I've been able to debug so far:
hidden link
In summary, I noticed that the image size field takes up to a few seconds to show up when all the plugins are enabled, but it eventually shows up as I demonstrated in the video.
I noticed that while the PHP memory was set to 512mb the WordPress memory was set to the default 40mb. I went ahead and edited the wp-config.php and increased it to 512mb as well and it made a bit difference with the performance. If your server has the capacity for you to increase to let's say 1gb, that'd be helpful.
I also found out that after I disable a bunch of plugins, no one in specific but rather a group of plugins that consume a lot resources, then the field appears right away, but as I go enabling the plugins back, eventually it starts to take time to load again.
I got it to work finally by turning off a bunch of plugins. It was weird, I would wait for the image settings block to update and then by the time it would somehow the Save button would be gone so I couldn't save. I'm sure just a lack of resources since just turning off a bunch of not needed on the front end plugins did the trick. This site is a beast and I also added 4 more sites to this server so we need to up the resources. I'll be doubling the memory later tonight when it's quiet.
Thanks much for your help! We can call this one resolved.