Image Block Auto Scaling Not Working

Permalink
I am trying to set the image block to 'auto scale' but it will not accept this when I select and save. When I go back and edit block it has defaulted to 'force exact image match' and the image is not auto scaled.
This is for the standard image block on 5.6.3.3. Its the same on two different sites running same version.

This used to work so am confused?

deanhawthornthwaite
 
hutman replied on at Permalink Reply 1 Attachment
hutman
I would appear that there is a bug in the save function of the Image block controller. I have attached a file, if you download that and save it to /blocks/image/controller.php that should take care of the problem. Remove the .txt extension, that had to be added so it was a valid upload for the conversation.

This issue has been reported to the core team and will be fixed in 5.6.3.4
deanhawthornthwaite replied on at Permalink Reply
deanhawthornthwaite
Thanks so much for this. Sadly unless I'm doing something wrong it dosent seem to work.
I replaced the file controller.php in concrete/blocks/image and refreshed browser, then edited.
Should I be doing anything else?
hutman replied on at Permalink Reply
hutman
When you say "it dosent seem to work" do you mean that the dropdown state still does not stay or the feature doesn't seem to be working? Did you clear your cache?

Here is the official bug report if you want to take a look at the changes they have:
https://www.concrete5.org/developers/bugs/5-6-3-3/image-block-scale-...
deanhawthornthwaite replied on at Permalink Reply
deanhawthornthwaite
I cleared the cache.
I edit image blck and select 'scale image automatically', then save block, then publish.
Nothing changes and the image busts the RH column and when i go back to edit the image block its not set to auto scale but force exact match.
hutman replied on at Permalink Reply
hutman
You put the file in the wrong place, if you look at my first post it needs to go into /blocks/image/controller.php

You should never edit files in the /concrete directory.
deanhawthornthwaite replied on at Permalink Reply
deanhawthornthwaite
OK have put original controller.php back and added your file inside a folder called 'image' so the structure is now /blocks/image/controller.php.
I have cleared the cache and saved image block as auto scale.
When i open the image block it has saved the selection, but the image is not scaling.
hutman replied on at Permalink Reply
hutman
Grab the one from the link I provided to the Core Issue instead of mine and put it in that same place.
deanhawthornthwaite replied on at Permalink Reply
deanhawthornthwaite
Sorry i dont understand what you mean?