WordPress.org

Ready to get started?Download WordPress

Forums

media (jpgs) upload - but with error message (5 posts)

  1. FmlbArchs
    Member
    Posted 2 years ago #

    Hi all. I am having an issue with jpgs uploading through the media manager but always coming up with an error message as per below:

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: No JPEG support in this PHP build in /home/vhosts/formlab.com.au/public_html/wp-includes/media.php on line 258

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: No JPEG support in this PHP build in /home/vhosts/formlab.com.au/public_html/wp-includes/media.php on line 258

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: No JPEG support in this PHP build in /home/vhosts/formlab.com.au/public_html/wp-includes/media.php on line 258

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: No JPEG support in this PHP build in /home/vhosts/formlab.com.au/public_html/wp-includes/media.php on line 258

    Warning: imagecreatefromstring() [function.imagecreatefromstring]: No JPEG support in this PHP build in /home/vhosts/formlab.com.au/public_html/wp-includes/media.php on line 258

    Warning: Cannot modify header information - headers already sent by (output started at /home/vhosts/formlab.com.au/public_html/wp-includes/media.php:258) in /home/vhosts/formlab.com.au/public_html/wp-includes/pluggable.php on line 866

    It appears everytime - regardless of the image type (bmp, tiff, jpg, pdf etc).

    Also I cannot get an image into the "Feature Image" section. In the pages section (default type) it is applied and shows up, however when viewing the website nothing appears. If I use the Feature Image section in a portfolio it shows up but with a brocken image icon. Strange. Any ideas or thoughts on this would be greatly appreciated.

    Cheers.

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Save files as .jpg prior to upload. That means use an image editor to save them in the proper format and do not use JPEG or JPG as the file extension (no caps on file extentions, which many 'brand' type image editors create by default)

  3. FmlbArchs
    Member
    Posted 2 years ago #

    Thanks SwansonPhotos. Unfortunately it hasn't made a difference. The file extension is "a.jpg", however when i view the info (via mac "Preview") for the file it appears as a "JPEG" image - strange. I cannot change the file type in the info to a "jpg". Maybe it doesn't matter?

    The image is still uploading to the dashboard of WP and is shown as attached as the "Feature Image". But it doesn't show on the website at all.

    I have even tried different file formats (gif, png, bmp) but the same things happens - nothing.

    Any further ideas?

    Cheers.

  4. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    The error message is not arbitrary..clearly you were uploading a .JPEG file or your host is not properly supporting/confusing them (or the file is protected)...check with them on image library support.

  5. Pothi
    Member
    Posted 2 years ago #

    @FmlbArchs Your host would need to compile the PHP with '--with-jpeg-dir=/usr' option.

Topic Closed

This topic has been closed to new replies.

About this Topic