A new photo album manager : Gallery

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
chris..
Forum Members
Forum Members
Posts: 62
Joined: Thu Jun 01, 2006 8:03 pm

Re: A new photo album manager : Gallery

Post by chris.. »

Hi all,

Still about my previous reply:
When I insert param like show='all', prettyurl goes wild and it doesn't find page.

The good (without param):
http://www.site.com/gallery/galleryname/pageID

The bad:
http://www.site.com/gallery/galleryname/all-pageID
I've found that in action.default.php (lines 158-159, 213-214, 282-283, 291-292 and 303-304) different parameters are dash (-) separated instead of trailing slash (/).

When I modify the file, pages are found (instead of not at all) but nothing is showing in the gallery.
http://www.site.com/gallery/galleryname/all/pageID

Does someone know if I'm on the good way ?

Thanx..
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 »

Gallery version 1.5 just has been released.

Main new feature is a cool cropping function for editing thumbnails.

Gallery now requires CMSms 1.10+

Changelog:
- Added function to manually edit thumbnails per image (FR #5693, #6187) Thanks Cybrian for sponsoring
- Added function to manually rotate images clockwise or anticlockwise
- Supports "Lazy Loading" (though no effect due to registering to ContentPostRender event)
- Added parameter id
- Added smarty variables $gallerydate (FR #6231) and $gallerydir (FR #6522)
- Added option to have new galleries not active (FR #5705)
- Nothing gets added to the html head when there is no css or js (FR #6271)
- Added GalleryDropdown method, to be used in other modules
- Added options to set jpg resize quality
- Added jQuery UI datepicker for datefields
- Moved SWFUpload and jQuery scripts to lib directory
- Bug #6150: fixed - CSS files generated by gallery will not be found, if base tag is not supported by browser (or missing)
- Bug #6385: fixed - Call to undefined function in Modul Gallery (PostgreSQL compatible)
- Bug #6681: fixed - PNG resizing problem, SWFUpload code modification by CRAZY-Ivan (also FR #6154)
- Bug #7363: fixed - Action gallerytree gives blank page, cmsms 1.10 incompatibility issue
- Bug #7466: fixed - "With Selected" option doesn't show in admin when there is only one image in a Gallery
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm
Location: the Netherlands

Re: A new photo album manager : Gallery

Post by M@rtijn »

Awesome, can't wait to check it out :)

Question:
In your notes it says:
Supports "Lazy Loading" (though no effect due to registering to ContentPostRender event)
What does this mean, lazy loading works? If not, what can I do to make it work on my website?

The other features sound good to me as well! Good job ;D
Make your community a better place!
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 »

When 1.10 beta came out, I immediately tried to integrate it to Gallery. But it didn`t seem to make any difference. This topic explains it: http://forum.cmsmadesimple.org/viewtopi ... 74&t=56377
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 »

I get this error when trying to install 1.5
Warning: XMLReader::open() [xmlreader.open]: Empty string supplied as input in /home/photonet/public_html/photonetgallery.com.au/lib/classes/class.moduleoperations.inc.php on line 218

Warning: XMLReader::open() [xmlreader.open]: Empty string supplied as input in /home/photonet/public_html/photonetgallery.com.au/lib/classes/class.moduleoperations.inc.php on line 218
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: A new photo album manager : Gallery

Post by staartmees »

If your system does not support it, then your host is using a custom compile of PHP (this is supposed to be standard, so we don't even check it in the installer). I suggest you contact your host.

also see e.g. http://forum.cmsmadesimple.org/viewtopi ... er#p266184
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 »

staartmees wrote:If your system does not support it, then your host is using a custom compile of PHP (this is supposed to be standard, so we don't even check it in the installer). I suggest you contact your host.

also see e.g. http://forum.cmsmadesimple.org/viewtopi ... er#p266184
No problems here, uploaded the module manually and it upgraded fine. thanks
User avatar
requish
Forum Members
Forum Members
Posts: 183
Joined: Sat Jan 24, 2009 3:12 pm

Re: A new photo album manager : Gallery

Post by requish »

Hello :)

I have a problem with new version of Gallery 1.5.3 on CMSMS 1.10.3 "Hyacinthe".

Ive trying to crop image using edit option BUT on croping my selection hungs up and fly to my cursor - dont stay at selected place. Then if I do selection to crop (selection dont move after cursor) images dont croping after save.

Ive tried on Firefox, Chrome(no comment), IE9, IE8.

Please help ???
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 »

I'm sorry that function is does not yet function on many systems... It works in my dev envirement, but still working on it...
User avatar
requish
Forum Members
Forum Members
Posts: 183
Joined: Sat Jan 24, 2009 3:12 pm

Re: A new photo album manager : Gallery

Post by requish »

I see, however thanks for Your time at making module better! :)

Are there any requirements to temporarily use a crop options?
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 »

Not that I am aware of... Haven't been able to figure out why it works in my dev environment but not on live sites :-[
croise
Forum Members
Forum Members
Posts: 27
Joined: Fri Oct 23, 2009 11:17 pm
Location: The Netherlands

Re: A new photo album manager : Gallery

Post by croise »

Hello Jos,

I am a loyal user of your Gallery module, awesome job.

For a new website I have a main gallery called holidays, with sub galleries. I'd like to display all the images in the sub galleries by simply using

Code: Select all

{Gallery dir='holidays'}
and filter through the sub galleries with Javascript.

When I place the above code in my page content, instead of all the images in the sub galleries, I see the links to the sub galleries.

Is there a way to show all the actual images in the sub galleries instead of links to the galleries?

Thanks for your help!

Irma
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 »

Yes, as of version 1.5 that should be possible by putting a {Gallery dir=$image->fileid} tag inside a gallery-template.

Your new main Gallery-template could look something like this:

Code: Select all

{foreach from=$images item=image}
	{if $image->isdir}
		{* new call to Gallery to get the images from this subgallery *}
		{Gallery id=$image->fileid} 
	{else}
		{* display the image *}
   <a class="group" href="{$image->file|escape:'url'|replace:'%2F':'/'}" title="{$image->titlename}" rel="gallery-{$galleryid}"><img src="{$image->thumb|escape:'url'|replace:'%2F':'/'}" alt="{$image->titlename}" /></a>
	{/if}
{/foreach}
I think it will work best if you never use the template parameter, but use the template setting for your main gallery and set it to your new main-gallery-template.
croise
Forum Members
Forum Members
Posts: 27
Joined: Fri Oct 23, 2009 11:17 pm
Location: The Netherlands

Re: A new photo album manager : Gallery

Post by croise »

Thanks Jos!

I already used the image->fileid for my filtering script but it hadn't come to mind to use it the way you suggested.

I'm going to try it out.
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 »

I just released Gallery version 1.6
It is available in the Forge right now and I guess it will soon appear in your ModuleManager.

The main feature that is added to this version is the ability to assign permissions for backend users/usergroups to edit (sub)galleries.

To use this, you have to set the option "Require userpermissions to edit subgalleries" in the Options tab.

Now, editors who's group has the "Use Gallery" permission, only can edit (sub)galleries which they are assigned to, either by groupname or individually.

Additionally you can assign the "Gallery - Add subgalleries" permission, to allow those editors to create new subgalleries, but only to galleries they already have permission to edit.

There is also a "Gallery - Edit all galleries" permission available for those groups you don't want to assign to each separate subgallery.

This cool feature is sponsored by Mantlet.

Enjoy
Locked

Return to “Modules/Add-Ons”