[FAQ] My pictures don't appear!

Follow the questions and instructions Don't understand a technical word? Please Google it or search on the Piwigo Documentation

1) Are your pictures registered?

In the administration, go to the batch manager and select an album : once you have validated the filter, some thumbnails should appear :

  • if you get a “No photo in the current set.”, the upload failed : be sure you didn't add too large a picture, according to page Photos→Add “20MB. jpeg, png, gif.” for example.
  • if you see “XX photos in current set” but just empty squares, read paragraph 2
  • if you see “XX photos in current set” and the thumbnails, read paragraph 3

2) My pictures are registered, but no thumbnails!

Since 2.4, Piwigo has an automatic generation system for thumbnails and other resized pictures. Piwigo calls i.php to generate the resized picture in ./_data/i/, then directly calls the resized picture from ./_data/i/. Many problem may appear : an overloading of the server, a picture that is too big or with a wrong extension, not enough permission on files/folders etc

  1. Check if an error is returned by the i.php url : in the Batch Manager, right-click on a failed picture then “Display the picture” or “copy the url to the picture”, from your browser. You can also try to display the source code of the page (Ctrl+U usually) and search (Ctrl+F) for an url with “i.php”. Then go to this url with your browser and note any error message displayed.
    1. “source not found” : check by Ftp, if the source picture exists and if the permissions of the file is enough (Chmod : 755 folders, 644 files). If it's still not solved, be sure the Php user/system has enough rights on your server
    2. “dir create error” : check by Ftp, if the permissions of the folders are set right (Chmod : 755 folders, 644 files). If it's still not solved, be sure the Php user/system has enough rights on your server
    3. “Empty array while parsing Sizing” “Sizing arr” “Invalid chars in request”… : the theme or plugin is not working, post on the forum with a list of the plugin used and your theme
    4. 404 error page : the file i.php is missing. Download the zip from piwigo.org, extract and upload the files by Ftp. Overwrite all the files : you will not lose any customization or pictures.
    5. 403 error page : check the permission on the file i.php (and the other files also). Chmod : 755 folders, 644 files.
    6. “500 Internal error page” or “PHP Fatal Error: Allowed memory size of …” : many problems may cause this error. If some pictures are generated and others not, it might be due to an overload of your server (just wait a few hours) or a lack of memeory for PHP (ask to your hoster to change the memory_limit option). If the graphical library is GD (first admin page), install Imagemagick [see below the paragraph related to Imagemagick]
  2. No message?
    1. With Localfiles Editor, put this local config variable : $conf['enable_i_log'] = true; . Then try to generate some size with the Batch Manager. Once started, you can go to _data/tmp/i.log and open the file to see if there is any error message in it. Post on the forum the content of that file
    2. You can also read the instructions for “500 Internal error page” and use Imagemagick. Or post a url to your website with public visible pictures Thanks

3) I see the thumbnails, but nothing or missing pictures on the public side

Most cases are permissions issues :

  1. Check the level of privacy : in the Batch Manager, click on Edit for a problematic picture. Check the level of privacy, under “Who can see this photo?”. Then go to User→Manage→Properties column and be sure the level of privacy of the users match the one set for the picture. On the Batch Manager, if the picture has a level of privacy different from “Everyone”, it's written right on the thumbnails.
  2. Check the visibility of the albums : Go to Album→Properties, and check if the albums are private or not. If they are private, and you did it by mistake, revert them back to public. If not, go to Album→Manage then browse to the album, and then click Edit. Or go to the album on the public part, and click the edit icon. Once you are the edition page, click on the Permission tab : you can see exactly what you see for that album, by clicking on “Show Details”. Enable the plugin Admin Tools, the easiest and fastest way to verify Who Can See What : it opens a pop-up and then select a user in the drop-down list

Using Imagemagick

Imagemagick is much more efficient than the GD Graphics Library : less resource consumption on the server and higher quality pictures rendered. Many problem can be solved by changing the graphical library from GD to IM, and your hoster will be glad. Use the following variables with Localfiles Editor :

// Library used for image resizing. Value could be 'auto', 'imagick',
// 'ext_imagick' or 'gd'. If value is 'auto', library will be choosen in this
// order. If choosen library is not available, another one will be picked up.
$conf['graphics_library'] = 'ext_imagick';
// If library used is external installation of ImageMagick ('ext_imagick'),
// you can define imagemagick directory.
$conf['ext_imagick_dir'] = '/usr/local/bin/';//change with own path!

Ask to your hoster for the path to the Imagemagick binaries.

Problem not solved?

If this didn't help you, post on the forum : be polite, write what you did, and add an url to your gallery, Thanks.

Back to top
user_documentation/faq/pictures_missing.txt · Last modified: 2016/04/14 09:36 by flop25
github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact