Change location of images
Permalink
Hi,
Currently images are located in /files/ in the root directory is it possible to host the images else where?
for example currently hosted onhttp://www.domain1.com/files/ and want them to be located fromhttp://www.domain2.com/files/
Other question is how does the /files/ structure work? what do all the numbers mean?
for example Wordpress stores there files in /uploads/ then the structure has the year in the uploads folder /uploads/2016/[images placed here]
and Concrete5 has /files/4557/ and then another random folder.
Thanks in advance.
Currently images are located in /files/ in the root directory is it possible to host the images else where?
for example currently hosted onhttp://www.domain1.com/files/ and want them to be located fromhttp://www.domain2.com/files/
Other question is how does the /files/ structure work? what do all the numbers mean?
for example Wordpress stores there files in /uploads/ then the structure has the year in the uploads folder /uploads/2016/[images placed here]
and Concrete5 has /files/4557/ and then another random folder.
Thanks in advance.
If you're using 5.7, check into file storage locations:
http://documentation.concrete5.org/developers/working-with-files-an...
If you're using 5.6, you probably need some core hack.
http://documentation.concrete5.org/developers/working-with-files-an...
If you're using 5.6, you probably need some core hack.
Hi Mainio,
Thanks for this.
Yes unfortunately using 5.6, do you know of a hack that I could use?
Thanks,
Max
Thanks for this.
Yes unfortunately using 5.6, do you know of a hack that I could use?
Thanks,
Max
Probably there isn't any existing particular hack available for this.
You'll need to dig into the core code or post this as a job to the jobs board if you're not able to do it by yourself:
https://www.concrete5.org/community/forums/jobs1/...
We can also probably help you with that, just PM me with a bit more information on what needs to be done and I'll provide you with a quote.
You'll need to dig into the core code or post this as a job to the jobs board if you're not able to do it by yourself:
https://www.concrete5.org/community/forums/jobs1/...
We can also probably help you with that, just PM me with a bit more information on what needs to be done and I'll provide you with a quote.
Some basic support for an alternate storage location was in 5.6, but its not as adaptable as in 5.7.
http://legacy-documentation.concrete5.org/editors/dashboard/system-...
http://legacy-documentation.concrete5.org/editors/dashboard/system-...
Hi guys,
thanks for this, will dig a bit deeper as not sure if file locations will work as we want them to on 5.6.
Mainio will let you know if need a quote from you.
Thanks
thanks for this, will dig a bit deeper as not sure if file locations will work as we want them to on 5.6.
Mainio will let you know if need a quote from you.
Thanks
Does anyone have any suggestions for this?
Thanks,