Page 14 of 22

Re: A new photo album manager : Gallery

Posted: Sun Nov 14, 2010 7:46 pm
by Marijus
How to make working AJAXStarRatingBar and gallery with AE-Gallery template?
I want  to add AJAXStarRatingBar to AE-Gallery template So I can vote for larger image, but when I insert this line into template it corrupt gallery and not working as it should or geting errors.

Any solution how to make it working?

Re: A new photo album manager : Gallery

Posted: Sun Nov 14, 2010 8:20 pm
by Jos
I also get an error with the AjaxStarRating module when I put it on a normal page  :-\  Maybe there is something wrong with the module now  ???  Very strange because I got it working with a few clicks at the Geekmoot presentation

Re: A new photo album manager : Gallery

Posted: Mon Nov 15, 2010 6:40 pm
by Marijus
Are there others ways for raiting photo?

Re: A new photo album manager : Gallery

Posted: Mon Nov 15, 2010 9:11 pm
by panthus
CGFeedback has a star-rating feature, maybe you could try that.

Add Image not working with CMSMS 1.9?

Posted: Mon Nov 15, 2010 11:49 pm
by kendo451
Is it just me, or does the "add image" button not work with Gallery 1.4.1 and CMSMS1.9 ?

My uploads through Image Manager, File Manager work fine.

large and small images on same page in Gallery

Posted: Tue Nov 16, 2010 1:01 am
by echobrin
I'm trying to set up Gallery to look similar to this page:
http://camphavenkennels.com/bitches.html

With one larger image plus thumbnails for that album, then the next album with one large image and thumbnails.

Here is what I have so far, but I don't know how to get the smaller thumbs to show up for each album:
http://174.37.162.38/~camphave/index.php?page=bitches

Thanks for any pointers.

Re: A new photo album manager : Gallery

Posted: Tue Nov 16, 2010 6:15 am
by Jos
The easiest way to do this is to set the Gallery thumbsize for smaller image-thumbs and to use the Supersizer plugin to create the larger thumbs for the albums.

Re: A new photo album manager : Gallery

Posted: Tue Nov 16, 2010 11:22 am
by MikeTroop74
Jos,
Just wondered if perhaps you've tried running the FancyBox-main.css through a CSS validator?

Re: A new photo album manager : Gallery

Posted: Tue Nov 16, 2010 11:30 am
by nicmare
MikeTroop74 wrote: Jos,
Just wondered if perhaps you've tried running the FancyBox-main.css through a CSS validator?
who cares? its the stylesheet of fancybox not of jos. complain at fancybox. the css needs some hacks to work with all browsers. especially ie6.

ps: sorry for interfering :D

Re: A new photo album manager : Gallery

Posted: Tue Nov 16, 2010 12:35 pm
by Jos
thx nicmare.
@MikeTroop: I am not the css guru I'd like to be. Therefore I welcome any suggestion to improve the styling of Gallery specific css.
I will not change css that comes with the *box systems, because it will be overwritten when an update for that *box system comes along.

Re: A new photo album manager : Gallery

Posted: Tue Nov 16, 2010 1:19 pm
by panapaul
Hello!
I have a problem with the thumbnails and the pictures. In the Content i set {Gallery dir='test' number="6"}. And now on the Gallery you see only 6 picture, but in the directory are 20 picture.  ??? I'm a absolute beginner. Whats happen and was is my mistake?

Re: A new photo album manager : Gallery

Posted: Tue Nov 16, 2010 1:25 pm
by Marijus
If you want to show all pictures write {Gallery dir='test'}
With number you describe how many pictures will be showed.

Re: A new photo album manager : Gallery

Posted: Tue Nov 16, 2010 1:26 pm
by Jos
with the parameter number="6" you ask Gallery to display only 6 images. If you have more then 6 images in this specific subgallery-dir, the default gallerytemplates will show you pagination buttons.

Re: A new photo album manager : Gallery

Posted: Tue Nov 16, 2010 1:43 pm
by panapaul
Ah. In my opinion number= 6 shows only 6 thumbnails at the page (but all pictures in the gallery). That's was the mistake. Because imo isn't nice to show 100 thumbnails on a page. The paginations buttons are okay, but i only can see the 6 pictures from the current thumbnails.

Re: A new photo album manager : Gallery

Posted: Tue Nov 16, 2010 1:46 pm
by echobrin
Jos wrote: The easiest way to do this is to set the Gallery thumbsize for smaller image-thumbs and to use the Supersizer plugin to create the larger thumbs for the albums.
Thanks for the tip on using supersizer. I now have the sizing issue worked out. The only thing I can't figure out is how to call the images in the subalbum. Right now I'm just getting the same album cover images repeated again as the smaller thumbs because all I did was copy the foreach statement. Instead of using a nested

Code: Select all

{foreach from=$images item=image}
which of course gives the album cover images again, how could I do something similar but have it display the images within that album?

Here's my template code:

Code: Select all

<div class="gallery">
{if !empty($module_message)}<h4>{$module_message|escape}</h4>{/if}
{if !empty($gallerycomment)}<div class="gallerycomment">{$gallerycomment}</div>{/if}
<table border="2">
{foreach from=$images item=image}
<tr><td colspan="2"><h2><center>{$image->titlename}</center></h2></td></tr>
<tr><td>
<div class="img">
	{if $image->isdir}
<a href="{$image->file}" title="{$image->titlename}"><img src="{$image->thumb|escape:'url'|replace:'%2F':'/'}" alt="{$image->titlename}" /></a></td><td bgcolor="#000000"><span class="tanonblack">{$image->comment}</span></td></tr>
<tr><td colspan="2">
{foreach from=$images item=image}
<a class="group" href="{$image->file|escape:'url'|replace:'%2F':'/'}" title="{$image->titlename}" rel="gallery">{supersizer path=$image->thumb width="133"}</a>
{/foreach}
</td></tr>
<tr><td colspan="2"  bgcolor="#000">.</td></tr>
	{else}
   <a class="group" href="{$image->file|escape:'url'|replace:'%2F':'/'}" title="{$image->titlename}" rel="gallery"><img src="{$image->thumb|escape:'url'|replace:'%2F':'/'}" alt="{$image->titlename}" /></a>
	{/if}
	</div>
{/foreach}
</table>
<div class="galleryclear"> </div>
</div>