Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-03-10 10:45:09

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 315
Website GitHub GitLab Mastodon Twitter

Image hosting interface

IMHO, architecture of Textpattern is quite suitable for image hosting. Can I expect to achieve an interface, similar to greitai.fastmail.fm?

(Sorry for small pictures — free galleries are restricted there up to 1 MB only).

Offline

#2 2017-03-10 11:43:25

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: Image hosting interface

The problem with txp is not the syntax or the ability but the way it currently stores images in one folder. An image hosting service will and can possibly result in millions of images and I’m not sure as to how that folder will function once it gets so full.

I’m sure that the devs can give a better, more informed, answer but in my view, unless we figure out a more sustainable way to store images, I would not recommend it for such focused function. What txp does wonderfully well – and it was the reason that it was developed – is text.

Images mainly due to the wonderful efforts of Stef, have indeed become first class citizens but their home is still in the slams.


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 2017-03-10 12:12:41

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,795
Website GitHub

Re: Image hosting interface

For the record, I am investigating ways to offer images stored in subdirectories to alleviate this issue for image-heavy sites.

Though it probably won’t become a core feature (because this is Textpattern, not Imagepattern!) I have an idea on how to implement this using a plugin. But it’ll require some core feature improvements, which are slated to appear alongside the Image panel (grid layout) changes we have planned for the next release.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Online

#4 2017-03-10 12:26:41

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 315
Website GitHub GitLab Mastodon Twitter

Re: Image hosting interface

I am not going to offer public nor commercial hosting service, just curious about an interface to present a quite large and diverse artwork portfolio of blacksmith master, in this case.

Offline

#5 2017-03-10 13:25:25

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: Image hosting interface

It would be fine if we could have a field (in the images form) to put the url of an image on an other images hosting service like Flikr, Dropbox, ….

  • Be allowed to use this image with the habitual tags …
  • Be allowed to generate thumbnail from this image (smd_thumbnail) …
  • Or be allowed to put in new thumbnail fields the URLs of Flickr thumbnails per example.

In this way we store the metadata of the image in DB, while the image is stored elsewhere.

Last edited by jpdupont (2017-03-10 13:27:56)

Offline

#6 2017-03-10 13:33:02

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,795
Website GitHub

Re: Image hosting interface

jpdupont wrote #304539:

It would be fine if we could have a field (in the images form) to put the url of an image on an other images hosting service like Flikr, Dropbox… we store the metadata of the image in DB, while the image is stored elsewhere.

That’s exactly what smd_remote_file did. But it did so on the files panel, not for images :-(

Of course, if you want to manage your images from the files panel and use the <txp:file_download_*> tags for creating image lists instead, and manually construct image tags, you could use that.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Online

#7 2017-03-10 13:35:52

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: Image hosting interface

An smd_remote_image Is it conceivable :-)) ?

Offline

Board footer

Powered by FluxBB