WPIntell

Source evidence

Disabling doesn’t work

Image Sizes Controller, Create Custom Image Sizes, Disable Image Sizes · support · 2022-04-21T15:31:00+00:00

mixedsentiment
mediumseverity
0.72relevance
6replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 29 rows with source links

20.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

23 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
MarkJ resolved
Hi, disabling sizes doesn’t work. Tested on 2 sites. A new update is added to fix the issue. sorry for any inconvenience caused. let us know if you get any error. and please don’t forget to rate the plugin if you like it. Best! Looks like it is working partially right now. I was testing two plugins to regenerate thumbnails, both of them can see disabled size as registered. One also generates this size, the other doesn’t. In my opinion the sizes are disabled on a wrong hook. Also I was trying your plugin if it can be used to modify existing sizes. Means, disable and create again but with a different size. It also is not working since it sees the disabled size still as already existing, thus it doesn’t allow me create it. The plugin doesn’t remove the disabled sizes from the registered sizes array. Because it would be ambiguous. The plugin disables the disabled sizes just before creating the corresponding sub-sizes. The plugin uses the right hook. so, if there is a plugin generates the disabled sizes, It means that plugin doesn’t use the right hooks or the wordpress core way for creating sub-sizes. I would add an option for the user to check in order to hide the disabled sizes from registered sizes. but I don’t see it a good option, because it would indicate that these sizes don’t even exist which is wrong. I see. Well I, as someone who knows what is he doing, would definitely be glad for such option. The option is added under disabled sizes list in the new version. Great it is working. But just one thing, it is not working in the mentioned case, when I want to remove and readd modified size with the same name. I don’t want to dictate what to add to the plugin or anything 😀 It is just an idea, it was what I was looking for actually. Some people could find this function usefull, for boosting picture’s quality or reducing also.

Comments

6 shown
GrandPlugins 2022-04-25T15:16:00+00:00

A new update is added to fix the issue. sorry for any inconvenience caused. let us know if you get any error. and please don’t forget to rate the plugin if you like it. Best!

MarkJ 2022-04-26T17:05:00+00:00

Looks like it is working partially right now. I was testing two plugins to regenerate thumbnails, both of them can see disabled size as registered. One also generates this size, the other doesn’t. In my opinion the sizes are disabled on a wrong hook. Also I was trying your plugin if it can be used to modify existing sizes. Means, disable and create again but with a different size. It also is not working since it sees the disabled size still as already existing, thus it doesn’t allow me create it.

GrandPlugins 2022-04-26T17:35:00+00:00

The plugin doesn’t remove the disabled sizes from the registered sizes array. Because it would be ambiguous. The plugin disables the disabled sizes just before creating the corresponding sub-sizes. The plugin uses the right hook. so, if there is a plugin generates the disabled sizes, It means that plugin doesn’t use the right hooks or the wordpress core way for creating sub-sizes. I would add an option for the user to check in order to hide the disabled sizes from registered sizes. but I don’t see it a good option, because it would indicate that these sizes don’t even exist which is wrong.

MarkJ 2022-04-26T20:13:00+00:00

I see. Well I, as someone who knows what is he doing, would definitely be glad for such option.

GrandPlugins 2022-04-27T17:16:00+00:00

The option is added under disabled sizes list in the new version.

MarkJ 2022-04-27T17:57:00+00:00

Great it is working. But just one thing, it is not working in the mentioned case, when I want to remove and readd modified size with the same name. I don’t want to dictate what to add to the plugin or anything 😀 It is just an idea, it was what I was looking for actually. Some people could find this function usefull, for boosting picture’s quality or reducing also.