#54 Enable passback of extra info from custom image browser

Version 2.x
closed
Editor (144)
5
2014-08-26
2004-12-23
Ben Noblet
No

File: /editor/dialog/js/fck_image.js
Change: Add this new function

function SetImage( url, width, height, alt )
{
GetE('txtUrl').value = url ;
GetE('txtWidth').value = width ;
GetE('txtHeight').value = height ;
GetE('txtAlt').value = alt;

UpdatePreview() ;
UpdateOriginal( true ) ;
}

Reason: This can be called by a custom image browser to
insert more information about the image such as Alt
tag, height and width. When used in many CMS products,
this information is know about the image.

Discussion

  • Frederico Caldeira Knabben

    • assigned_to: nobody --> fredck
     
  • Frederico Caldeira Knabben

    Logged In: YES
    user_id=572424

    Version 2.0 RC3 brings this feature.

     
  • Frederico Caldeira Knabben

    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks