Results 1 to 5 of 5

Thread: Problem with jpg images

  1. #1
    User tetrijeb's Avatar
    Join Date
    04-19-12.
    Location
    Bosnia&Herzegovina
    Posts
    114

    Default Problem with jpg images

    Hi,

    I am getting this message type whenever I try to add some jpg image to an article:

    Origin: Front end
    Category: ERROR
    User:
    Details: Image "files/Foto/PIK Samac/IMAG0919.jpg" could not be processed
    Function: Contao\Image::get
    Therefore I can't get JPG image thumbnails in Gallery or other articles in Front End.

    I didn't found anything wrong in Settings, everything is allowed for JPG as it is for PNG and GIF, but rendering (and thumbnails) are working for PNG and GIF yet not for JPG?!

    Could someone give me any advice?

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Hi,

    it seems that Contao could not create the preview image. Check the PHP configuration (phpinfo) whether the GDlib is available and if the support for JPG files is enabled.
    Contao Community Moderator
    → Support options

  3. #3
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    I've had this, that an image with the suffix jpg was no JPEG image. Can you send an example image?
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  4. #4
    User tetrijeb's Avatar
    Join Date
    04-19-12.
    Location
    Bosnia&Herzegovina
    Posts
    114

    Default

    I use some demo data which should be with correct extension, and JPG images also not working. I ran phpinfo() and this is the result:

    Code:
    GD Support	enabled
    GD Version	bundled (2.1.0 compatible)
    GIF Read Support	enabled
    GIF Create Support	enabled
    PNG Support	enabled
    libPNG Version	1.2.49
    WBMP Support	enabled
    XBM Support	enabled
    
    Directive	Local Value	Master Value
    gd.jpeg_ignore_warning	0	0
    I will contact my provider to check this.

  5. #5
    User tetrijeb's Avatar
    Join Date
    04-19-12.
    Location
    Bosnia&Herzegovina
    Posts
    114

    Default

    The problem has been resolved by contacting my provider. JPEG processing was disabled. Now it's working:

    Code:
    JPEG Support	enabled
    libJPEG Version	6b

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
  •