takashi331
フォーラムへの返信
6件の返信を表示中 - 1 - 6件目 (全6件中)
-
フォーラム: 使い方全般
返信が含まれるトピック: サーバの容量が1日でMAXになってしまうありがとうございます!
しばらく検証してみます!フォーラム: 使い方全般
返信が含まれるトピック: サーバの容量が1日でMAXになってしまうありがとうございます!
やってみます!
この度はご親切に大変ありがとうございました^^フォーラム: 使い方全般
返信が含まれるトピック: サーバの容量が1日でMAXになってしまうお世話になります。
phpThumbのキャッシュに関係ありそうな
phpThumb.config.php
というファイルの関係しそうな部分を見つけたので、貼付けさせていただきます。// * Cache culling: phpThumb can automatically limit the contents of the cache directory // based on last-access date and/or number of files and/or total filesize. //$PHPTHUMB_CONFIG['cache_maxage'] = null; // never delete cached thumbnails based on last-access time $PHPTHUMB_CONFIG['cache_maxage'] = 86400 * 30; // delete cached thumbnails that haven't been accessed in more than [30 days] (value is maximum time since last access in seconds to avoid deletion) //$PHPTHUMB_CONFIG['cache_maxsize'] = null; // never delete cached thumbnails based on byte size of cache directory $PHPTHUMB_CONFIG['cache_maxsize'] = 10 * 1024 * 1024; // delete least-recently-accessed cached thumbnails when more than [10MB] of cached files are present (value is maximum bytesize of all cached files) //$PHPTHUMB_CONFIG['cache_maxfiles'] = null; // never delete cached thumbnails based on number of cached files $PHPTHUMB_CONFIG['cache_maxfiles'] = 200; // delete least-recently-accessed cached thumbnails when more than [200] cached files are present (value is maximum number of cached files to keep) // * Source image cache configuration $PHPTHUMB_CONFIG['cache_source_enabled'] = false; // if true, source images obtained via HTTP are cached to $PHPTHUMB_CONFIG['cache_source_directory'] $PHPTHUMB_CONFIG['cache_source_directory'] = dirname(__FILE__).'/cache/source/'; // set the cache directory for unprocessed source images // * cache source modification date configuration $PHPTHUMB_CONFIG['cache_source_filemtime_ignore_local'] = false; // if true, local source images will not be checked for modification date and cached image will be used if available, even if source image is changed or removed $PHPTHUMB_CONFIG['cache_source_filemtime_ignore_remote'] = true; // if true, remote source images will not be checked for modification date and cached image will be used if available, even if source image is changed or removed. WARNING: cached performance MUCH slower if this is set to false.
なにか数字をいじれば良さそうな気がするのですが、アドバイスお願いいたします!
フォーラム: 使い方全般
返信が含まれるトピック: サーバの容量が1日でMAXになってしまうありがとうございます!
まさに、php Thumbというものを使っているようです。
プラグインというよりも、カスタムテーマに組み込まれたような形で使っています。URLは、WPの設置場所が
●●●.sakura.ne.jp
で、
サイトのほうは独自ドメインになりますので、画像の置き場所とサイトのURLは異なります。・リサイズの制限
→これはどのように行えば良いでしょうか?テーマにサムネイルの生成が組み込まれているので、何とか現状のまま改善できればと思います。。
大変お手数ですが、ご意見の程、よろしくお願いします!フォーラム: 使い方全般
返信が含まれるトピック: サーバの容量が1日でMAXになってしまうありがとうございます!
たぶんそういうことなんだと思うのですが、どの記述が該当するのか分かりません・・・
可能性として、どのファイルのどういう記述か等、見当がつくものでしょうか??
よろしくお願いします!フォーラム: 使い方全般
返信が含まれるトピック: トップの記事の表示期間を自動指定したいありがとうございます!!
アドバイスの内容でやりたいことができました^^
詳しく解説いただいて、本当にありがとうございます。
6件の返信を表示中 - 1 - 6件目 (全6件中)