{"action":"created","issue":{"url":"https://api.github.com/repos/altocms/altocms/issues/614","labels_url":"https://api.github.com/repos/altocms/altocms/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/altocms/altocms/issues/614/comments","events_url":"https://api.github.com/repos/altocms/altocms/issues/614/events","html_url":"https://github.com/altocms/altocms/issues/614","id":96085040,"number":614,"title":"Фотографии остаются на серваке после удаления из фотосета","user":{"login":"bambarbia-kergudu","id":13256983,"avatar_url":"https://avatars.githubusercontent.com/u/13256983?v=3","gravatar_id":"","url":"https://api.github.com/users/bambarbia-kergudu","html_url":"https://github.com/bambarbia-kergudu","followers_url":"https://api.github.com/users/bambarbia-kergudu/followers","following_url":"https://api.github.com/users/bambarbia-kergudu/following{/other_user}","gists_url":"https://api.github.com/users/bambarbia-kergudu/gists{/gist_id}","starred_url":"https://api.github.com/users/bambarbia-kergudu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bambarbia-kergudu/subscriptions","organizations_url":"https://api.github.com/users/bambarbia-kergudu/orgs","repos_url":"https://api.github.com/users/bambarbia-kergudu/repos","events_url":"https://api.github.com/users/bambarbia-kergudu/events{/privacy}","received_events_url":"https://api.github.com/users/bambarbia-kergudu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-20T15:08:33Z","updated_at":"2015-07-21T19:49:21Z","closed_at":null,"body":"После удаления ранее загруженных фоток из топиков с фотосетами они остаются лежать на серваке мертвых грузом (не показываются ни в админке, ни в окне выбора фоток в текстовом редакторе). Может быть, стоит подумать о механизме очистки, типа как с пересчетом статистики у блогов, пусть даже функция и будет не динамической — например, в админке нажал кнопку, скрипт проверил и удалил не связанные с топиками и людьми фотки. Очень много мусора остается, опять сторонние костыли придется искать, как было с Пылесосом в ЛС."},"comment":{"url":"https://api.github.com/repos/altocms/altocms/issues/comments/123459626","html_url":"https://github.com/altocms/altocms/issues/614#issuecomment-123459626","issue_url":"https://api.github.com/repos/altocms/altocms/issues/614","id":123459626,"user":{"login":"inliquid","id":6797881,"avatar_url":"https://avatars.githubusercontent.com/u/6797881?v=3","gravatar_id":"","url":"https://api.github.com/users/inliquid","html_url":"https://github.com/inliquid","followers_url":"https://api.github.com/users/inliquid/followers","following_url":"https://api.github.com/users/inliquid/following{/other_user}","gists_url":"https://api.github.com/users/inliquid/gists{/gist_id}","starred_url":"https://api.github.com/users/inliquid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inliquid/subscriptions","organizations_url":"https://api.github.com/users/inliquid/orgs","repos_url":"https://api.github.com/users/inliquid/repos","events_url":"https://api.github.com/users/inliquid/events{/privacy}","received_events_url":"https://api.github.com/users/inliquid/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T19:49:21Z","updated_at":"2015-07-21T19:49:21Z","body":"Да это все я уже писал в сообществе не раз, с примерами, немного другими словами\r\n\r\nhttp://altocms.ru/750.html - здесь много комментариев моих и не только\r\nИ здесь тоже http://altocms.ru/749.html\r\n\r\nИ вот с примером \r\nhttp://altocms.ru/1029.html#comment18974\r\n\r\n\r\nКак сделано сейчас конечно не удобно и не очень логично."}}