-
☆ A M B ☆
- 3,112 Posts
@Trent,
may be because the other 3 photos have portrait orientation.
try to add &ss_allowedratio=`all`
ss_allowedratio actually calculates the width/height ratio, because the script always generates the original pictures to match with your &ss_w (display’s width) and &ss_h (display height) to have a full size of pictures.
When you have a display box in landscape orientation and try to show a portrait picture, you’ll get a picture with too much cropping from the top and the bottom.
See the picture I’ve included in your Help tab as the graphical explanation.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
☆ A M B ☆
- 3,112 Posts
Quote from: daima at Oct 14, 2010, 05:53 AM
пишу так: $modx->runSnippet(’easy2:cat_alias’, array(’gid’=>$galery)) - после этого галерея перестает показываться. Так - $modx->runSnippet(’easy2:cat_alias’, array(’gid’=>$galery)) работает
eh?
what is wrapper snippet?
EDIT:
This is how I use that for my own snippet.
The variables are provided by another function.
<?php
$easy2pictures = $modx->runSnippet("easy2", array(
"gid" => $docalbumid[$docid]
, "customgetparams" => '&docid=' . $docid . '&type=' . $type
));
echo $easy2pictures;
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
☆ A M B ☆
- 3,112 Posts
@Djeak,
No.
It’s designed to reject visitor to go to upper folder.
It’s against the descendant rules of the snippet call.
I invented this system since 1.4.0 beta 4 or so.
So, the &gid of the snippet call is the milestone to go forward, but you can not go backward, or even to the sibling folders (by directly changing the link in the address bar).
And actually, I’ve been thinking to delete the &crumbs_showHome.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
Ок, тогда придется удалить &crumbs_showHome. А можно как-то другим способом в crumbs прописать такую ссылку?
Да, по поводу prev и next, в каких файлах можно дописать эту функцию?
-
☆ A M B ☆
- 3,112 Posts
you can disable it from your module settings, find out the crumbs section.
gallery.htm
<table class="e2g_prevupnext">
<tr>
<td class="e2g_prev">[+easy2:prev_link+]</td>
<td class="e2g_up">[+easy2:up_link+]</td>
<td class="e2g_next">[+easy2:next_link+]</td>
</tr>
</table>
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
при установки значения 0.5-1.5
выдает
snippet calls wrong gallery id:1, order, or wrong limit.
SELECT * FROM modx1_easy2_files WHERE dir_id IN (1) AND width/height >=0,5 AND width/height<=1,5 AND status = 1 ORDER BY date_added ASC LIMIT 0, 6
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’5 AND width/height<=1,5 AND status = 1 ORDER BY date_added ASC LIMIT 0, 6’ at line 1
при значении &ss_allowedratio=’all’ работают все слайдшоу кроме ’galleryview’
при [!easy2? &slideshow=`galleryview`!] растягивает окно сайта без вывода картинок или ошибок