• Resolved nagyszenas

    (@nagyszenas)


    Hi,
    I use the last version of the photo gallery, but since a month i cant upload new photos. The errormessage is: File loading failed: filetype not allowed. What is the problem? I want to upload only jpeg files.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Photo Gallery Support

    (@photogallerysupport)

    Hi,

    We are sorry for the inconvenience.

    This problem can be caused by the following two configurations on your website:

    Permissions. The folder where the photos are uploaded to should have their permissions set to 755 or 775. Please use FTP connection to check this.

    PHP GD2 Library. Please check if PHP GD2 library is enabled on your website. To check this, please follow the steps below.

    1. Create a plain text file and add the following code to it.

    <?php
    if (extension_loaded(‘gd’) && function_exists(‘gd_info’)) {
    echo “PHP GD library is installed on your web server”;
    }
    else {
    echo “PHP GD library is NOT installed on your web server”;
    }
    ?>

    Save the file, with testgd.php as its title.

    2. Upload it to the main directory of your website and access it via browser using its URL, e.g.:

    http://www.yoursite.com/testgd.php

    If the PHP GD2 library is not enabled on your web server, the output of the file will note so. In this case, please contact your hosting provider and ask them to activate it for your website.

    Thank you! Have a nice day!

Viewing 1 replies (of 1 total)

The topic ‘Filetype not allowed??’ is closed to new replies.