Thanks ,that works fine.
One thing, i wil change the code from the thumb
for some reason i wil put a div arount the image tag
... , but cant find the code.
(2015-11-11, 07:43:35)Frens Wrote: [ -> ]Thanks ,that works fine.
One thing, i wil change the code from the thumb
for some reason i wil put a div arount the image tag
... , but cant find the code.
If I understood you correctly - You want that Thumbs IMG tag would be inserted between DIV tags?
If I am right - than you can modify
admin\template\js\ckeditor\plugins\thumb\dialogs\thumb.js file's line #112 as follow:
Code:
reff.setHtml( '<div class="thumb-image"><img alt="'+data.txtAlt+'" src="'+data.file_url+'" style="'+styles+'" /></div>' );
Good luck. Andrejus.
Hi,
Change in he config.php
Code:
'fixed_image_creation' => true,
'fixed_path_from_filemanager' => array( '../../data/thumbs/' ),
'fixed_image_creation_name_to_prepend' => array( '' ),
'fixed_image_creation_to_append' => array( '' ),
'fixed_image_creation_width' => array( 200 ),
'fixed_image_creation_height' => array(160 ),
'fixed_image_creation_option' => array( 'crop', 'auto' ),
It works fine , but when upload a file it shows a X with a message: Server error (the image is upload).
Furder
When upload a new file there are 2 files in the map, sample:
my_file.jpg and my_file_thumb.jpg which is not desired?!
(2015-12-07, 20:39:23)Frens Wrote: [ -> ]Hi,
Change in he config.php
Code:
'fixed_image_creation' => true,
'fixed_path_from_filemanager' => array( '../../data/thumbs/' ),
'fixed_image_creation_name_to_prepend' => array( '' ),
'fixed_image_creation_to_append' => array( '' ),
'fixed_image_creation_width' => array( 200 ),
'fixed_image_creation_height' => array(160 ),
'fixed_image_creation_option' => array( 'crop', 'auto' ),
It works fine , but when upload a file it shows a X with a message: Server error (the image is upload).
Furder
When upload a new file there are 2 files in the map, sample:
my_file.jpg and my_file_thumb.jpg which is not desired?!
Hi, Frens.
If you modify config.php in your installation with a code above then everything should work as needed.
In
data/uploads catalog should appear uploaded image and in
data/thumbs catalog should appear his thumbnail with the same name and 200x160px dimensions.
If you have the otherwise - therefore you missed something or directory structure on your site nonstandard (changed from default).
I now again trying on my sites to send images with the following parameters and to me everything went well and without any server errors.
Thanks for comment
It works , thats no problem.
But normally the folder shows ONE image , i think thats the best way. (it is also standard)
So mayby there is a othter method only change the widht of 122px from the image
(2015-12-09, 19:14:06)Frens Wrote: [ -> ]Thanks for comment
It works , thats no problem.
But normally the folder shows ONE image , i think thats the best way. (it is also standard)
So mayby there is a othter method only change the widht of 122px from the image
No other method to change the thumbs width of 122px to desired in RFM.
Only the above-described method when changed settings in the file config.php
It is strange that to you created 2 files in the same directory. Perhaps incorrectly identified the main catalogs path in config.php
I suggest you to check these settings:
'upload_dir'
'current_path'
'thumbs_base_path'
To me on local server (XAMPP) they are as follows:
'upload_dir' => '/getsimple/data/uploads',
'current_path' => '../../data/uploads',
'thumbs_base_path' => '../../data/thumbs',
On web server (GS installed in the sub catalog, not in the root) they are as follows:
'upload_dir' => '/projects/getsimple/data/uploads',
'current_path' => '../../data/uploads',
'thumbs_base_path' => '../../data/thumbs',
On both servers RFM plugin works as needed.
Thanks its Ok now
'fixed_image_creation_width' => array( 200 ),
'fixed_image_creation_height' => array(160 ),
I try to let the image height Scale along the widht this way , but not work, an idea?
'fixed_image_creation_width' => array( 200 ),
'fixed_image_creation_height' => array( ),
(2015-12-13, 06:19:06)Frens Wrote: [ -> ]Thanks its Ok now
'fixed_image_creation_width' => array( 200 ),
'fixed_image_creation_height' => array(160 ),
I try to let the image height Scale along the widht this way , but not work, an idea?
'fixed_image_creation_width' => array( 200 ),
'fixed_image_creation_height' => array( ),
If you use only one parameter ('fixed_image_creation_width' or 'fixed_image_creation_height') and second parameter leave an empty meaning that it will be generated automatically. So can be used only one option 'fixed_image_creation_option' set to auto. Like that:
Code:
'fixed_image_creation_option' => array( 'auto' ),
If you use parameter 'crop' - you must provide both image dimensions. So if you want that thumbs will be generated according to set width to 200px and height will set automatically you need to change the settings as follows:
Code:
'fixed_image_creation' => true,
'fixed_path_from_filemanager' => array( '../../data/thumbs/' ),
'fixed_image_creation_name_to_prepend' => array( '' ),
'fixed_image_creation_to_append' => array( '' ),
'fixed_image_creation_width' => array( 200 ),
'fixed_image_creation_height' => array( '' ),
'fixed_image_creation_option' => array( 'auto' ),
By the way, if you have problems with that's method You can be forced to change thumbs creation default settings in file
responsivefilemanager/upload.php
For that open the file in editor, find line #92 and change dimensions according to your wishes. For example follows:
Code:
if ( ! create_img($targetFile, $targetFileThumb, 200, 160))
Now all new thumb images will have width: 200px and height: 160px by default.
I have try it all , but for me its not working good.
sample:
Wil make a image widht 320px , height scalable to the widht
(2015-12-16, 20:37:13)Frens Wrote: [ -> ]I have try it all , but for me its not working good.
sample:
Wil make a image widht 320px , height scalable to the widht
Well, I do not know what else I can help you.
If someone you do not go out - it does not mean that the fault of the plugin. Sorry...
(2015-12-17, 16:32:01)asemion Wrote: [ -> ] (2015-12-16, 20:37:13)Frens Wrote: [ -> ]I have try it all , but for me its not working good.
sample:
Wil make a image widht 320px , height scalable to the widht
Well, I do not know what else I can help you.
If someone you do not go out - it does not mean that the fault of the plugin. Sorry...
I not say that its a fault of the plugin, try to find out ....
You help me great!
(2015-12-17, 21:14:37)Frens Wrote: [ -> ]I not say that its a fault of the plugin, try to find out ....
You help me great!
As I wrote previously, everything is done by editing settings.php file. To solve your task (image width 320px , height scalable to the width) you need to change the code as follows:
Code:
'fixed_image_creation' => true,
'fixed_path_from_filemanager' => array( '../../data/thumbs/' ),
'fixed_image_creation_name_to_prepend' => array( '' ),
'fixed_image_creation_to_append' => array( '' ),
'fixed_image_creation_width' => array( 320 ),
'fixed_image_creation_height' => array( '' ),
'fixed_image_creation_option' => array( 'auto' ),
(2015-08-26, 06:40:43)Oleg06 Wrote: [ -> ]my editor looks like this
http://prntscr.com/88uiw6
after installing the plugin additional buttons disappear
http://prntscr.com/88ujca
Hi,
I would like to know which Editor you are using, it looks powerful.
I have been using the default editor, lack of features
Thanks and regards,
T.
(2016-01-15, 00:18:13)thangnaodo Wrote: [ -> ]I would like to know which Editor you are using, it looks powerful.
I have been using the default editor, lack of features
Hi. I use standard CKEditor which goes with GS.
Newest GS 3.3.7 has CKEditor v. 3.6.6
By default activated mode is "basic", so you and missing features. Set up "advanced" mode and you will be lucky enough to.
My Editor with advanced mode also looks much like to Oleg.
I can't seem to change the language back to english. I can switch to all the other languages though.
(2016-04-16, 13:36:48)mengi Wrote: [ -> ]I can't seem to change the language back to english. I can switch to all the other languages though.
The default language RFM is determined from site language (Administration area Tab Settings -> Language).
But user can change the desired language just in the RFM window with button "change language" (globe picture):
This change is stored until the session is valid.
Version changed to 2.2
Plugin changes:
- The kernel version has upgraded to ver. 9.10.2.
- From the administration page has been removed following elements: "Load PrettyPhoto JavaScript" and "Load FancyBox JavaScript". Now they will be loaded automatically (when necessary).
- To the administration page add new area "Thumbnails creation settings" where you can define a new thumbnail creation parameters. The descriptions and examples are available at this area.
- In the CKEditor Thumbnail dialog window to the Thumbnail target element add a new parameter "BaguetteBox". BaguetteBox is a lightweight, independent (no JQuery required) Javascript which allows you to create image galleries. In order to create a new gallery you need: from Thumbnail target list choose "BaguetteBox", if the image is the first in the gallery additionally check the "Start a new gallery" checkbox.
- Thumbnail insertion code was changed in a way that allows you to create galleries. Therefore, you can not use any additional plugins.
How to create a picture gallery with RFM without any additional plugins. Open or create a gallery page. Click CKEditor toolbar button Insert thumbnail. Select the image and make the required settings. If you use BaguetteBox for the first image, check "Start a new gallery" checkbox. After the first image will be inserted place the cursor to the right from this image and then click the button "Insert thumbnail", select the image, customized settings but uncheck the checkbox " Start a new gallery". Repeat for other images. If you not use BaguetteBox checkbox " Start a new gallery" will be not shown.
If you are using Prettyphoto or Fancybox - just insert images one after another.
Is there a way to add Responsive File Manager to the ckeditor in News Manager?
I have Responsive FileManager CKEditor integration set up for gs but it's not carrying thru to the News Manager
Thanks
John
I have to look at this to check if there's a better way, but for the moment... this works for me:
Add this to your gsconfig.php file
Code:
define('GSEDITOROPTIONS', '
filebrowserBrowseUrl:"../plugins/responsivefilemanager/dialog.php?type=2&lang=en&editor=ckeditor&fldr=",
filebrowserImageBrowseUrl:"../plugins/responsivefilemanager/dialog.php?type=1&lang=en&editor=ckeditor&fldr=",
filebrowserWindowWidth:"75%",
filebrowserWindowHeight:"60%"
');
(only for the ckeditor - not for the optional image selection in post options)
Carlos,
thanks for the tip but that didn't work for me
unless I did it wrong and that is always a possibility
I'm trying to make the editor in News Manager
look like the one in gs after added Responsive File Manager
I think I am used to the page editors being universal across all the whole site and I am having trouble wrapping my mind around having different settings for the same editor across plugins
John
Apologies, I did a quick test to check if the image browser worked, but didn't notice the toolbars were different.