The picture in the console is not displayed when I try to edit it with built-in tools for installing thumbnails. The most interesting thing is that everything works on the local server. In the picture below you can see how it looks.

Already completely reloaded the site and re-created the database, I don’t know which file is responsible for this, so I don’t go to the admin code yet ..

enter image description here

  • maybe on the hosting there is no php module for working with php-gd images? - Dmitry V. Nov.
  • and unless there are modules which cannot be sewed by the code? In terms of this, I don’t understand why I need a module for PHP at all, and secondly, how to check or install it ... - Telion
  • <?php phpinfo(); ?> hosting script with <?php phpinfo(); ?> <?php phpinfo(); ?> and see if there are any php-gd active modules / extensions there. If not, you need a lot more information about where you have this hosting and what it represents to give an answer. Offhand "apt-get install php-gd" - Dmitry V.
  • You are right, I did not find such a module, but if it cannot be downloaded to the server, I can hardly connect it. I have free hosting, I check it for the future, possible cooperation. I understand that I should go to them in support ... - Telion
  • Heroku has gd like. But yes, ask support, maybe there is some way to activate the module. Something popular expansion. - Dmitry V. Nov.

3 answers 3

There was such a problem, on the hosting version of php 5.4 was, put the version of php 5.5 earned.

  • PHP Version 5.5.26 - Telion
  • Is PHP Version 5.5.26 now worth it? - Valery Emelyanov
  • Yes, I have this version of PHP - Telion
  • Pictures then by chance not on the Russian layout are called. Try to call the picture exactly English. letters (for example, "footbal") and repeat the procedure. - Valery Emelyanov
  • The title of the picture had spaces, but not Russian letters. Calling the picture in English letters, no changes are observed. - Telion

There are usually two reasons. Either there are no pictures in principle, or since you have a big picture and you have restrictions on the processing of files of this size. Try to reduce weight and perezalit.

  • And how to change the limit? More precisely, it works on LAN, do you have limitations php.ini? - Telion
  • max_input_time = number The maximum possible time in seconds that the script can spend on processing the loaded data. memory_limit = 8M The maximum amount of memory allocated to the script, for example, is 8 MB. - Basil Jimmy
  • But first, open the picture in the browser along the way. She could simply not be filled. - Basil Jimmy
  • The picture is exactly present on the server, I choose it from the list of pictures in the "multimedia" section. The problem is that the php.ini file is not available to me because of the free free hosting, but the following values ​​are set: max_input_time 30 memory_limit 128M - Telion
  • Sorry, host-food.ru . Move over 300r per year. - Basil Jimmy

Check whether the php-gd module is installed on the server. According to this answer, it is necessary.

  • one
    Thank you. I went to ask for support. - Telion
  • I'm sorry, but the answer is not in this library. I did not carefully look through the information in the php.ini file, but support showed me this: GD Support enabled GD Version bundled (2.1.0 compatible) - Telion
  • @Levelleor, turn on all errors and look at error.log - Dmitry V.
  • I do not have access to the php.ini file, but replacing the line define ('WP_DEBUG', false); define ('WP_DEBUG', true); I received not a small list of errors ... True, all the errors, in theory, are the same from the topic and look like this: "Notice: Undefined index: id in / home / u263743197/public_html/wp-content/themes/orange_flash/functions/theme_options.php on line 812 ", and a few bugs are not from the topic, but belong to footer and sidebar. Perhaps I will correct these 2 now. - Telion
  • Well, this is not something, you need to look for the image-edit, I think. In general, this fortune telling on the coffee grounds :) but probably the problem with the server configuration. - Dmitry V. Nov.