|
max.411
|
 |
« on: December 04, 2006, 05:17:12 pm » |
|
I was under the impression, when I purchased this, that you would be able to bullk upload ... as in, I point at a directory filled with images, and it auto uploads them all to the Gallery. Individually entering information for each one is just not going to work for my needs.
Is this possible without the added step of uploading to an FTP site, or some other localhost-based locale? In other words, can it be made to simply allow you to browse your harddrive for the target directory?
|
|
|
|
« Last Edit: December 04, 2006, 06:02:18 pm by max.411 »
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #1 on: December 04, 2006, 06:30:18 pm » |
|
There is that option on the main category view there is an option called "[Import Pictures]" which located under options for each category. Which allows you target a directory on the server to import the images from. For example you upload all the images the gallery/import folder then import into the gallery that you wish. Without the need of entering filename titles and descriptions.
As for of importing from a folder on your local computer that is not possible. A website is not able to access a local folder's contents which is done for security reasons since then anybody website could then be able to view the contents of files on your computer.
|
|
|
|
|
Logged
|
|
|
|
|
max.411
|
 |
« Reply #2 on: December 04, 2006, 09:00:39 pm » |
|
Well, although I have the images in the import directory, when I press "import pictures" it tries to save index.php to disk. Which is confusing to me, since scripts should be able to execute in that directory.
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #3 on: December 04, 2006, 09:13:24 pm » |
|
Does the path exist that it is trying to read? And does it have the read permission.
|
|
|
|
|
Logged
|
|
|
|
|
max.411
|
 |
« Reply #4 on: December 04, 2006, 09:17:07 pm » |
|
Yes and yes. It's just the import folder ... gallery and import and gallery/index.php are all marked as 777.
|
|
|
|
|
Logged
|
|
|
|
|
max.411
|
 |
« Reply #5 on: December 04, 2006, 09:25:20 pm » |
|
Actually, I can see that it makes an attempt to grab the first two images ... and then stops.
I believe each file meets the parameters (file size and dimension) ... does it time out easily? And why does it prompt me to download the index.php file (in Firefox, haven't tried Explorer yet) at some point ... I need to determine if letting it run before cancelling out of downloading index.php will scan more than two images.
|
|
|
|
|
Logged
|
|
|
|
|
max.411
|
 |
« Reply #6 on: December 04, 2006, 09:27:36 pm » |
|
No -- it just tries to import the first img, and then quits. I have three different versions of the same file imported, all just iterations of the first file in the import directory.
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #7 on: December 04, 2006, 09:34:33 pm » |
|
What is in the index.php when u try to save it to the disk? And do you have mod_security installed?
Intersesting. How large are files? What is the second file by filename in the directory and the stats on the file.
|
|
|
|
|
Logged
|
|
|
|
|
max.411
|
 |
« Reply #8 on: December 04, 2006, 09:41:44 pm » |
|
It is a blank file -- now that I have renamed import to import_old and made a new 777 import dir, it takes me to a blank page after I hit "import pictures", but nothing is imported -- the blank page is brought up rather quickly.
|
|
|
|
|
Logged
|
|
|
|
|
max.411
|
 |
« Reply #9 on: December 04, 2006, 09:47:22 pm » |
|
The blank page's address is: URL /forums/index.php?action=gallery;sa=import2
When I reload and try again, I get the loading of index.php and from the URL: URL /forums/index.php?action=gallery;sa=import;cat=5
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #10 on: December 04, 2006, 09:53:35 pm » |
|
Its odd that it worked for the first image. What version of SMF are you running and PHP?
|
|
|
|
|
Logged
|
|
|
|
|
max.411
|
 |
« Reply #11 on: December 04, 2006, 09:56:53 pm » |
|
SMF 1.1 ... the latest Gold version.
Also, I noticed that the bulk upload page doesn't work either. Only adding single images works. I did install lite before I installed Pro, but I uninstalled the package; is that a known issue?
And let me clarify that it does not successfully add the image to the gallery, it simply makes a copy in the gallery dir. But I don't see that image anywhere when I view my galleries through the forums, only in my FTP client.
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #12 on: December 04, 2006, 09:59:14 pm » |
|
Hmm, do you have access to your server config? It might be timing out.
I have imported 100+ pictures in under a minute from a directory on the server. I think it might be a configuration issue.
|
|
|
|
|
Logged
|
|
|
|
|
max.411
|
 |
« Reply #13 on: December 04, 2006, 10:02:57 pm » |
|
I have some access to my config, but not full access. Nothing about timing out is offered to me in the web portal.
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #14 on: December 04, 2006, 10:07:48 pm » |
|
I am going to look into seeing what I can readup on.
|
|
|
|
|
Logged
|
|
|
|
|