Folder to store images and pdfs

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
altralaser
Forum Members
Forum Members
Posts: 11
Joined: Sun Jun 13, 2010 4:28 am

Folder to store images and pdfs

Post by altralaser »

Hi,

I have some png files which I would include into my website. For that I'm using the <img/> tag. And I would also include a few pdf files. For that I'm using the <a> tag.
Now I want to know whether there's a special folder in which I should store these documents? Or can I simply create a path called "images" and another path called "pdffiles" under the root folder?
I will upload the files only via FTP, so no upload function of the CMS is needed.

Thanks in advance!
chandra

Re: Folder to store images and pdfs

Post by chandra »

You can do what you want 8).

But think it's better to use the CMSMS scheme (images to /uploads/images and pdf to /uploads/pdf).

You don't know what you will do in the future on your website and some modules need this scheme.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: Folder to store images and pdfs

Post by JohnnyB »

As chandra said, you can do whatever works best for you.

Something I do differently is if the image will be used as part of a template, I use a directory called /images/ that is not inside of the /uploads/ directory. I do the same with any external CSS and Javascript files -- I keep them out of the /uploads/ directory.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
altralaser
Forum Members
Forum Members
Posts: 11
Joined: Sun Jun 13, 2010 4:28 am

Re: Folder to store images and pdfs

Post by altralaser »

OK and is there also a scheme for zip or exe files?
chandra

Re: Folder to store images and pdfs

Post by chandra »

JohnnyB wrote: Something I do differently is if the image will be used as part of a template, I use a directory called /images/ that is not inside of the /uploads/ directory.
Yeah, was the scheme in previous CMSMS versions and make sense for me cause editors should not have access to template related files.
chandra

Re: Folder to store images and pdfs

Post by chandra »

altralaser wrote:is there also a scheme for zip or exe files?
/uploads/zip
/uploads/exe

O0
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Folder to store images and pdfs

Post by Wishbone »

I put template images in uploads/images/templates, and template JS files in uploads/images/js .. I try to keep everything non-cmsms in /uploads, so if I have to re-install CMSMS (hacked, corrupted), I just remove everything that's not in /uploads and re-install.. Keeps everything organized.
Locked

Return to “[locked] Installation, Setup and Upgrade”