Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2005-05-28 12:21:53

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

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

#26 2005-05-28 12:28:14

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

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

#27 2005-05-28 12:33:49

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

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

#28 2005-05-28 13:25:41

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

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

#29 2005-05-28 13:29:15

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

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

#31 2005-06-20 07:10:52

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

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

#33 2005-06-26 07:15:57

ArbinShire
Member
From: Tallahassee, FL
Registered: 2004-03-23
Posts: 31
Website

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

#34 2005-06-26 10:31:07

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

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

#35 2005-06-26 13:46:45

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: Plugin request: Image Batch Upload

anything that makes this process easier is welcome whatever the form. look forward to it.

Offline

Board footer

Powered by FluxBB