uploading an image

Ask for help or provide support to other members.
Post Reply
User avatar
cmbsound
Posts: 30
Joined: Wed Mar 06, 2024 8:16 am

uploading an image

Post by cmbsound »

hello everyone
I have a question but I'm not sure if I'm writing in the right area
I can also use both wondercms
When inserting or uploading an image, enter a fixed size as a code?
When I insert an image it should only show the size that is in the code.
Thanks :?: :?:
User avatar
NorfolkGreg
Posts: 175
Joined: Wed Sep 01, 2021 7:50 am

Re: uploading an image

Post by NorfolkGreg »

I'm not sure I quite understand the question.
At the basic HTML/CSS level then you are right. If the code specifies a certain height and width it should be displayed at that size.

However, in the more practical world there's a number of things that can confuse the issue. For a start what units are you using to define the size of the image.

You may be using % of the width or height of the image and that will be constrained by the surrounding code. So, for example, if the image is within a <div> that is defined as being of width 50%, then an image of 100% width will occupy 100% of the available space and that will be the 50% to which the <div> is limited.

On top of that there's all kinds of CSS code that will change things too, like whether overflow is allowed within sections of the code.

I don't use the Summernote editor, but I also recall that using that to install images can also produce results that the non-coder may be surprised by.

In short, we need to know a little more about what you are doing. Perhaps providing a link to a temporary page on your site that exhibits the problem you are having would help folk who might be able to advise you.
Last edited by NorfolkGreg on Sat Feb 22, 2025 10:44 am, edited 1 time in total.
User avatar
cmbsound
Posts: 30
Joined: Wed Mar 06, 2024 8:16 am

Re: uploading an image

Post by cmbsound »

Thank you .!
Post Reply