Hello.
Sorry for my english, part of text is translated with google...
Here is my first release of plugin DirectResize ver. 0.8.0. This version of the plugin is based on idea and developments of Arnaud, the author of previous versions of the DirectResize.
I did not have much time to complete writing of plugin, testing and translating documentation. So i release it only now.
I have many ideas, some of them have been realized, some not, release the plugin permanently detained because wanted to do everything and immediately. I cant to do all the test by myself, it is simply impossible, if you add new functions could be that old stopped working.
So please report about all found bugs here. And of course write your ideas. And please - try to use very simple phrases in your reports if it's possible, i don't know english very well. Thank you!
Detailed documentation on the pluging is inside the archive. Here is only discription
Short and simpleIts like Maxigallery but for single images.
FullFully customizable plugin with a number of functions like: automatic thumbnails creation, watermarking (text or transparent PNG), using config files to set plugin parameters, big images openning with AJAX (lightbox, slimbox, highslide...), fully templateable output, thumbnails for WYSIWYG-editor etc...
Features * Possible to integrate any javascript display mode: Slidebox, Lightbox v2.0, Slimbox, Highslide etc
* Watermarking (text or transparent PNG)
* Plugin settings in the config file with a big number of plugin parameters
* Fully templateable output
* Using plugin to show a remote images
* Special preview for WYSIWYG-editor
* Creation of thumbnails with cropping
* New images will be generated if it is needed, in other cases they will be taken from the cache
* Support for JPG and PNG files (GIF is not currently supported)
How it worksFirst of all this plugin is intended for using with the WYSIWYG-editor and the target audience of plugin users is the clients who doesn’t have any knowledges in web-development and HTML and who needs to use images in the text with thumbnails. It would be rather uneasy to explain such man that firstly it is necessary to create the reduced copy of the image, then to insert it into the document through the WYSIWYG-editor and after it to make a hyperlink to the big image.
So the actions have been simpified to the minimum – when the big image is inserted to the text and the sizes of the thumbnail are established the plugin will create automatically the thumbnail with needed hyperlinks.
Also while the opening of a document that has such images the thumbnails will be displayed with a special watermark in the WYSIWYG-editor instead of the big images. This watermark speaks conditionally that the given image is not small image only but it is a hyperlink to the big image and it allows to tell the difference between such images and the really small images that can be in the document.
If the sizes of the thumbnails is changed then in the next using of the plugin will be created new thumbnails in compliance with new sizes.
Of course you can use the plugin without the WYSIWYG-editor simply when you insert the image as HTML-code or TV.
BugfixesIt will be included in the main package later.
* bug with duplicate names in the same document
* bug with using DirectResize and MaxiGallery in the same document
* if lightbox word is used in template (rel="lightbox") plugin removes it from output html as label name (see readme). So label names was changed to drlightbox and drthumbonly
* bug causing the message "Fatal error: Call to undefined function: size() in ...assets\plugins\directresize\directResize.php on line 141" (if file is not exist by path taken from img tag)
* big image and lightbox link is not created when using lightbox_mode = 1 and "drlightbox" label
+ add new label - drskip. Images with this label is not processed by plugin.
* bug with gif-images on the page
* fix with ftp commands
+ new placeholders for style, align, valign of a source image
+ absolute path for images is now supported and correctly works (File Manager Path in System configuration must be correctly set)
+ New parameter $allow_from_allremote. This parameter allowed to use plugin on all images from remote sources w/o needed to list them all in $allow_from
New in repository release* Highslide updated to 3.3.6
+ Added standart configuration packs for slimbox, slidebox, lightbox v2
Added to repository
http://modxcms.com/DirectResize-0.8.0-1804.html