Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Best practices for managing images?
Hello all. I’ve just started putting Textpattern through it’s paces, and so far I’m hooked. I’ve been looking for something to replace WordPress for a while now, and it looks like Textpattern is it.
I’d like to find out what most people do with regard to organizing your images. For instance, I uploaded all of my images via FTP to the /images folder, and I’m using absolute paths to place the images in my CSS and forms. Would I have been better off to create a css/images folder for my site design images, then use /images for articles and forms? Also, is there a way to import all of the images that are already in /images? Or will I have to go through the admin interface and re-upload them? Do most people upload their images to the DB, then use tags to link to them, or do most people keep them outside the DB?
Thanks in advance, and I’m looking forward to hanging around here for a while.
Offline
Re: Best practices for managing images?
Hi Richard
I normally just ftp the images which are related to the templates. Content type images I upload via txp upload tab as I can categorise them and use them with jquery/mootools/whatever gallery scripts. Check out smd_gallery as it expands txp’s img functionality. Having said that, I understand that the new/next version of txp will make the plugin obsolete.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Best practices for managing images?
For easier batch image uploading there are plugins available.
There’s been discussion as to segregating site design (decorative) images from “content” images. You might find it more manageable to keep them in separate directories, either within /images or elsewhere, but it’s up to you.
Code is topiary
Offline
Re: Best practices for managing images?
I personally keep all my site design images completely out of the CMS in a directory /images/style/, and just use the CMS for content (article) images and set that directory in the textpattern preferences as /images/cms/.
Offline
Re: Best practices for managing images?
colak wrote:
I understand that the new/next version of txp will make the [smd_gallery] plugin obsolete.
OT: Not quite obsolete, but certainly less likely to be used for rudimentary image galleries (yay!). For extreme galleries, slideshows, and stuff where you need the extra sorting power — or the ability to collate images into one Form — smd_gallery will still be useful.
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
Offline
Re: Best practices for managing images?
Hi all, Thanks for the tips/advice. I’ve decided to follow philwareham’s post and keep the site design images out of the CMS, and located in a separate folder, /cssImages/. Then I’ll just keep content images in the css. I did find that the fpx_image_import and fh-article-image-selector plugins were exceptionally helpful. As far as galleries go, I was able to create a pretty decent one with just an article_custom form.
Offline
Re: Best practices for managing images?
One last tip:
I usually keep all the background-images
(aka design/decoration images) in /css/images/
folder (of course, I also don’t use TXP built-in functionality for serving CSS from database).
IMHO, this makes it easier to refer/write images path on the CSS (and make them shorter, performance-wise), and makes the CSS files & background-images files combo to be easier to “move from one place to other”, as they go all together on the same folder, and the relative references are kept intact.
Offline
Pages: 1