Page 13 of 22
Re: A new photo album manager : Gallery
Posted: Sun Nov 07, 2010 11:11 am
by JornB
Running CMSMS 1.8.2 and installed Gallery 1.4.1.
Added pictures into the root folder (Gallery) and then added the tag {Gallery} on a new page. When accessing the page in frontend I get this message:
"The directory 'Gallery/' does not exist. Check your parameters.
0 bilder"
Still the folder does exist in uploads/images/. Been trying with adding subfolders but with the same result
"The directory 'Gallery/[subfoldername]' does not exist. Check your parameters.
0 bilder"
Any idea on how to get it to work?
Re: A new photo album manager : Gallery
Posted: Sun Nov 07, 2010 11:16 am
by Jos
Strange... difficult to tell from a distance... Is it possible to pm me a temporary admin account?
Re: A new photo album manager : Gallery
Posted: Sun Nov 07, 2010 11:28 am
by JornB
Jos wrote:
Strange... difficult to tell from a distance... Is it possible to pm me a temporary admin account?
Seems to be something with the installation of CMSMS on the current site, Gallery worked like a charm on a new CMSMS installation.
Re: A new photo album manager : Gallery
Posted: Tue Nov 09, 2010 3:32 pm
by KevC
I am not skilled in the use of tags and smarty variables so need some help please.
My images show in rows which is what I want. I wanted the comment for the image to display under the image. All I have achieved so far is to get it to show as a mouseover
Could someone advise what additional code I need to add please
Re: A new photo album manager : Gallery
Posted: Tue Nov 09, 2010 4:19 pm
by Jos
KevC, do you mean under the big image like discussed here
http://forum.cmsmadesimple.org/index.ph ... #msg203574 ?
Re: A new photo album manager : Gallery
Posted: Wed Nov 10, 2010 1:31 am
by KevC
I would prefer to have it with the thumbnails so that the visitor can see the details. Then they can have a look at the big picture if they wish
Re: A new photo album manager : Gallery
Posted: Wed Nov 10, 2010 7:54 am
by Jos
Then just add the {$image->comment} tag on the right spot in the gallerytemplate you use.
For example fancybox:
{foreach from=$images item=image}
{if $image->isdir}
file}" title="{$image->titlename}">thumb|escape:'url'|replace:'%2F':'/'}" alt="{$image->titlename}" />
{$image->titlename}
{else}
file|escape:'url'|replace:'%2F':'/'}" title="{$image->titlename}" rel="gallery">thumb|escape:'url'|replace:'%2F':'/'}" alt="{$image->titlename}" />
{$image->titlename}
{$image->comment}
{/if}
{/foreach}
Re: A new photo album manager : Gallery
Posted: Wed Nov 10, 2010 11:06 am
by KevC
Thanks Jos,
exactly what I needed
Kev
Re: A new photo album manager : Gallery
Posted: Wed Nov 10, 2010 1:53 pm
by nyandres
Is it possible to use transparent gifs in the gallery? I cant seem to be able to do that. The images get converted to jpg
thats my only complain.
Amazing plugin however
Re: A new photo album manager : Gallery
Posted: Wed Nov 10, 2010 4:14 pm
by Jos
nyandres, If gifs are uploaded with the Gallery built-in SWFUpload function, they are indeed converted to jpg. If you upload gifs in another way, it should be no problem.
Re: A new photo album manager : Gallery
Posted: Fri Nov 12, 2010 5:47 am
by Cerulean
Love this module, it's great.

Just a couple of little graphical glitches in the admin are catching my eye (had a go at fixing them myself but I don't understand how the links are generated).
On the "Galleries" tab the "Add subgallery" link has it's underline going through the icon - compare with the similar link on the "Field Definitions" tab which displays correctly.
This underline through icon glitch also affects the "Add subgallery" and "Add images" links in the gallery editing screen.
Yes, I know these are hardly major bugs, but it's just nice to have everything looking right.

Are they easy fixes?
Re: A new photo album manager : Gallery
Posted: Fri Nov 12, 2010 9:45 am
by MikeTroop74
Cerulean wrote:
Love this module, it's great.

Just a couple of little graphical glitches in the admin are catching my eye (had a go at fixing them myself but I don't understand how the links are generated).
On the "Galleries" tab the "Add subgallery" link has it's underline going through the icon - compare with the similar link on the "Field Definitions" tab which displays correctly.
This underline through icon glitch also affects the "Add subgallery" and "Add images" links in the gallery editing screen.
Yes, I know these are hardly major bugs, but it's just nice to have everything looking right.

Are they easy fixes?
My "Add Subgallery" link displays correctly. Perhaps this is a CSS issue?
Re: A new photo album manager : Gallery
Posted: Fri Nov 12, 2010 8:12 pm
by Cerulean
Mike, I believe the underline problem is caused by the icon image being enclosed in the same tag as the link text.
If you inspect the HTML of a "correct" icon and link, for example the "Add Field Definition" link on the Gallery Field Definitions tab, you'll see that the icon is in one tag and the text in another.
In the case of the "Add subgallery" link CSS can't solve it because any rule applied to the tag will affect both the icon and the text.
The underline does extend into the icon, but you may not notice it if your admin theme uses opaque icons. Which does give me an idea for a rough fix...
Re: A new photo album manager : Gallery
Posted: Sat Nov 13, 2010 8:29 pm
by Marijus
This module really are the best.
Is it possible to add ID value for each folder and call gallery by default by ID, not by folder path, for example {Gallery id='10'} and so on. Because if I move photo folder to new location I must to change gallery calling line in each page where I use it.
It is only a suggestion but it would be nice if it would be realized.
Anyway thank you for this wonderful module.
Re: A new photo album manager : Gallery
Posted: Sat Nov 13, 2010 9:39 pm
by Jos
Cerulean wrote:
On the "Galleries" tab the "Add subgallery" link has it's underline going through the icon - compare with the similar link on the "Field Definitions" tab which displays correctly.
This underline through icon glitch also affects the "Add subgallery" and "Add images" links in the gallery editing screen.
Yes, I know these are hardly major bugs, but it's just nice to have everything looking right.

Are they easy fixes?
If only all bugs were this easy to fix

I will take it in a next release
Marijus wrote:
Is it possible to add ID value for each folder and call gallery by default by ID, not by folder path, for example {Gallery id='10'} and so on. Because if I move photo folder to new location I must to change gallery calling line in each page where I use it.
It is only a suggestion but it would be nice if it would be realized.
Marijus, nice idea, but please file a feature request in the forge:
http://dev.cmsmadesimple.org/feature_request/list/726. Would be a pitty if this idea gets lost in all the posts here
