About Sitellite       Screenshots       Downloads       Forge      Documentation       Community       Support

You are here: Home / uploading pictures


uploading pictures

Forum / Support Questions / uploading pictures

Reply         Subscribe         Start new thread         Syndicated Feed (RSS)        

Displaying 1 to 3 of 3 Previous   1   Next
Author Message
re599

Posts: 25
Location: Oxfordshire, UK
uploading pictures - Posted: April 7, 2008 - 12:49 PM Quote and reply
One small issue we have noticed is when we are creating pages there is an upload picture button on the gui but the location is fixed as /pix for images. We would like to mirror our current site in the structure so need the root directory for pictures to be /images.

However looking around I can't see how you change this as a global site wide setting. Can someone explain it please, is it something in the site template that defines where the root for images is?

Also a colleague created a directory and a couple of images within that directory using the web files facility. Is this totally seperate from the gui thing that allows for images to be uploaded or can you access images in both parts of the system?

Thanks,
Bob

Back to top View user profile     Contact this member
wokkie

Posts: 159
Location: Scotland
Re: uploading pictures - Posted: April 10, 2008 - 7:16 AM Quote and reply
re599 said:
One small issue we have noticed is when we are creating pages there is an upload picture button on the gui but the location is fixed as /pix for images. We would like to mirror our current site in the structure so need the root directory for pictures to be /images.

However looking around I can't see how you change this as a global site wide setting. Can someone explain it please, is it something in the site template that defines where the root for images is?

Also a colleague created a directory and a couple of images within that directory using the web files facility. Is this totally seperate from the gui thing that allows for images to be uploaded or can you access images in both parts of the system?

Thanks,
Bob



Bob

there is no configuration item that would allow you to change from pix to images. This would be in the code for the imagechooser app. And though you could easily change the imagechooser code to go to an images directory rather than pix, personally I wouldn't think it worthwhile. I think the main downside would be that upgrading to a later version of the code becomes a wee bit less straightforward.

As for webfiles, while you can use it for any file type, it doesn't make any sense to store images there which you are planning to place on the site. Why would you want to when you have the imagechooser.



Back to top View user profile     Contact this member
re599

Posts: 25
Location: Oxfordshire, UK
Re: uploading pictures - Posted: July 22, 2008 - 11:37 AM Quote and reply
The easy way to solve this without having to code is to put a sym link from pics to images on the webroot it would appear

wokkie said:
re599 said:
One small issue we have noticed is when we are creating pages there is an upload picture button on the gui but the location is fixed as /pix for images. We would like to mirror our current site in the structure so need the root directory for pictures to be /images.

However looking around I can't see how you change this as a global site wide setting. Can someone explain it please, is it something in the site template that defines where the root for images is?

Also a colleague created a directory and a couple of images within that directory using the web files facility. Is this totally seperate from the gui thing that allows for images to be uploaded or can you access images in both parts of the system?

Thanks,
Bob



Bob

there is no configuration item that would allow you to change from pix to images. This would be in the code for the imagechooser app. And though you could easily change the imagechooser code to go to an images directory rather than pix, personally I wouldn't think it worthwhile. I think the main downside would be that upgrading to a later version of the code becomes a wee bit less straightforward.

As for webfiles, while you can use it for any file type, it doesn't make any sense to store images there which you are planning to place on the site. Why would you want to when you have the imagechooser.





Back to top View user profile     Contact this member
 

Sitellite 5 Beta


Copyright © 2008, SIMIAN systems Inc.
All rights reserved. Privacy policy
Some of the icons on this site were created by the Gnome Project.