Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-15 17:53:50

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

External image directory

Now that free online storage is getting widespread and hotlinking to images is allowed by many free storage sites, what’s the chance of being able to set the image directory to http://bigfreeandeasystoragesite.com/myfolder/ ?


BB6 Band My band
Gud One My blog

Offline

#2 2007-12-15 18:16:50

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: External image directory

your username is the answer.

Offline

#3 2007-12-16 10:07:31

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: External image directory

That’d be impossible: how does Txp even being to write to that directory?

Offline

#4 2007-12-16 10:22:31

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: External image directory

I’ve no idea but if it’s impossible it will just take a bit longer, won’t it?


BB6 Band My band
Gud One My blog

Offline

#5 2007-12-16 10:25:05

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: External image directory

zero wrote:

I’ve no idea but if it’s impossible it will just take a bit longer, won’t it?

textpattern needs write access to the image directory. if you’re using an external image directory on some other random storage server, then textpattern can’t write to it. thus not possible.

Last edited by iblastoff (2007-12-16 10:28:22)

Offline

#6 2007-12-16 11:29:23

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: External image directory

This is looking promising! The chances have gone from zero to impossible to not possible because of write access :)

At present some storage servers allow public upload of files to myfolder. Does this mean the public has write access? Even if they do, they have to login or use a form or negotiate something else, making direct access not possible at present.

However, what if i have several txp sites and just want to use the images directory on one site which has big bandwidth allowances? Would it then be possible to use an external path for the images directory?


BB6 Band My band
Gud One My blog

Offline

#7 2007-12-16 13:47:03

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: External image directory

At present some storage servers allow public upload of files to myfolder. Does this mean the public has write access?

And it works same way as Textpattern’s image uploading works: a same kind of CHMOD, so it has access inside that server. The uploading work throught uploader script, that is at that server. That doesn’t change anything.

But in imaginary it ain’t impossible, but the changes to implement to Textpattern are zero, because it’s risky and in other ways dumb. With this I mean: you can put the uploading xhtml form anywhere but it doesn’t change the fact that you can’t integrate that super-big-gigahost-file-server with your Textpattern.

Cheers!

Offline

#8 2007-12-16 14:31:08

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: External image directory

I understand most of that, Jukka. But can you verify – does my txp setup on server 1 have to be integrated with server 2 if I want to write images on server 2? If I already have txp set up on server 2 and its images directory is 777, is it still risky and dumb? In other words, I’ve ditched freebigandeasy.com and want to use my hosting account on server 2 to the max and use it for all my txp images and files which I need on server 1, server 3, server 4 etc. Or is that not realistic either?


BB6 Band My band
Gud One My blog

Offline

#9 2007-12-16 14:32:50

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: External image directory

Peter, I guess the motivation behind your question is to save on your own hosting space/bandwidth. For that to be an issue in today’s relatively cheap hosting market means you have to either, have a) a lot of photos or b) you are extremely popular or c) both (or d: you’re posting images you’d rather not host yourself :-/)
Additionally, using a third-party site for your own site UI elements would, I imagine, be a whole lot slower than hosting them yourself and makes your site dependent on the existence of other services.

You could tackle the problem another way around, for instance by using a plug-in to pull-in the pictures into a gallery or similar from the third-party site, e.g. in much the same way that the various flickr plug-ins do already.


TXP Builders – finely-crafted code, design and txp

Offline

#10 2007-12-16 14:43:06

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: External image directory

My motivation is to do with superlarge storage and superfast fiberoptics in a couple of years time, Jakob. It seems to me that maybe everyone will be using online storage very soon and downloads will be virtually instantaneous. Can TXP be adapted to keep up with this? And yes, it would be nice to have all my media, files etc all in one place. txpstorage.com maybe?


BB6 Band My band
Gud One My blog

Offline

#11 2007-12-16 15:07:22

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: External image directory

And yes, it would be nice to have all my media, files etc all in one place. txpstorage.com maybe?

Where do we get Chuck Norris to do the round house kick, and where is the money that will keep Norris alive? The holy miracle of Free OpenGPL license

Cheers!

Last edited by Gocom (2007-12-16 15:08:27)

Offline

#12 2007-12-16 15:18:07

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: External image directory

Gocom wrote:

Where do we get Chuck Norris to do the round house kick, and where is the money that will keep Norris alive? The holy miracle of Free OpenGPL license

Follow the Textdrive model by offering low-cost lifetime hosting to investors and including Textpattern pre-installed with unlimited files storage included. It worked once and may work again. But who will leave with the profits this time?


BB6 Band My band
Gud One My blog

Offline

Board footer

Powered by FluxBB