Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2006-12-24 15:06:09
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
Thanks for this plugin and you’re right TxP has been missing something like this, so well done. I have TxP in a sub directory and when in the Gallery Admin tab there is no image preview. Any idea what the problem might be?
Thanks
Lee
Last edited by lee (2006-12-24 15:16:31)
Offline
#17 2006-12-24 17:41:45
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
My fault, I put one of the files in the wrong place. But now when I click the preview image it’s not displayed in the pop up window. Looking at the source it gives the image path as <img src=”/wow_image.php?id=4” width=“2608” height=“1952” title=”“ alt=”“>, the path is incomplete.
Offline
#18 2006-12-24 22:22:10
- joel
- Member
- Registered: 2004-11-26
- Posts: 162
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
Lee: I get the same problem: <img src="//wow_image.php?id=15" width="800" height="1066" title="Lite text" alt="Lite text">
I seem to have a double slash in front of wow_image.php. Maybe this is editable in the source somewhere… I’m not very good at php-programming. Perhaps someone else can have a look at this?
Thanks in advance :)
Last edited by joel (2006-12-24 22:30:00)
Offline
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
Is there anywhere we can see a demo? Even just seeing how this works on the public side would be really helpful.
Offline
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
I’ll second the vote for a demo so we can see. I’ve been using the Simple PHP gallery application (which is really simple) and am up for something a little more capable. It would be wonderful to have something integrated with Txp so that management would all be in one place. In addition, having all the images accessible from within Txp would be a boon too.
Thanks…
Search is your friend… Think before writing…
Offline
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
I third it.
Can we see a demo please, or even some screen shots, to get an idea what its like?
Offline
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
I think it’s a great idea, but before I invest a lot of time and energy in a conversion, I need to know what I’m getting into.
Will it help if I say “pretty please?” ;)
Aside an aside, my gallery is at randomruminations.net/photos. It’s implemented in a very simple PHP script. I was happy to have it when I gave up my old (complex) gallery software, but I can say it would be very nice to have everything (all content) managed under the same roof.
So, this gallery implementation is a great idea!
Last edited by ruminator (2006-12-26 18:43:12)
Search is your friend… Think before writing…
Offline
#23 2006-12-28 01:07:47
- rbl
- Member
- From: Portugal
- Registered: 2004-02-25
- Posts: 40
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
nighthawk wrote:
I think it’s still an acceptable way of tackling the problem, and I’m looking forward to get some feedback on how it works for you guys. :)
My 2 cents? Storing images in the db just to circumvent any safe mode issues, is like printing and filing your emails just to avoid loosing them on a server crash =)
Any good and regular web host will turn safe mode off on request in a heartbeat without any complain. All it takes is one email to solve the problem.
But when they put your site offline because your huge DB keeps crashing the mysql server, one email won’t do a thing.
You’re probably looking at a dozen pictures gallery. Now imagine a 1200 pictures gallery or a 12000 one. Consider the size of the DB and ask yourself if it still seems acceptable to you.
But anyway, what about that demo? =)
Offline
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
I hear what you’re saying about putting the images in the database. That’s the only thing I have reservations about. I think having the gallery integrated with the Txp CMS, though, is a great idea.
I currently have three images stores: One is the set of images I use on my weblog, the second is my gallery, and the third is my photoblog. Each of these stores serves a different purpose, but if I could eliminate one of those stores that would be good.
Search is your friend… Think before writing…
Offline
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
@rbl
My 2 cents? Storing images in the db just to circumvent any safe mode issues, is like printing and filing your emails just to avoid loosing them on a server crash =)
I think that’s a little far-fetched. :) After all, it’s the purpose of a db to store stuff, especially if it’s connected with metadata (captions, etc.).
Any good and regular web host will turn safe mode off on request in a heartbeat without any complain. All it takes is one email to solve the problem.
I strongly disagree. On the contrary – it is policy for most webhosts to have safe-mode active if they host multiple users on the same machine. Deactivating it is extremely risky. Check various forums on the net – most problems people have a related to safe-mode issues they can’t get around. If your webhoster does it – good for you. :) I guesstimate that the majority of all users isn’t that lucky, though.
But when they put your site offline because your huge DB keeps crashing the mysql server, one email won’t do a thing. You’re probably looking at a dozen pictures gallery. Now imagine a 1200 pictures gallery or a 12000 one. Consider the size of the DB and ask yourself if it still seems acceptable to you.
Now that’s something I don’t see as a problem. What’s disk space nowadays? A large db (and a few gigs isn’t large) shouldn’t be difficult to handle for providers; especially if you don’t run massive queries hundreds of times a second. Besides, if you want to store gigabytes of image data, you’re probably not running a lightweight-CMS like Textpattern, anyway.
To make this clear: The gallery plugin is not intended to handle 12.000 imgs (and certainly not within ONE gallery! ;). In these cases, it’s probably more reasonable to program an individual solution which gets the job done. But for the average TXP users, the plugin should be just fine.
But anyway, what about that demo? =)
I’m working on that, but I’ll likely won’t get around to do it until the weekend. Stay tuned. :)
@lee, joel:
Working on the path problem.
Cheers!
Last edited by nighthawk (2006-12-28 10:56:45)
Offline
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
LOL! Tease!
Search is your friend… Think before writing…
Offline
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
This is a very impressive gallery script. Nicely done. I like the fact that the images reside outside the main TXP database, it can otherwise get somewhat frustrating to manage your images, this makes it a lot easier when you are working with a set of images.
It would be fantastic if you could add the ability to change the image order after upload.
- Christian
Offline
#28 2006-12-28 16:00:47
- rbl
- Member
- From: Portugal
- Registered: 2004-02-25
- Posts: 40
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
I strongly disagree. On the contrary – it is policy for most webhosts to have safe-mode active if they host multiple users on the same machine. Deactivating it is extremely risky. Check various forums on the net – most problems people have a related to safe-mode issues they can’t get around. If your webhoster does it – good for you. :) I guesstimate that the majority of all users isn’t that lucky, though.
True but not entirely true. You don’t need to turn safe mode off for the entire machine, just for your site. Any sysadmin knows how to do it, but with the explosion of budget hosting, they think it’s not worth their time. So let me rephrase that and say that “Any good web host will turn safe mode off on request”.
Now that’s something I don’t see as a problem. What’s disk space nowadays? A large db (and a few gigs isn’t large) shouldn’t be difficult to handle for providers; especially if you don’t run massive queries hundreds of times a second. Besides, if you want to store gigabytes of image data, you’re probably not running a lightweight-CMS like Textpattern, anyway.
I’m sorry, did you say that a “few gigs DB isn’t large”??? Wow! How big is your DB and who is your host? I’ll transfer my sites there now!! =)
Most hosts will impose you a size limit for your DB unless you have a very expensive plan, and where not talking about that.
Even if you do not plan to store GB of data, usage over time will get you there, specially if you upload hi-res images.
To make this clear: The gallery plugin is not intended to handle 12.000 imgs (and certainly not within ONE gallery! ;). In these cases, it’s probably more reasonable to program an individual solution which gets the job done. But for the average TXP users, the plugin should be just fine.
Again, usage over time can get you there. I think you are thinking about “you” and “now”, when you should be thinking about “everyone” and the “future”, another far-fetched image I know. If your script is good, a lot of people will use it. If nothing better comes along in the meanwhile, in two or three years (and they pass in a snap) a lot more people will be using it and the early adopters will have a 2 or 3 year photo collection to manage.
You are either looking at a very specific audience and/or you have little experience running a photo based site (no offense intended). It’s not by chance that the vast majority of photoblog/gallery scripts runs away from DB storage like the devil runs from the cross! It’s a dead end solution, with no room for improvement.
I’m not trying to make your mind into changing it but to offer a personal opinion on that. I’ve been using and running all kind of gallery scripts or weblog “converted” to photoblog scripts for 7 or 8 years at least. Any seasoned user won’t even touch a script like that.
If you have already done all the necessary coding to use the file system (like you say on your site, if I’m not mistaken), just integrate that into the script and leave to the user the option to use the DB or the file system. Then everyone will be happy =)
Looking forward to that demo! =)
Offline
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
I agree – large quantities of images in the db is unmanageable. Regular db backup, for example, would be a major problem. Nor would it be necessary; I have all my images on my hard drive, as everyone does, and don’t need to send them backwards and forwards on the internet. The only concern is you don’t have a back up of the ID that TXP assigns to each image, and I’d suggest if there’s some way of resolving that it would be worthwhile. Otherwise, it’s the best compromise to have images in a seperate directory, the way it currently is, which you can manage – back up, delete, modify in Photoshop etc – when you need to, which is not very often. DB back up, however, has to be done quite regularly.
What about this: building an image FTP function into TXP, that you could handle as easily as if it were an FTP client. A ‘window’ where you could see all your images, and then just drag and drop them onto your hard drive so you don’t have to fire up an ftp client. That would be useful. A ‘back up’ button would be even nicer, but drag n’ drop would be acceptable. Although maybe with a ‘back up’ button you wouldn’t even need to see the images, so that would be easier to build? You’d configure it to the directory on your hard drive, and then forget about an ftp client. What about that?
After running my photo sites for nearly 2 years I sometimes regret using txp because up to now, with the exception of a few invaluable plug ins that help redress it, txp has been very bad at image handling – you could almost say, “I wouldn’t recommend you to use it”! Fortunately my sites don’t involve a huge amount of work because they’re relatively small, but at jameslomax.com I now have over 1000 images and nearly 1000 individual photo ‘articles’ – every one of those had to go through the incredibly inefficient and laborious image handling of txp. I’m a good person to consider for this subject because I’ve stuck with it – as a user, not a professional coder – initially because I liked the efficiency of txp, and then because I found some assistance at these forums, which for me was invaluable.
It really is time to address this. I know txp has its origins in text management, hence the name, but image handling is fundamental in any CMS which is what txp is – an open source, lightweight, CMS. I wonder for example, how many people over the last year or two have looked at txp, seen its image handling, and thought “no way! – I’ll go and use something else!”.
Incidentally, for anyone who doesn’t know about it, this thread is probably the most important one to read for anyone interested in this subject
Last edited by jameslomax (2006-12-30 12:07:57)
Offline
Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern
jameslomax wrote:
The only concern is you don’t have a back up of the ID that TXP assigns to each image, and I’d suggest if there’s some way of resolving that it would be worthwhile.
This is the biggest issue I have with the image handling of Textpattern. I’ve never understood why the interface would take nikon_d40.jpg and turn it into 23.jpg. This has two side affects; looking at the site with an FTP client, you don’t know what image is what and when you get a hit from images.google.com, you don’t know what image you got the hit for.
Another problem, that will crop up over time, is keeping all images in one subdirectory. If you happen to get up over let’s say 5,000 images, be prepared to suffer the consequences, I know I have on other gallery systems. Your FTP client, unless instructed to, will only display a subset of the images directory. SSH in and try to clear out the directory with a rm * command, it will balk on an ext3 file system. I think image categories, should correlate into subdirectories, this way you have a better handle on your images as your site grows.
The way it stands now, maybe Crockery will change this, the only way to have a Gallery within Textpattern is either through a plugin that veers away from the current convention or by using a dedicated Gallery script.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline