Differences

This shows you the differences between two versions of the page.

Link to this comparison view

user_documentation:faq:pictures_missing [2012/11/03 17:55]
flop25 [Using Imagemagick]
user_documentation:faq:pictures_missing [2016/04/14 11:36] (current)
flop25 [3) I see the thumbnails, but nothing or missing pictures on the public side]
Line 1: Line 1:
-====== FAQ-Debug : My pictures don't appear!======+====== [FAQMy pictures don't appear!======
  
 Follow the questions and instructions <wrap info>Don't understand a technical word? Please Google it or search on the Piwigo Documentation</wrap> Follow the questions and instructions <wrap info>Don't understand a technical word? Please Google it or search on the Piwigo Documentation</wrap>
-<WRAP center round important 60%> +
-still under construction +
-</WRAP>+
  
  
 ===== 1) Are your pictures registered?===== ===== 1) Are your pictures registered?=====
  
-In the administration, go to the batch manager and select an album : once you validated the filter, some thumbnails should appear : +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 added to large picture, according to page //**Photos->Add**// "20MB. jpeg, png, gif." for example. +  * if you get a "No photo in the current set.", the upload failed : be sure you didn't add too large 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 the paragraph 2 +  * 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 the paragraph 3+  * if you see "XX photos in current set" and the thumbnails, read paragraph 3
  
 ===== 2) My pictures are registered, but no thumbnails!===== ===== 2) My pictures are registered, but no thumbnails!=====
  
 Since 2.4, Piwigo has an automatic generation system for thumbnails and other resized pictures. Since 2.4, Piwigo has an automatic generation system for thumbnails and other resized pictures.
-Piwigo call i.php to generate the resized picture in ./_data/i/, then directly calls the resized picture from ./_data/i/. +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 too big or with a wrong extensions, not enough permission on files/folders etc+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
  
-  - Check if an error is returned by the i.php url : 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. +  - 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. 
-    -  "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 right on your server +    -  "source not found" : check by Ftp, if the source picture exists and if the permissions of the file is enough (Chmod : 755 folders644 files). If it's still not solved, be sure the Php user/system has enough rights on your server 
-    - "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 right on your server+    - "dir create error" : check by Ftp, if the permissions of the folders are set right (Chmod : 755 folders644 files). If it's still not solved, be sure the Php user/system has enough rights on your server
     - "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     - "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
-    - 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 loose any customization or pictures. +    - 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. 
-    - 403 error page : check the permission on the file i.php (and the other files also). Chmod : 755 folders 644 files. +    - 403 error page : check the permission on the file i.php (and the other files also). Chmod : 755 folders644 files. 
-    - "500 Internal error page" or "PHP Fatal Error: Allowed memory size of ..." : many problem may cause this error. If some pictures are generated and other not, it might be due to an overload of your server (just wait 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 Imagemagik [see below the paragraph related to Imagemagik]+    - "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]
   - No message?    - No message? 
-    - With Localfiles Editor, put this local config variable : $conf['enable_i_log'] = true; . Then try to generate some size with the Batch mananger. Once you 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+    - 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
     - 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     - 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===== ===== 3) I see the thumbnails, but nothing or missing pictures on the public side=====
  
-Most of cases are permissions issues :+Most cases are permissions issues :
   - 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. <wrap info>   - 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. <wrap info>
-On the Batch Manager, if the picture has a level of privacy different than "Everyone", it's written right on the thumbnails.+On the Batch Manager, if the picture has a level of privacy different from "Everyone", it's written right on the thumbnails.
 </wrap> </wrap>
-  - Check the visibility of the albums : Go to //**Album->Properties**//, and check of the albums are private or not. If there 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 you can see that album, by clicking on "Show Details". <wrap info>Enable the plugin Multi View, 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</wrap>+  - 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". <wrap info>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</wrap>
  
 ===== Using Imagemagick ===== ===== 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 using changing of Graphical Library. Use the following variables with Localfiles Editor :+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 :
 <code php> <code php>
 // Library used for image resizing. Value could be 'auto', 'imagick', // Library used for image resizing. Value could be 'auto', 'imagick',
Line 49: Line 47:
 // If library used is external installation of ImageMagick ('ext_imagick'), // If library used is external installation of ImageMagick ('ext_imagick'),
 // you can define imagemagick directory. // you can define imagemagick directory.
-$conf['ext_imagick_dir'] = '/usr/local/bin/convert';//change with own path!+$conf['ext_imagick_dir'] = '/usr/local/bin/';//change with own path!
 </code> </code>
 <wrap info>Ask to your hoster for the path to the Imagemagick binaries.</wrap> <wrap info>Ask to your hoster for the path to the Imagemagick binaries.</wrap>
Line 55: Line 53:
 ===== Problem not solved? ===== ===== Problem not solved? =====
  
-If it didn't help you, post on the forum : be polite, write what you did, and add an url to your gallery, Thanks.+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.1351961715.txt.gz · Last modified: 2012/11/03 17:55 by flop25
 
 
github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact