Hi. I am trying to install a gallery. I uploaded all the photos in zip files. Now, I'm writing the accompanying .xls files. What do can I put in there?
In the end, I really want to be able to refine my searches real-time. I want to be able to (A) pull albums from a page and (B) refine what images are being displayed via tick boxes.
If you check out my site, below, you will see that it's dedicated to wildflowers. In (A), I want to be able to log in as admin and type "Pink flowers" into the search box and have those come up - even the pink flower photos that aren't available to the public. I want to be able to type that from a page that doesn't show any pictures, though.
In (B) I want to have a list of things along the left side. A place where I can input a number for height min and height max of the plant. A place where I can check whether or not the plant has cuticle. A place where I can tick all the different colors. I want to see the gallery change in real time, as I do this.
Is there a way to include all the data that would be necessary to make this happen in the .xls file?
http://sierrawildflowers.newbott.net
Posts: 27300
I don' know of a xml file importer. See if any of these help:
http://codex.gallery2.org/Gallery2:How_to_Add_Items
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 19
I'm using bulk upload. I think it comes with Gallery2.3.
http://sierrawildflowers.newbott.net
Posts: 16504
I see now. The Bulk Upload module is a community plugin, it doesn't come with G2. I've never seen or used it before today.
Looking at the code for the Bulk Upload module, the included sample text and Excel files are good samples of everything you can do. You can only import Title, Summary, Description, Keywords, and Filename.
For your request above for typing into the search field, a long at the "Pink flowers" photos have those words in the description, summary or keywords they are searchable.
For adding extra data, take a look at the custom fields module, but I've never used that module and couldn't give much guidance on it's use or customization.
http://codex.gallery2.org/Gallery2:Modules:customfield
As for making Gallery change in realtime for that you're going to need to do some major hacking or create a module for that. Nobody has created anything like that. There is no "Newegg search" or "BH Photo search" refinement that I've seen for G2 (or G1 or G3, yet)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 19
Youda man.
I worked on a few drupal modules. Maybe I can make one for Gallery2 or 3. The thing is, it's so much easier to write things from scratch.
Thanks, for the info.
http://sierrawildflowers.newbott.net
Posts: 19
I added some fields. Is it possible I could edit the module so that it would accept other fields from the spreadsheets? I added like 5 fields....
http://sierrawildflowers.newbott.net
Posts: 19
When I say "edit the module", I mean edit the bulk upload module so that the spreadsheets would accept more data.
http://sierrawildflowers.newbott.net
Posts: 16504
I don't know. Take a look at /modules/bulkupload/ItemAddBulk.inc
It looks like if the API supports it you could tie into it. However, if you look at how keywords were handled.... The author of the module had to code a solution to add the keywords:
So depending on what you've added it may be "easy" if there is an API for it (I don't know how as I only "code" by trial and error) or it may be more work.
http://codex.gallery2.org/Gallery2:API
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here