Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #498350

    I insert single pictures in Blogposts and give an individual height of 130px to the pictures. The width adapts WordPress automatically. This works in almost all cases, only with very narrow pictures. Exemplarily here:

    http://maahn-sammlerpage.de/kind-der-sterne-5-2008-541335635152-eu/

    The narrow picture has assigned, like all the other pictures, also a height of 130px.

    #498481

    Hi patrickmueller!

    The image your using there is 24 x 154. Are you trying to get it to display in it’s original dimensions?

    Send us a WordPress login and we’ll take a closer look.

    Cheers!
    Elliott

    #498526

    Hi,

    24 x 154 is the original size of the picture in this case. In the blogpost I gave the picture a individual size (high = 130 px, width = autoresized by wordpress)

    #499078

    Hey!

    I’m sorry but I’m not sure I understand it clearly. What do you mean by ” I gave the picture a individual size “? How did you do that? Please provide a screenshot so that we can understand it better.

    Cheers!
    Ismael

    #499480

    “Individual size” means: Post Editor / Tab: Visuals / Select Picture / Edit and under Display Settings: Custom Size / Height: 130

    Due to your support I’ll set the language of the backend into English.

    #499919

    Hey!

    In the style attribute of the image set it’s width and height manually like so.

    style = "height: 154px !important; width: 24px !important;"
    

    Regards,
    Elliott

    • This reply was modified 9 years, 10 months ago by Elliott.
    #500032

    Scary!

    So I tried some other changes in the code. Now I solved the problem by myself but I don’t understand why this problem exists. Here is the resolution of the problem:

    In the “Text”-tab of the post editor I gave the image a individual css code like style=”margin-right: 15px;” and the requested size height=”130px” width=”20px”. With this declaration the image isn’t shown in the correct size. Now I changed the code into style=”margin: 15px; height: 130px; width: 20px;” and the size in the Frontend is correct.

    So now I’ll change the code in every single post and the problem is solved. But I don’t know why the single declaration of the code isn’t accepted.

    Thanks for your support.
    Cheers!

    #500038

    Hi!

    We have other CSS which sets the height to auto but I’m not sure why it’s shrinking down like that. If you set the height and width in the style attribute though like in my previous post it will override that.

    Let us know if you have any other questions.

    Cheers!
    Elliott

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.