Skip Navigation

[Closed] chnage folder of cutom image upload field

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 10 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 4 replies, has 3 voices.

Last updated by Timothy 10 years, 2 months ago.

Assisted by: Adriano.

Author
Posts
#161077

Hi,

Please help me, if i use image upload feild then how can i change folder path from upload to some other?

Thanks
SAJID

#161144
media-settings.jpeg

Dear sajidm,

We use the defaul upload patch which WordPress uses. So to change it, you need to change the defaul one. You need to edit the wp-config.php file located in the root directory of your WordPress installation. If you want upload directory to be wp-content/files then you will need to place the following code in wp-config.php:

define( 'UPLOADS', 'wp-content/'.'files' );

If you want the upload directory to be outside wp-content, like hidden link then you need to set upload path in wp-config.php like this:

define( 'UPLOADS', ''.'files' );

Remember you can still choose whether or not you want uploaded files to be organized in month/year folders in Settings » Media (see attached image).

Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.

#161170
Untitled.png

Dear Adriano,

My issue still not resolved, my point is not to change the upload image path for all wordpress media, i just want to change the folder for custom image upload control which i used in my wp site through your plugin , please check the attached image also.
Looking Forward
Thanks for the quick responce.

#161179

Dear sajidm,

I understand your question, sorry but unfortunatelly it is not possible. We use default upload path to store images / fields by custom fields.

Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.

#200512

Hi sajidm,

Just wondering if you figured out a way to do this. I'm looking for this solution myself.

Tim

The topic ‘[Closed] chnage folder of cutom image upload field’ is closed to new replies.