Results 1 to 6 of 6

Thread: Add image in article doesn't resize the image

  1. #1
    User
    Join Date
    09-02-10.
    Location
    Banja Luka, Bosnia and Herzegovina
    Posts
    59

    Default Add image in article doesn't resize the image

    Hello,

    as it is stated in subject, I have problem with adding images into an article. System doesn't do anything with image, and just shows it in original size disturbing the page layout. Moo_Mediabox is activated in layout, and picture format jpg is allowed in settings/editable file types.

  2. #2
    User
    Join Date
    06-20-09.
    Posts
    115

    Default Re: Add image in article doesn't resize the image

    I presume you've already made custom settings to the individual image size/dimensions in the article elements or in the wysiwyg.

    If that doesn't work, it could be something to to with your GD Library on your server, confirm that GD support is enabled.
    geung

  3. #3
    User
    Join Date
    09-02-10.
    Location
    Banja Luka, Bosnia and Herzegovina
    Posts
    59

    Default Re: Add image in article doesn't resize the image

    I tried to add it in news teaser in news content elements, and later in regular article using "Image settings" - Add image, option just below TinyMC editor.

    These are GD server settings:

    Code:
    GD Support 	enabled 
    GD Version 	bundled (2.0.34 compatible) 
    FreeType Support 	enabled 
    FreeType Linkage 	with freetype 
    FreeType Version 	2.2.1 
    GIF Read Support 	enabled 
    GIF Create Support 	enabled 
    JPEG Support 	enabled 
    libJPEG Version 	6b 
    PNG Support 	enabled 
    libPNG Version 	1.2.10 
    WBMP Support 	enabled 
    XPM Support 	enabled 
    XBM Support 	enabled
    Maybe, something with settings? Maximum width and height of image that GD should try to process? I will try with different sizes of image.

  4. #4
    User
    Join Date
    06-20-09.
    Posts
    115

    Default Re: Add image in article doesn't resize the image

    Using GDlib, Contao creates thumbnails and puts them in the folder /system/html
    Are the permissions for it correct? It should be writeable.

    To check, use the Contao System Check Tool

    apart from that I'm stumped
    geung

  5. #5
    User
    Join Date
    09-02-10.
    Location
    Banja Luka, Bosnia and Herzegovina
    Posts
    59

    Default Re: Add image in article doesn't resize the image

    Resizing for favicon extension has worked, but in articles not. Well, I can use smaller images, or insert them with TinyMce editor. I can without it, for now.

    There are just a few unresolved things such are:

    Why (only) in Opera browser my pages are lowered sometimes (2x margin-top), until I hover with mouse pointer over the main navigation, when all returns to its' place :roll:

    Why system remove "j" letter from page links so the subpage domain/vijesti is translated into domain/viesti etc. :roll:

  6. #6
    User
    Join Date
    09-02-10.
    Location
    Banja Luka, Bosnia and Herzegovina
    Posts
    59

    Default Re: Add image in article doesn't resize the image

    I finally succeed to resolve this, although I am not sure what was the problem. I changed "Files and images" settings in back end accordingly to the demo website, and now it works. :!: :?:

    Code:
    The global configuration variable "allowedDownload" has been changed from "xls,doc,pdf,rar,docx,xlsx,jpg,gif,png" to "jpg,jpeg,gif,png,doc,xls,ppt,odt,ods,odp,pdf,mp3,wma,wmv,ram,rm,mov"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •