Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
image path in GS 3.x.x
#9
if i use exec_php plugin i get the correct path but i have to implement all images by hand Sad

I see you are active in the ckeditor forum to did you found any solution to fix this (not get simple issue)
directly inside ckeditor?

I search inside the .js file of ckeditor and i see that ckeditor use a function called .geturl to find his own installation location.

Is there any possibliliy to make a plugin like fancy box to use this geturl
function to find all ways the correct path of the images is we use ckeditor inside get simple ?

part of the ckeditor docs:
Code:
getUrl( resource ) : String

Gets the full URL for CKEditor resources. By default, URLs returned by this function contain a querystring parameter ("t") set to the timestamp value.

It is possible to provide a custom implementation of this function by setting a global variable named CKEDITOR_GETURL. This global variable must be set before the editor script loading. If the custom implementation returns nothing (==null), the default implementation is used.

// e.g. 'http://www.example.com/ckeditor/skins/default/editor.css?t=87dm'
alert( CKEDITOR.getUrl( 'skins/default/editor.css' ) );

// e.g. 'http://www.example.com/skins/default/editor.css?t=87dm'
alert( CKEDITOR.getUrl( '/skins/default/editor.css' ) );

// e.g. 'http://www.somesite.com/skins/default/editor.css?t=87dm'
alert( CKEDITOR.getUrl( 'http://www.somesite.com/skins/default/editor.css' ) );

Parameters

    resource : String

    The resource whose full URL we want to get. It may be a full, absolute, or relative URL.

Returns

    String

    The full URL.
Reply


Messages In This Thread
image path in GS 3.x.x - by phpman - 2014-04-27, 01:01:14
RE: image path in GS 3.x.x - by Timbow - 2014-04-27, 05:01:37
RE: image path in GS 3.x.x - by Carlos - 2014-04-27, 18:11:09
RE: image path in GS 3.x.x - by shawn_a - 2014-04-27, 11:01:46
RE: image path in GS 3.x.x - by phpman - 2014-04-27, 21:36:49
RE: image path in GS 3.x.x - by phpman - 2014-04-27, 23:39:38
RE: image path in GS 3.x.x - by shawn_a - 2014-04-28, 00:09:43
RE: image path in GS 3.x.x - by phpman - 2014-04-28, 05:40:17
RE: image path in GS 3.x.x - by phpman - 2014-04-28, 23:04:25
RE: image path in GS 3.x.x - by phpman - 2014-04-29, 00:45:12
RE: image path in GS 3.x.x - by phpman - 2014-04-29, 00:59:32
RE: image path in GS 3.x.x - by shawn_a - 2014-04-29, 01:03:44
RE: image path in GS 3.x.x - by phpman - 2014-04-29, 01:08:03
RE: image path in GS 3.x.x - by Carlos - 2014-04-29, 01:20:11



Users browsing this thread: 1 Guest(s)