You are not logged in.

  • Index
  •  » Support
  •  » Modify image URLs created by MCImageManager/TinyMCE?

#1 2010-07-21 13:24:26

Ewan
Member
Registered: 2010-07-21
Posts: 1

Modify image URLs created by MCImageManager/TinyMCE?

All installed and configured, and able to upload and view images in the folders without a problem, and it all looks excellent, recommendations to you guys on that.

My situation is as follows: When a user is registered in my application, I create a folder for them ABOVE the root, so that I can control access to the images, and security is tight. For that reason, I need to be able to modify the image url's that TinyMCE inserts into content when I select an image for insertion from the manager - instead of it inserting a relative or absolute url, I want to pass it a custom URL like the following - http://myhost.com/myPHPImageAccessContr … e_name.jpg

Can you tell me how I can do that? If it's not something I can configure using the configuration options, I'm happy to amend the source code, if you can tell me where that's done

thanks

Offline

 

#2 2010-07-25 10:43:02

spocke
Administrator
From: Sweden, Skellefteċ
Registered: 2004-11-25
Posts: 11473
Website

Re: Modify image URLs created by MCImageManager/TinyMCE?

You can use the preview.urlprefix option to add a script to be used for serving files.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 
  • Index
  •  » Support
  •  » Modify image URLs created by MCImageManager/TinyMCE?

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB