Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2007-07-05 14:04:36

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: [plugin] [ORPHAN] fpx_image_import

Okay. I’m using Cyberduck, but couldn’t find any option in the preferences where I can edit the order of uploading. However, Cyberduck is showing which files are uploaded and when I just select a folder and upload that, it seems that Cyberduck just uploads in the alphabetically order. Now when I open the image tab in txp, the import menu gives:

   	PICT0004.JPG 	 
  	PICT0006.JPG 	 
  	PICT0001.JPG 	 
  	PICT0007.JPG 	 
  	PICT0002.JPG 	 
  	PICT0003.JPG 	 
  	PICT0008.JPG

Totally different order. Weird. Anyone experience with Cyberduck?

Well, lets try Transmit. Looks like Transmit also uploads in the normal order 1,2,3…. But, again in txp images tab, the same order as described above is shown. Anyone a suggestion?


Regards,

Joey

Offline

#26 2007-07-05 23:31:37

aba
Plugin Author
Registered: 2004-04-14
Posts: 119

Re: [plugin] [ORPHAN] fpx_image_import

sorry, no. Never experienced it on the servers I used.

Offline

#27 2007-09-24 18:47:36

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: [plugin] [ORPHAN] fpx_image_import

Flashpix, are you still supporting this plugin? A while ago I encountered the problem described above. It is really annoying since I run a photo gallery with textpattern, but the problem is that the photo’s now are not in chronological order. This plugin is the only plugin which can upload multiple images, so I really like it. Is there a change to get a solution to this problem? Thanks in advance!


Regards,

Joey

Offline

#28 2008-03-16 16:37:36

Flashpix
Plugin Author
From: Cologne/Germany
Registered: 2004-04-11
Posts: 19
Website

Re: [plugin] [ORPHAN] fpx_image_import

Joey, i’ve also experienced this strange behaviour regarding the order of the files. Unfortunately i can’t say anything why this strange thing happens, must be something in the php function readdir. If i find some time i’ll take a deeper look into this.

Offline

#29 2008-04-06 11:35:18

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: [plugin] [ORPHAN] fpx_image_import

Thanks flashpix, already found something?


Regards,

Joey

Offline

#30 2008-06-03 12:54:33

qlontz
New Member
Registered: 2008-06-03
Posts: 2

Re: [plugin] [ORPHAN] fpx_image_import

ma_smith wrote:

FPX,
Great plugin,
Did I miss something, or will I always see the file structure of the images in the import folder?
Will I need to manually delete those after import?
If so, can we have an option of deleting those like nhn did?
:)
Matthew

Just wondering whether or not anyone has followed up with this or worked out a hack/etc. I REALLY need this functionality and have no idea how to do it myself.

Last edited by qlontz (2008-06-03 12:55:43)

Offline

#31 2008-06-03 15:43:56

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] fpx_image_import

Yep: flashpix> Lotsa people would love to see the delete on import put back in from aba days… how about putting it in as optional?

Also, I noticed that on solaris boxen, my imports are not adding thumbs using pretty vanilla options, wonder why… any ideas

Offline

#32 2008-06-09 07:46:55

qlontz
New Member
Registered: 2008-06-03
Posts: 2

Re: [plugin] [ORPHAN] fpx_image_import

Still no word on the option to delete imported files? If anyone has a workaround for this, I would REALLY appreciate the help.

Offline

#33 2008-08-04 12:07:19

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

Re: [plugin] [ORPHAN] fpx_image_import

Anyone know how I can modify this plug in: what I need is to change the location of the ‘import’ directory. Presumably, you can change the code in a quick and simple way to point to another directory?

Offline

#34 2008-08-04 13:34:57

aba
Plugin Author
Registered: 2004-04-14
Posts: 119

Re: [plugin] [ORPHAN] fpx_image_import

jameslomax wrote:

Anyone know how I can modify this plug in: what I need is to change the location of the ‘import’ directory. Presumably, you can change the code in a quick and simple way to point to another directory?

5th line:

define("IMIMPORTPATH", $path_to_site.'/'.$img_dir.'/import/');

change to your liking – for example:

define("IMIMPORTPATH", "/mypath/');

Offline

#35 2008-08-04 15:36:43

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

Re: [plugin] [ORPHAN] fpx_image_import

Ah, nice and simple thanks.
Not working though, with a few variations.

There’s a “ in that code I don’t understand; I can’t see where it comes from and if it should be there.

My ‘import’ directory is at the same level as the ‘images’ folder, but I don’t know the code to point there. Is that code complete, or is there someting more to add to it? I need the exact code, to copy and paste.

Offline

#36 2008-08-04 16:17:49

aba
Plugin Author
Registered: 2004-04-14
Posts: 119

Re: [plugin] [ORPHAN] fpx_image_import

jameslomax wrote:

There’s a “ in that code I don’t understand; I can’t see where it comes from and if it should be there.

I made an error in my example: change the 3rd “ in my example to an ‘ – sorry

My ‘import’ directory is at the same level as the ‘images’ folder, but I don’t know the code to point there. Is that code complete, or is there someting more to add to it? I need the exact code, to copy and paste.

I’m not quite sure where the problem is, because you could easily put an import path in your images directory, but:

define("IMIMPORTPATH", $path_to_site.'/import');

$path_to_site will be replaced by the path to your textpatterninstallation and in there should be the images directory.
Using above example the import directory (you may rename it if you like by changing the statement) would be on the same level as images

Offline

Board footer

Powered by FluxBB