Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Plugin request: Image Batch Upload
sekhu, I sent you an E-Mail. It is probably more productive, if we solve the problem via E-Mail and then post the solution.
Offline
Re: Plugin request: Image Batch Upload
OK so it wont do any of the ‘second page’ options…..so it wont automatically create thumbnails?
I need thumbs for my archives.
Alternative: I could create them in photoshop. Problem with that though….will this script associate the main image with the thumb, or place them together because their name will be almost identical? I need them to be together, when i insert them in the article entry and excerpt fields.
Offline
Re: Plugin request: Image Batch Upload
I see, no the script is not doing that. Since I gather you want something that you can keep using on a day to day basis, a shell script may not be your best option anyway. But if somone else wants to extend the snippet to do that, feel free. :)
Offline
Re: Plugin request: Image Batch Upload
Yes, my day-today work is being managed OK at the moment.
However, at some point I envisage needing bulk image handling.
Offline
Re: Plugin request: Image Batch Upload
ok thanks to sencer I got it working. The script needed a slash at the end of the url :)
Secondly, if you have glx_admin_image plugin (the one that lets you resize an image on upload) and you have a setting already in there for a resize, using the script to upload a large image will also create the thumbnail image for you. Now that’s what ti’s doing for me, so don’t hold me to it, But I’ve tried several test images, and they all auto-thumbnailed as wel as keeping the original
Offline
#30 2005-06-20 01:58:14
- domfucssion
- Plugin Author
- Registered: 2004-10-23
- Posts: 39
Re: Plugin request: Image Batch Upload
hi,
i tried for a while to get this to work and eventually resorted to reading man curl. I am on osx using bash and it would not work (everything ran, just didn’t do the upload) – until I changed the -H “Cookie: $COOKIE” to -b “txp_login=loginnameencodedcookie”
anyone know why sencer’s original curl shouldn’t just work for me?
Offline
Re: Plugin request: Image Batch Upload
I have curl version 7.11.1. Which version are you running? If it is an older version it could be related to some bug being fixed, or behaviour having changed.
Offline
#32 2005-06-20 09:19:27
- domfucssion
- Plugin Author
- Registered: 2004-10-23
- Posts: 39
Re: Plugin request: Image Batch Upload
mine says it is curl 7.10.2 (powerpc-apple-darwin7.0)…
anyway, I have it working, one day i’ll understand it all :)
Offline
Re: Plugin request: Image Batch Upload
I’ve been working on integrating a java application (jupload) as a plugin — Anyone against using a java application for this? It’s the easiest solution (provided of course your IE / Firefox / Opera java interpreter isn’t borked)
Offline
Re: Plugin request: Image Batch Upload
@ArbinShire
As long as it took care of the basic 1st db write that would definitely be more accessible for more people who are not comfy with shell, or don’t have it (most don’t)
Offline
Re: Plugin request: Image Batch Upload
anything that makes this process easier is welcome whatever the form. look forward to it.
Offline