NetTalk Central

Author Topic: change upload path for Redactor images?  (Read 4246 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
change upload path for Redactor images?
« on: September 22, 2015, 12:34:07 AM »
Hi

On a form I have a text field (redactor). And dragging images into works great.
But I would like to have a folder for each record holding the Redactor imbedded images. How to set the path?

Regards Niels

MyBrainIsFull

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Re: change upload path for Redactor images?
« Reply #1 on: September 22, 2015, 07:33:58 PM »
Its easy,  for a detailed explanation go to the net talk user group webinar 37

http://www.capesoft.com/accessories/NetTalkUserGroup.htm

A direct link to the show is here
http://www.capesoft.com/ftp/public/webinars/UG_NT037_20140925_NetTalkUserGroupMeeting37.wmv

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: change upload path for Redactor images?
« Reply #2 on: September 23, 2015, 03:21:16 AM »
Thanks - works great... but. Something goes wrong if i use the loggedin path insted of the uploads path.
Any ideas??


MyBrainIsFull

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Re: change upload path for Redactor images?
« Reply #3 on: September 23, 2015, 07:05:15 PM »
Help me here Niels to understand what you see as a "loggedin"  path ?
Are you changing where the server points to when the user logs in ?
To help me understand what you are doing, either post a small app showing the problem
OR try this below.

I have a quiz app in C:\MyApp    I do this for students doing a quiz, they upload redactor images to  C:\MyApp\Web\Uploads\Image101.PNG

I create a directory as C:\MyApp\Web\Students\Niels

then rename the image to be saved as
C:\MyApp\Web\Students\Niels\Image101.PNG

This way it saves it in your folder and I save the image filename in the TPS file as Students\Niels\Image101.PNG   as its all  "Web"  relative filenames

Is this what you are trying to do ?

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: change upload path for Redactor images?
« Reply #4 on: September 28, 2015, 10:51:42 AM »
Now it works. I had a \\ in my path.

Thanks!!!!!