How to set size for 【Show preview of selected image】

hung pham asked on February 15, 2022 06:06

I have a pagetype with a field media selector. The 【Show preview of selected image】 is checked and and want to resize the image show here to 120 height. It is not the resize on upload, the image in attachment or media-library will have it normal size, but the image show in preview will have height of 120. How can I do that?

Correct Answer

vasu yerramsetti answered on February 15, 2022 17:43

Hi Hug - We don't have any out of the box feature to control "Show preview of selected image" option with desired width and height for preview at page level.

0 votesVote for this answer Unmark Correct answer

Recent Answers


vasu yerramsetti answered on February 15, 2022 15:45 (last edited on February 15, 2022 15:45)

Select Resize field with (use site settings) option and set Width and Height on page type which field is selected media selection from control.

This will work newly uploaded images into media library from Page type. Refer screenshot

Image Text

Hope it helps you

0 votesVote for this answer Mark as a Correct answer

hung pham answered on February 15, 2022 16:16

Hi vasu yerramsetti, The problem is I don't want to resize the image in media or attachment. I want the 'preview' image only to be resized. Thanks for your help though

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.