-
☆ A M B ☆
- 1,031 Posts
0.9 works fine here. Is there any way to exclude the big image from resampling?
Translated the config to 0.9
Regards
Jako
In the 0.9 everithing is possible

Just wait some time while Fuzzy from russian-speaking community will able to find the time to translate all the docs.
PS You can set big_width (default 800px) and big_height (default 600px) to very big values, and the big image will never be resampled.
DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. |
DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.
Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.
[PLUGIN] DirectResize - as Maxigallery but for single images ::
Download :: [url=
http://modxcms.com/forums/index.php/topic,21490]
-
☆ A M B ☆
- 1,031 Posts
The new lines could cause a problem with the path.
@presson83 Did you check OnBeforeDocFormSave in plugin system events? DirectResize must convert PHPThumb src format to normal before document will be saved.
@Jako Plugin must correctly work with empty lines in $path parameter.
@Soshite Image is not resized because width or height of thumb is not set in config or source code.
$dr_local["thumb_width"]["all"] = 100; // we will use thumb, not big image.
$dr_local["thumb_height"]["all"] = 100;
$dr_local["thumb_use_defaults"]["all"] = 4; // override width/height settings of image, all size settings in source code will be ignored
or just set image width/height in source:
<img src="manga/vesperia/main/1.jpg" alt="Tales of Vesperia Manga (Page 1)" width="100" height="100" />
DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. |
DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.
Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.
[PLUGIN] DirectResize - as Maxigallery but for single images ::
Download :: [url=
http://modxcms.com/forums/index.php/topic,21490]
I have an image that I am using as a link and I dont want DR to touch it.
Is there a way to omit a resized image?
DR will be resize images that allowed to resize in $dr_global["path"] parameter. Default is assets/images.
You can create new folder like assets/images/dr and put there files you want to resize. Than in assets/plugins/directresize/config/ folder in your config file set path parameter
$dr_global["path"] = "assets/images/dr";
Now DR will be resize images only in this folder, not others.
DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. |
DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.
Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.
[PLUGIN] DirectResize - as Maxigallery but for single images ::
Download :: [url=
http://modxcms.com/forums/index.php/topic,21490]