Page 21 of 22

Re: A new photo album manager : Gallery

Posted: Sat Nov 12, 2011 5:40 pm
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..

Re: A new photo album manager : Gallery

Posted: Sun Feb 12, 2012 3:52 pm
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

Re: A new photo album manager : Gallery

Posted: Sun Feb 12, 2012 6:35 pm
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

Re: A new photo album manager : Gallery

Posted: Sun Feb 12, 2012 6:56 pm
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

Re: A new photo album manager : Gallery

Posted: Mon Feb 13, 2012 6:58 am
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

Re: A new photo album manager : Gallery

Posted: Mon Feb 13, 2012 7:31 am
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

Re: A new photo album manager : Gallery

Posted: Mon Feb 13, 2012 10:29 pm
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

Re: A new photo album manager : Gallery

Posted: Wed Apr 18, 2012 9:44 pm
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 ???

Re: A new photo album manager : Gallery

Posted: Wed Apr 18, 2012 10:07 pm
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...

Re: A new photo album manager : Gallery

Posted: Wed Apr 18, 2012 10:12 pm
by requish
I see, however thanks for Your time at making module better! :)

Are there any requirements to temporarily use a crop options?

Re: A new photo album manager : Gallery

Posted: Wed Apr 18, 2012 10:18 pm
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 :-[

Re: A new photo album manager : Gallery

Posted: Mon May 14, 2012 11:41 am
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

Re: A new photo album manager : Gallery

Posted: Mon May 14, 2012 4:01 pm
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.

Re: A new photo album manager : Gallery

Posted: Mon May 14, 2012 8:59 pm
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.

Re: A new photo album manager : Gallery

Posted: Sun Jul 15, 2012 7:30 pm
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