Paid affiliate advertisement
Install gallery on my site
aviad - April 21, 2008 - 21:48
Hi there,
I tried almost all the solutions of galleries from drupal, but it seems that none is working on my site.
If you know how to create a gallery from cck, from scratch, and you did it already, successful, do let me know and lets talk.
Also, take a look at our developers forum for more details of what needs to be done, or what are the simple specs for that desired gallery.
Also, drop me your rate for this task.
http://altglobe.com/devforum/viewtopic.php?f=1&t=8&p=16#p16
Please not Indian companies with all the respect (and there is), only freelancers
Thank you

my galleries
I've used Taxonomy, CCK, Views and Imagefield with some jQuery to create personal photo galleries.
http://www.not2us.net/photos
The site is currently running a little bit slow. However, I think that you can get the general idea of how I did it. Each gallery degrades to an unordered list of images without Javascript. If you want me to do something like that for you, I would be glad to. My email is mike at redleafmedia dot com.
-Mike Goodwin
http://www.not2us.net
http://www.redleafmedia.com
if you don't mind can you
if you don't mind can you tell me the reason behind such attitude towards Indian companies?
Any bad experience in past?
attitude about indian companies
I don't mind answering at all, actually, I am thinking of creating a stand up comedy about my 2 years experience with Indian companies. I can tell you exactly all the Indian companies that work with Drupal and what are their tricks to drawn customers and leave them with half of the job done, at the positive scenario, after they told you that you should not worry about the quality of the job. This is funny because all of them talk about the high quality of the job, and there was not even one time that I didn't have to hire someone to fix their job. Of course, by no means, I am not talking about 100 percent of the indian companies and the fact that I am looking for the ones that cost 15-25 dollars per hour can be an important issue here. I am sure there are great ones, but I personally couldn't find them.
I am hiring people all the time from all over the world, but this phenomenal i didn't see with any country. I lost money and time from this relationships, but I am taking it on the positive side, as learning from it.
That is the reason why I am highlighting on my posts No Indian companies.
Again, my best friend is Indian and I love him very much, but I wish not to lose money anymore.
Namaste
nice presentation
Very nice presentation you have there with the gallery. simple and sharp. btw, it is not running slow, its pretty much fast.
I would love to talk to you further on that project.
Good work
i really like your gallery, Good work Mike :)
refine of what I would like to have with this gallery
Here are the things the the gallery should have:
1. option for each member to have his/her own album.
2. the images in the album should have a nice preview, like slideshow.
3. if possible to have other content types in the gallery it will be even better.
4. option to upload few images at once.
Aviad Sar Shalom Giat
I believe integrate Gallery
I believe integrate Gallery 2.0 with your drupal instance and it will solve most of your problems ( mostly all of requirements). Look at on of the site, that I have made sourdough.com.au Gallery 2.0 is having some beautiful features.
Also here you can find list of sites that use gallery integrated with drupal http://groups.drupal.org/node/7020
Thanks,
Nehal Mehta.
Mike, Can you explain what,
Mike,
Can you explain what, for example, each of the following url's are:
http://www.not2us.net/photos
http://www.not2us.net/photos/2005
Are each of these views?
Also, is http://www.not2us.net/photos/2005/browncounty a node or a view? And are the two links immediately above the "Brown County" title taxonomy terms? If so, how did you get them not to use the standard taxonomy URLs (e.g. taxonomy/term/1, etc.)? Did you use taxonomy redirect module or URL alias or something else?
view with custom block
I have one view for all of my photos. It is the taxonomy term view that I believe comes with the views bonus pack. It essentially takes urls like 'taxonomy/term/1' or 'taxonomy/term/2' and displays a view of nodes with that specific taxonomy term id. However, my pages obviously do not have that url structure. To get the more user friendly urls, I use the pathauto module to provide urls that incorporate the term hierarchy. So for example, when you visit 'http://www.not2us.net/photos/2005/browncounty', Drupal sees this url as an alias to 'http://www.not2us.net/taxonomy/term/196'. This url is the "internal url" that Drupal really uses.
There are many terms that do not have nodes associated with them...for example '2008' or '2008->January'. These views are empty and display no nodes. However, I wrote a custom block that is placed above each view. This block provides the navigation through the galleries. The block takes the term id from the "internal url" and produces links and thumbnails to daugther terms. I also added in the links that show the parent terms as well. With this custom block enabled, an empty view returns no nodes but still provides effective navigation through the term hierarchy.
Lastly, I had to make one custom page node with the alias 'photos'. This page has custom php code that gives me the root level of the taxonomy hierarchy (e.g. 2001, 2002, etc.). All other urls of the form 'photos/*' are powered by views and the custom navigation block.
Let me know if that's not clear.
-Mike Goodwin
http://www.not2us.net
http://www.redleafmedia.com
Thanks
Did you use a single view that takes the view term as an argument? Is this at http://www.not2us.net/photos?
In the example of http://www.not2us.net/photos/2005/browncounty are "2005" and "browncounty" both taxonomy terms? Or are they somehow a single term?
clarification
First, http://www.not2us.net/photos is a page that I created manually. It is not a view.
However, all of the other photo pages (of the form 'http://www.not2us.net/photos/*') are derived from one single view. This view takes the taxonomy term id number as the argument.
I know this probably seems confusing, since the url that you see has no number in it. The pathauto module is what makes this all possible. I'll try to explain the basics of it...
Pathauto can create url aliases for taxonomy terms. For example it could take the original url 'taxonomy/term/tid' (where tid is a number) for a taxonomy listing and give it an alias of 'photos/categories/term-name' or 'photo-categories/term-name' or many other possible aliases. One great thing that it can do is create aliases with taxonomy term hierarchies, which is what I use in my case....For the Brown County example that you've chosen, we need to consider two different terms: '2005' and 'Brown County'. Each is its own distinct term; they are not a single term. I have set up the hierarchy so that 'Brown County' is a 'child' term of '2005'.
The term id number for 'Brown County' is 196. So pathauto creates an alias for me...mapping 'taxonomy/term/196' to 'photos/2005/browncounty'. So when a user visits 'http://www.not2us.net/photos/2005/browncounty', Drupal internally uses the url 'http://www.not2us.net/taxonomy/term/196'.
So, now that it is using 'http://www.not2us.net/taxonomy/term/196' as its internal url, Drupal has to figure out what to present to the user. Normally this url would just present a list of teasers for nodes that have the term id number 196. However, I have set up a view with the url 'taxonomy/term' that takes the term id as an argument. This view overrides the default teaser behavior of Drupal with a more customizable presentation. So, 'http://www.not2us.net/taxonomy/term/196' is handed to the view, and the view sees an argument of '196'. The view then knows to retrieve nodes with the term id 196 and to present them in the fashion that I set up in the view.
This process happens with every photo category on the site. Each category's user-friendly url is mapped back to a simple 'taxonomy/term/tid' url, which is handled by a single view that takes 'tid' as its argument,
-Mike Goodwin
http://www.not2us.net
http://www.redleafmedia.com
I have set up the hierarchy
Does pathauto recognize that browncountry is child term of 2005 and thus automatically add '2005' to the url alias? Also is the term actually "Brown County" or is it "browncounty"? How do you handle spaces in the terms?
yes
Pathauto adds the 2005 into the url automatically. It also handles the spaces. You can actually add what ever you want for spaces ("_" , "-" or nothing). I chose to use nothing. The term is actually "Brown County".
-Mike Goodwin
http://www.not2us.net
http://www.redleafmedia.com
Thanks I really appreciate
Thanks I really appreciate your replies, I'm starting to understand how it could work. Learning Drupal you almost have to be like a detective and piece things together.
With that setup, could you have 'browncounty' under, for example, 2006 as well? Or does the term have to be unique?
depends
With the way that I have it set up, a term can only have one parent. So I would have to make two separated terms, both named "Brown County"...with one under 2005 and one under 2006. The fact that they have the same name is fine, because Drupal only thinks of terms as their term id number.
However, I think that Drupal can give a term multiple parents. You just chose "Hierarchy: Multiple" as under the Hierarchy option when creating a taxonomy. However, I've never done this. So, I'm not 100% certain that it will do what you want.
-Mike Goodwin
http://www.not2us.net
http://www.redleafmedia.com
So I would have to make two
Thanks that's what I was wondering. I'm not interested in the multiple parent scenaro. It seems like an alternative setup would have been to have a Year vocabulary with the terms 2005, 2006, 2007, etc. And then an Album vocabulary with the terms browncounty, etc. I was wondering what you thought of this option and whether you considered it and consciously decided against it for some reason? Thoughts?
seems fine
Your idea seems fine. I just envisioned each year having its own specific set of sub-categories. So, I just made a hierarchy. With your proposed setup, each year would have to have the same subcategories. If that's what you want, then go for it. It's up to you and how you envision future categories.
-Mike Goodwin
http://www.not2us.net
http://www.redleafmedia.com
just look and tell me
clik anywhere in this page http://www.deco-cartron.fr/fgallery/17 then give me your answer (kwemart@yahoo.fr)