This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I successfully added an extra field in a static page layout. Now I can easily add an image to my static page. If I want to edit the page, the image that is choosen for this page is being presented in his own dimensions. That way I end up with a page that shows a huge image first and underneath that, the content editior appears. Is there a way to resize that image? I tried with CSS (in modules/cms/formwidgets/mediafinder/assets/css/mediafinder.css) with no result at all.
Last updated
Go to Customize Back-end, and paste the following in the 'Styles' tab:
.field-mediafinder.style-image-single .find-object .icon-container, .field-mediafinder.style-image-single .find-object .icon-container img {
max-width: 200px;
max-height: 200px;
}
Of course you can edit the values for max width and height as you prefer.
Last updated
1-2 of 2