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!
Folder to store images and pdfs
-
- Forum Members
- Posts: 11
- Joined: Sun Jun 13, 2010 4:28 am
Re: Folder to store images and pdfs
You can do what you want
.
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.

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.
Re: Folder to store images and pdfs
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.
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.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
-
- Forum Members
- Posts: 11
- Joined: Sun Jun 13, 2010 4:28 am
Re: Folder to store images and pdfs
OK and is there also a scheme for zip or exe files?
Re: Folder to store images and pdfs
Yeah, was the scheme in previous CMSMS versions and make sense for me cause editors should not have access to template related files.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.
Re: Folder to store images and pdfs
/uploads/zipaltralaser wrote:is there also a scheme for zip or exe files?
/uploads/exe

Re: Folder to store images and pdfs
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.