A new photo album manager : Gallery

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Marijus

Re: A new photo album manager : Gallery

Post by Marijus »

Thank you that working :)
lucy
Forum Members
Forum Members
Posts: 48
Joined: Tue Jun 29, 2010 9:59 am

Re: A new photo album manager : Gallery

Post by lucy »

Thank you for that great module, Jos!
I especially like that the stylesheet and java script goes with the Template editing on one page.

One thing, I didn't get to work is the template-option together with the single-image option.
{Gallery template="bla" img="2"} As soon as I put the single-image option, the displayed template was the default one...I used the start-option instead {Gallery template="bla" start="2"} and in the template limited it to  $images[0] to just call one image.

Ups-just found that the single image option has its own template, seems I missed it, because, I always have firebug dividing my window.  :)
Anyway with this little work-around, different single image-templates are possible with even separate java script calls.  

PS: in the Stylesheet from the 1.3 download, I had to set #fancybox-left, #fancybox-right to background: url("../fancybox/blank.gif")  transparent;
insted of just background-image... it displayed a black layer over half of the pic.(using firefox)
Last edited by lucy on Wed Jun 30, 2010 2:22 pm, edited 1 time in total.
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: A new photo album manager : Gallery

Post by nicmare »

hi jos, i have a question about 1.3.1 of gallery.
we should not use image->title anymore but titlename.
i set no names to the images. i use the filename. therefore i use image->title in my templates. what happens after updating gallery? should i simply use image->titlename? is this the same output? i really need just the filename without path: image001.jpg
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: A new photo album manager : Gallery

Post by Jos »

$image->titlename in 1.3.1 gives you the same output as $image->title did before

$image->title now just contains the title given in the backend.
In your case you can also use $image->filename.

Sorry about the change. There was a request for a variable that just contains the title of the image. I couldn't think of a better name then "title"  :P
Dutch_guy
Forum Members
Forum Members
Posts: 64
Joined: Wed Apr 23, 2008 11:19 am

Re: A new photo album manager : Gallery

Post by Dutch_guy »

Wow !

That's all I can say. I just installed the new version of the Gallery and it is really perfect !

Multiple uploading and client-side resizing where the 2 things that were missing.

This module now couldn't be easier to use by my clients !

Some dutch talk: Top, klasse gedaan ! Echt bedankt !
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: A new photo album manager : Gallery

Post by Jos »

very nice to hear!  :D  Thank you
Dutch_guy
Forum Members
Forum Members
Posts: 64
Joined: Wed Apr 23, 2008 11:19 am

Re: A new photo album manager : Gallery

Post by Dutch_guy »

I don't want my users to manually paste the code of a gallery in a page.

Instead I want a gallery automatically inserted in the page, based on the page alias. So a gallery needs to be named the same as an existing page alias.

I made the following User defined tag:

Code: Select all

$page = $_GET['page'];

echo "{Gallery dir=" .$page. "}";
I place this UDT in my template. However it doesn't show the gallery, but instead it only shows the text of the UDT code.

Any ideas how to get this working ?
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: A new photo album manager : Gallery

Post by Jos »

Dutch_guy, you might want to take a here: look http://forum.cmsmadesimple.org/index.ph ... 828.0.html
Dutch_guy
Forum Members
Forum Members
Posts: 64
Joined: Wed Apr 23, 2008 11:19 am

Re: A new photo album manager : Gallery

Post by Dutch_guy »

Thanks! It works !
Novaline
New Member
New Member
Posts: 9
Joined: Sun Mar 14, 2010 5:11 pm

Re: A new photo album manager : Gallery

Post by Novaline »

Maybe someone could help me with my gallery?

my site is www.novaline.pl/modeling. When I add a new face, model (male or female), I have to: add new photos, and, every time, paste html code in wysiwyg, and fill it with information about the model (height, hair colour, clothing size etc.) And I have to give a link to thumbnail.
It looks like this (example):








wzrost:
182


biust:
82


talia:
63


biodra:
93


nr buta:
40







rozmiar ubrania:
36


kolor włosów:
brązowe



kolor oczu:




miasto:
Poznań



języki obce:
angielski





Galeria

My question is: Is there a way to automatize this? To chose "New Face" or "Model" or else, and simply fill the box, without ctrl c - ctrl v? I mean the html code.
Sorry for my english, I am not sure if I explained the problem very well, but I tried to do my best :)

Warm regards

Radek
w wyborach miss wyrażenie "dać za wygraną" nabiera zupełnie innego znaczenia
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: A new photo album manager : Gallery

Post by nicmare »

this is not possible as long as the gallery plugin does not provide custom fields like other modules.
mademoisl
New Member
New Member
Posts: 2
Joined: Wed Mar 18, 2009 2:45 am

Re: A new photo album manager : Gallery

Post by mademoisl »

hello, thanks a lot for this wonderful module. I was using the album module before, but i love to work with this one now, and my clients too  :P

May be it will help someone. For some projects, i customized the template "Tables" in the module Album, i adapted it for Gallery:

Code: Select all

{foreach from=$images item=image}
   {if !empty($nextpage_url)}<a href="{$nextpage_url}">{/if}<img src="{$image->file}" alt="{$image->title} - {$image->comment}" />{if !empty($nextpage_url)}</a>{/if}
{/foreach}
<div id="navigation">
{if $pages > 1}
{if !empty($prevpage_url)}<a href="{$prevpage_url}"><</a> {/if}{$currentpage}/{$pages}{if !empty($nextpage_url)} <a href="{$nextpage_url}" class="fleche">></a>{/if}
{/if}
<br /><br />{$image->title}<br />
{$image->comment}
</div>
it will show the pictures in a simple way, with arrows to move from one to an other.
vicpug
Forum Members
Forum Members
Posts: 22
Joined: Mon Jul 12, 2010 1:58 pm

Re: A new photo album manager : Gallery

Post by vicpug »

This is a great module which works well and is fairly easy to customize. Is there a template that does 'hover' over thumbnail popup - like the CMS Themes Template page.  cheers
User avatar
moonie
Forum Members
Forum Members
Posts: 81
Joined: Tue Feb 13, 2007 3:08 pm
Location: Switzerland

Re: A new photo album manager : Gallery

Post by moonie »

Gallery really is a great module! I only have a small question where I didn't find any info.. is it possible to alter the sorting order if I just output all my galleries at once with {gallery}, without indicating any subfolders etc? Right now I have yearly galleries in there named 2006 - 2010, and it displays the 2006 first, 2010 last in the overview. I'd like to switch the sorting so it starts with the newest year first in the overview - is there any parameter that would help me do so?

Thanks in advance!
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: A new photo album manager : Gallery

Post by Jos »

Thank you Moonie.
You can change the sortorder in the Gallery template editor. There you can set the sortorder to filename descending. This will however also affect the sortorder of your images if you use the same template.

You can solve that by creating a new template for your main gallery folder only. Set the filename to descending there and leave your current template as it is.
Locked

Return to “Modules/Add-Ons”