Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2006-10-20 17:46:48

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,198
Website

Re: [plugin] [ORPHAN] fpx_image_import

ma_smith wrote:

If so, can we have an option of deleting those like nhn did?

Hear, hear… I’d like this also.

Offline

#22 2007-05-19 11:57:21

pfctdayelise
Member
From: Melbourne, Australia
Registered: 2007-05-18
Posts: 68
Website

Re: [plugin] [ORPHAN] fpx_image_import

This plugin possibly isn’t compatible with ebl_BatchUpload, which also modifies the ‘image’ tab. With both enabled I couldn’t see any of the import options at the end of the page. Disabling ebl_BatchUpload made them show up. this is on TXP 4.0.4.

cheers,
Brianna

Offline

#23 2007-07-04 10:58:19

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

Re: [plugin] [ORPHAN] fpx_image_import

Here it works nice on 4.0.5.

However, I’ve got a question: is there a way to control the order of importing the pictures? For example, I’m using it to upload a whole photoalbum and then I display it as an album on my site. So if I have pict001.jpg, pict002.jpg, etc, I want those pictures to import in that order. Apparently, fpx_image_import doesn’t do that, which will cause me to have photoalbums which are not (automatically) sorted by date.


Regards,

Joey

Offline

#24 2007-07-04 17:16:26

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

Re: [plugin] [ORPHAN] fpx_image_import

The files are processed by reading the directory and importing each image after the directory entry has been read. They are not imported in an array that could be sorted.

You have to make sure that your ftp client transfers them in the right order.

Usually sorting them in the ftp client alphabetically and uploading them should work, but there are some ftp clients that allow to define this (fetch5 for the Mac has a setting for this). I use scp, so I can’t help you with this, sorry.

Changing this behaviour would need a rewrite of the plugin. It shouldn’t be that difficult but changing one line is not enough.

Offline

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

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

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: 255

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: 255

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

Board footer

Powered by FluxBB