Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-05-13 03:25:13
- shaza
- Member
- Registered: 2006-10-31
- Posts: 20
A Weird Image Directory Question
Is it possible to move the images directory out of the textpattern directory? I just want to put all the images in their own subdomain on the same server, but Im a bit confused on how I would go about doing that, and if I do, would the plug-ins dealing with the images even work _
Offline
Re: A Weird Image Directory Question
Although everything is possible, sometimes with slight hacks of the txp code, and although you might have something in mind now, your needs might change in the future and it will eventually become a pain to update txp docs and plugins
Last edited by colak (2007-05-13 06:39:30)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2007-05-13 12:48:17
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: A Weird Image Directory Question
If the images are in a subdomain (which usually is a subdirectory if I’m not mistaken), wouldn’t just putting subdomain/images as the image path in preferences take care of this?
Offline
Re: A Weird Image Directory Question
Els wrote:
If the images are in a subdomain (which usually is a subdirectory if I’m not mistaken)
not always… Powweb, whichused to be my host before txp required to have a folder in the same directory as the htdocs one.
wouldn’t just putting subdomain/images as the image path in preferences take care of this?
would this be supported off the box by plugins too?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#5 2007-05-13 18:54:17
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: A Weird Image Directory Question
colak wrote:
would this be supported off the box by plugins too?
It should be, don’t you think? I assume image related plugins use the txp image path?
Offline
#6 2007-05-13 23:56:06
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: A Weird Image Directory Question
It won’t work because the preference expects an image directory name, not a path (like the rest of the prefs do). It’s URL and path are built using the site’s URL and path. That could/should be changed, but I don’t think it is likely to happen soon (for backwards compatibility reasons).
Is there a reason you want to do this?
Last edited by Mary (2007-05-13 23:56:31)
Offline
#7 2007-05-17 03:38:05
- shaza
- Member
- Registered: 2006-10-31
- Posts: 20
Re: A Weird Image Directory Question
Ya. Its cause of dreamhost basically. They pulled a fast one on me, and told me that they have this permanent bandwidth/ connection throttling on my site to prevent “crashing” (yeah right) cause I get lots of users and connections, but its so weird. All in all, if I move the images directory to its own subdomain, it will have less throttling put on it, and each image won’t load for like 3 minutes like it does now ;_;.
Either way it doesnt make any sense to me personally since its still on the same server. But they put it on specific domains and subdomains of that domains arent subjected. Such a weird way to mess me up. The subdomain would be like one directory above the textpattern installation so this is my trouble. Right now its like:
pathname/user/example.com/images
but with subdomain it would be:
pathname/user/images.example.com
Last edited by shaza (2007-05-17 03:40:40)
Offline
Pages: 1