Gallery - MODX Community Forums https://forums.modx.com/board/?board=101 <![CDATA[Gallery with slimbox: where's the caption and navigation arrows (Next and Previous)]]> https://forums.modx.com/thread/104963/gallery-with-slimbox-where-s-the-caption-and-navigation-arrows-next-and-previous#dis-post-564416
[[Gallery? &plugin=`slimbox` &overlayOpacity=`0` &album=`[[*kiesalbum]]` &toPlaceholder=`gallery` &thumbTpl=`galleryrowTpl2` &thumbWidth=`228` &thumbHeight=`171` &thumbQuality=`80`]]

[[+gallery:notempty=`<div class="row" id="gallery">[[+gallery]]</div>`]]

But it does not show the captions (descriptions of the images). It just says "Image x of x".
The navigation arrows are also missing; clicking on the image just closes the image.

Anyone got a solution?]]>
https://forums.modx.com/thread/104963/gallery-with-slimbox-where-s-the-caption-and-navigation-arrows-next-and-previous#dis-post-564416 Wed, 13 Mar 2019 01:26:02 +0000 https://forums.modx.com/thread/104963/gallery-with-slimbox-where-s-the-caption-and-navigation-arrows-next-and-previous#dis-post-564416
<![CDATA[Gallery images stopped working]]> https://forums.modx.com/thread/104686/gallery-images-stopped-working#dis-post-563175 No errors in log, paths are correct...
https://www.dropbox.com/s/9re76391ybazmj1/modx2.JPG?dl=0

]]>
https://forums.modx.com/thread/104686/gallery-images-stopped-working#dis-post-563175 Mon, 10 Dec 2018 06:31:55 +0000 https://forums.modx.com/thread/104686/gallery-images-stopped-working#dis-post-563175
<![CDATA[Gallery and file name for seo]]> https://forums.modx.com/thread/103537/gallery-and-file-name-for-seo?page=2#dis-post-557089 Gallery component don't mantien the file name of photos, but rename the photos with id. Do you have an alternative? I see this components:
https://en.modstore.pro/packages/photos-and-files/ms2gallery
Has anyone tried it?]]>
https://forums.modx.com/thread/103537/gallery-and-file-name-for-seo?page=2#dis-post-557089 Wed, 28 Feb 2018 07:33:37 +0000 https://forums.modx.com/thread/103537/gallery-and-file-name-for-seo?page=2#dis-post-557089
<![CDATA[Gallery and Revo 2.5.8]]> https://forums.modx.com/thread/102987/gallery-and-revo-2-5-8#dis-post-554543 https://forums.modx.com/thread/102987/gallery-and-revo-2-5-8#dis-post-554543 Mon, 16 Oct 2017 12:10:56 +0000 https://forums.modx.com/thread/102987/gallery-and-revo-2-5-8#dis-post-554543 <![CDATA[howto make a user an owner of gallery]]> https://forums.modx.com/thread/102452/howto-make-a-user-an-owner-of-gallery#dis-post-552226
I used modx-2.5.7, gallery, personalize, login, phpthumbof, formit so far. Have built user profile. One part of that profile should show user gallery(ies). I thought about adding an owner column to the album part of database and selecting on the fly galleries for logged in user based on his/her ID.

What do you think?

I am looking through the code of gallery but haven't found part where I could make those changes sad
Would be grateful for help

mike]]>
https://forums.modx.com/thread/102452/howto-make-a-user-an-owner-of-gallery#dis-post-552226 Sun, 02 Jul 2017 05:51:43 +0000 https://forums.modx.com/thread/102452/howto-make-a-user-an-owner-of-gallery#dis-post-552226
<![CDATA[ [SOLVED] Gallery items issue when linked to from GalleryAlbums thumbnail]]> https://forums.modx.com/thread/94374/solved-gallery-items-issue-when-linked-to-from-galleryalbums-thumbnail#dis-post-551605 I am following this tutorial
http://www.sitsol.be/blog/modx-gallery-albums

The GalleryAlbums snippet works perfect using following code on page id71 showing my 3 test albums:

[[!GalleryAlbums? &rowTpl=`GalleryrowTpl` &toPlaceholder=`galleries` &prominentOnly=`0`]]
<div class="css-wrapper">[[+galleries]]</div>


GalleryrowTpl
<div class="span4 item">
<a class="preview" href="[[~103]]/?[[+albumRequestVar]]=[[+id]]" title="[[+name]]">
  <img src="[[+image]]&w=320&h=240&zc=1" alt="[[+name]]">
 </a>
  <h4>[[+showName:notempty=`[[+name]]`]]</h4>
</div>


Problem is when these album thumbnails are clicked they take me to my custom 404 page.

The page that should show the album images is page 103 and it has the following code on it
[[!Gallery? &toPlaceholder=`gallery` &thumbTpl=`GalleryrowTpl2` &thumbWidth=`200` &thumbHeight=`160` &thumbQuality=`80`]]
 <div class="row">
  <div class="text-title">
   <h3>[[*longtitle]]</h3>
    <div><h4>[[+gallery.description]]</h4></div>
     <a href="[[~[[*parent]]]]"><button type="button" class="btn">back to overview</button></a>
  </div>         
  <div class="css-wrapper">
   [[+gallery]]
  </div>
 </div>


GalleryrowTpl2
<div class="span2 item2">
 <a class="preview" href="[[+image_absolute]]" title=" " rel="prettyphoto[pp_gal]">
  <img src="[[+thumbnail]]" alt=" " class="img-rounded">
 </a>
</div>

The url from the Gallery Albums thumbnails is like this:
http://mysite.co.uk/gallery-1.html/?galAlbum=1

That is linking to the correct page of id 103 alias gallery-1 if I remove the /?galAlbum=1 from the end of the url the page loads fine minus the gallery pictures but with that added it defaults to my 404 page.

I tested the snippet with this
[[!Gallery? &album=`Album 1`]]


That output thumbnails fine but it cant seem to read info via the URL. I have friendly url turned on dont think that should be an issue.

I am using Revo 2.3.1 and gallery is 1.7.0

Have i missed something or does the above look correct.

Thanks

Ian

]]>
https://forums.modx.com/thread/94374/solved-gallery-items-issue-when-linked-to-from-galleryalbums-thumbnail#dis-post-551605 Fri, 09 Jun 2017 12:10:29 +0000 https://forums.modx.com/thread/94374/solved-gallery-items-issue-when-linked-to-from-galleryalbums-thumbnail#dis-post-551605
<![CDATA[Gallery: How to change image file names in cache?]]> https://forums.modx.com/thread/91790/gallery-how-to-change-image-file-names-in-cache#dis-post-550109
we use the gallery plugin version 1.6.2-pl with modx revo 2.2.14-pl.

the gallery plugin creates cache folders with images inside like: 11.jpg, 33.jpg ...

Is there a way to keep the original image filenames and not to rename the image names to numbers in the cache folders?

regards
stefan]]>
https://forums.modx.com/thread/91790/gallery-how-to-change-image-file-names-in-cache#dis-post-550109 Fri, 14 Apr 2017 04:38:00 +0000 https://forums.modx.com/thread/91790/gallery-how-to-change-image-file-names-in-cache#dis-post-550109
<![CDATA[Gallery (with slimbox-plugin) on Ajax-Site]]> https://forums.modx.com/thread/101149/gallery-with-slimbox-plugin-on-ajax-site#dis-post-546009
I'm working on a new project in MODX Revo 2.5.1 with Gallery 1.7.0.

The content on the site is loaded via an AJAX-script:

//////////////// AJAX Start
$(document).on("click", 'a:not(.up a, .gallery a)', function(event) { 

event.preventDefault();

var href = $(this).attr("href");
	
$.ajax({
                   type: 'GET',
                   url: href,
                   data:'html',
                   beforeSend: function(){
                       $(".loading").show();
                   },
                   success: function(data)
                   {                         
						$(".loading").hide();
						$('#target').html($(data).find('#target').html());
						var matches = data.match(/<title>(.*?)<\/title>/);
						var pageTitle = matches[1];
						document.title = pageTitle;
						var url = window.location.href;
                   }
           });
	
//This is where we update the address bar with the 'url' parameter
history.pushState({}, '', href);
    return false;	
});
//////////////// AJAX End 


So every time an a/link is clicked - except for some like an up-arrow and the gallery-links - the content inside the target-id-div of the desired page gets loaded and displayed.

On the page "images", where i have implemented one of the gallery-albums, I'm using this snippet-call:

[[!Gallery? 

&plugin=`slimbox` 

&loop=`1` 

&thumbWidth=`200` 
&thumbHeight=`200` 
&thumbZoomCrop=`1` 

&overlayOpacity=`0.65` 

&imageWidth=`600` 
&imageHeight=`600` 

&slimboxRenderJsOnStartup=`0` 
&slimboxLoadJQuery=`0` 

&rowTpl=`galAlbumCoverRowTpl` 

&toPlaceholder=`gallery`
]] 



So here is my problem:

When I start on the "index"-page and navigate to the "images"-page and I want to click on an image to get it displayed in the slimbox-"popup"-way, I get an error: the page reloads and the image gets shown like there is no slimbox or ajax or whatever.

Then I go back on the browser-history-back-button, the page gets reloaded. When I do a click on an image now, it get's opened in the slimbox-way as desired. This works until I load another page and go back to the "image"-page; then it's broken again.

Has anyone a clue how I can get this to work? The slimbox-plugin should be "active" whenever I'm on the site and navigate to the image-galleries, so that each time the images are opened in the slimbox-way?

Cheers in advance!]]>
https://forums.modx.com/thread/101149/gallery-with-slimbox-plugin-on-ajax-site#dis-post-546009 Fri, 28 Oct 2016 11:00:05 +0000 https://forums.modx.com/thread/101149/gallery-with-slimbox-plugin-on-ajax-site#dis-post-546009
<![CDATA[HOWTO: Simple Slideshow and Revo Gallery Component]]> https://forums.modx.com/thread/50664/howto-simple-slideshow-and-revo-gallery-component#dis-post-545307
To make my simple slideshow I first created a chunk called "simple_slideshow_galItemThumb". This will hold each individual image:
<div class="gal-item">
	<img src="[[+thumbnail]]" alt="[[+name]]" />
	[[+name:notempty=`<h3>[[+name]]</h3>`]]
	[[+description:notempty=`<p>[[+description]]</p>`]]
</div>


And then the HTML for my page contains this code:
<style type="text/css">
.simple_slideshow { position: relative; width: 280px; }
.simple_slideshow .gal-item { position: absolute; left: 0; top: 0; }
</style>

<div class="simple_slideshow">
[[!Gallery?
	&album=`My Album`
	&thumbTpl=`simple_slideshow_galItemThumb`
	&thumbWidth=`280`
	&thumbHeight=`280`
	&useCss=`0`
]]
</div>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
<script>
$(function(){
	$('.simple_slideshow div.gal-item:gt(0)').hide();
	setInterval(function(){$('.simple_slideshow div.gal-item:first-child').fadeOut(1000).next('div.gal-item').fadeIn(1000).end().appendTo('.simple_slideshow');}, 3000);
});
</script>


You should remove the line that loads jQuery if you already have it elsewhere in your template. The slide transition lasts one second and the duration the slide is up is three seconds. This can be adjusted in the Javascript. Obviously there is a lot more that can be done with styles and jQuery effects but for this example I have tried to keep it simple.

Hope it helps!]]>
https://forums.modx.com/thread/50664/howto-simple-slideshow-and-revo-gallery-component#dis-post-545307 Tue, 27 Sep 2016 12:01:16 +0000 https://forums.modx.com/thread/50664/howto-simple-slideshow-and-revo-gallery-component#dis-post-545307
<![CDATA[Missing thumbnail after upgrading Gallery to 1.7]]> https://forums.modx.com/thread/100967/missing-thumbnail-after-upgrading-gallery-to-1-7#dis-post-545188


If I click on the album, seems that the images are not linked in. Any helps to solve this? All the paths are correct as I do not changed anything on filesystem.

thank you]]>
https://forums.modx.com/thread/100967/missing-thumbnail-after-upgrading-gallery-to-1-7#dis-post-545188 Thu, 22 Sep 2016 08:10:47 +0000 https://forums.modx.com/thread/100967/missing-thumbnail-after-upgrading-gallery-to-1-7#dis-post-545188
<![CDATA[Not able to remove images on gallery backend. Thumbnail grid is missing]]> https://forums.modx.com/thread/99812/not-able-to-remove-images-on-gallery-backend-thumbnail-grid-is-missing#dis-post-539874 Gallery is on version 1.5.2-pl

The interface of Gallery is not like it should be. A screenshot is below.
- Fields like upload cover are missing.
- Cant delete the images
- Cant update the images
- The grid view is gone. Just blocks above each other.

To try reapair this i have upgraded Gallery to 1.7. My advise NEVER DO this. (at least without a backup)
Gallery was full messed up showing all double. (double buttons, containers etc....)
It even broke the slideshow in the website.
Also updated the website to 2.4.3. (not helping either)

Below screenshot after my backup restore.



Error in the log says:
[2016-03-23 10:24:01] (ERROR @ /index.php) modTemplateVar: Attempt to set NOT NULL field type to NULL
[2016-03-23 10:24:01] (ERROR @ /index.php) modTemplateVar: Attempt to set NOT NULL field type to NULL
[2016-03-23 10:26:13] (ERROR @ /index.php) modTemplateVar: Attempt to set NOT NULL field type to NULL
[2016-03-23 10:31:27] (ERROR @ /index.php) modTemplateVar: Attempt to set NOT NULL field type to NULL
(looks more like something in Migx)

People with same issues:
https://forums.modx.com/thread/92218/galleryitem-don-t-work-after-update-to-modx-2-3#dis-post-505622
https://forums.modx.com/thread/99173/no-thumbs-and-images-displayed-with-gallery-1-7-0#dis-post-536338
]]>
https://forums.modx.com/thread/99812/not-able-to-remove-images-on-gallery-backend-thumbnail-grid-is-missing#dis-post-539874 Wed, 23 Mar 2016 05:37:36 +0000 https://forums.modx.com/thread/99812/not-able-to-remove-images-on-gallery-backend-thumbnail-grid-is-missing#dis-post-539874
<![CDATA[Problems with installing gallery and geting albaums lists]]> https://forums.modx.com/thread/99807/problems-with-installing-gallery-and-geting-albaums-lists#dis-post-539851
Console running...
Attempting to install package with signature: gallery-1.7.0-pl
Package found...now preparing to install.
Grabbing package workspace...
Workspace environment initiated, now installing package...
Skipping vehicle object of class modPluginEvent (data object exists and cannot be upgraded); criteria: Array ( [pluginid] => 4 [event] => OnTVInputRenderList )
Skipping vehicle object of class modPluginEvent (data object exists and cannot be upgraded); criteria: Array ( [pluginid] => 4 [event] => OnTVInputPropertiesList )
Skipping vehicle object of class modPluginEvent (data object exists and cannot be upgraded); criteria: Array ( [pluginid] => 4 [event] => OnTVOutputRenderList )
Skipping vehicle object of class modPluginEvent (data object exists and cannot be upgraded); criteria: Array ( [pluginid] => 4 [event] => OnTVOutputRenderPropertiesList )
Skipping vehicle object of class modPluginEvent (data object exists and cannot be upgraded); criteria: Array ( [pluginid] => 4 [event] => OnDocFormPrerender )
Skipping vehicle object of class modPluginEvent (data object exists and cannot be upgraded); criteria: Array ( [pluginid] => 4 [event] => OnManagerPageBeforeRender )
Attempting to preserve files at C:/Users/IsaevIV/OneDrive/Works/destribs/OpenServer/domains/bus/assets/components/gallery into archive C:/Users/IsaevIV/OneDrive/Works/destribs/OpenServer/domains/bus/core/packages/gallery-1.7.0-pl/modCategory/52c0866819526cbf263706f649648c3a.0.preserved.zip
Attempting to preserve files at C:/Users/IsaevIV/OneDrive/Works/destribs/OpenServer/domains/bus/core/components/gallery into archive C:/Users/IsaevIV/OneDrive/Works/destribs/OpenServer/domains/bus/core/packages/gallery-1.7.0-pl/modCategory/52c0866819526cbf263706f649648c3a.1.preserved.zip
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.backend_thumb_far )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.backend_thumb_height )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.backend_thumb_width )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.backend_thumb_zoomcrop )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.default_batch_upload_path )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => xhtml_urls )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.thumbs_prepend_site_url )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.mediaSource )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.use_richtext )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.tiny.width )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.tiny.height )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.tiny.buttons1 )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.tiny.buttons2 )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.tiny.buttons3 )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.tiny.buttons4 )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.tiny.buttons5 )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.tiny.custom_plugins )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.tiny.theme )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.tiny.theme_advanced_blockformats )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => gallery.tiny.theme_advanced_css_selectors )
Successfully installed package gallery-1.7.0-pl


Image list after all working fine
[[!Gallery? &album=`Test` &containerTpl=`NewGalleryAlbumTpl` &thumbWidth=`250` &thumbHeight=`194` &thumbTpl=`NewGalItemThumb` &imageWidth=`750` &imageHeight=`800` &sort=`rand`]]

But I can't get albaums list at all (nothing happens):
[[!GalleryAlbums]]

If anyone have any ideas what's wrong with my installation will be very greatfull for your help.]]>
https://forums.modx.com/thread/99807/problems-with-installing-gallery-and-geting-albaums-lists#dis-post-539851 Tue, 22 Mar 2016 09:16:07 +0000 https://forums.modx.com/thread/99807/problems-with-installing-gallery-and-geting-albaums-lists#dis-post-539851
<![CDATA[Gallery image_absolute placeholder incorrect path?]]> https://forums.modx.com/thread/99362/gallery-image-absolute-placeholder-incorrect-path#dis-post-537383
I haven't had this problem before but I am currently getting the following path when using [[+image_absolute]] in Gallery Thumbnails Tpl chunk:

http://MYURL.com/newsite//newsite/assets/images/content/gallery/1/1.JPG

As you can probably see, i'm doing a dev site in the /newsite directory so its adding //newsite in the path for some reason? I can't see where to change this... perhaps a bug as i've not had this problem before? How can I change/fix this?

MODX Revolution 2.4.2-pl
gallery-1.7.0-pl

Also is there an option to keep the image name in the album/files rather than 1.jpg, 2.jpg and so on?

Thanks in advance!]]>
https://forums.modx.com/thread/99362/gallery-image-absolute-placeholder-incorrect-path#dis-post-537383 Fri, 22 Jan 2016 05:15:53 +0000 https://forums.modx.com/thread/99362/gallery-image-absolute-placeholder-incorrect-path#dis-post-537383
<![CDATA[No thumbs and images displayed with Gallery 1.7.0]]> https://forums.modx.com/thread/99173/no-thumbs-and-images-displayed-with-gallery-1-7-0#dis-post-536338 I'm using MODX Revo 2.4.2 and updated Gallery from 1.5.2 to 1.7.0. After the update no thumbs and images are displayed anymore, even within the manager. I probably have to change the image paths but I don't know where and how. Must admit that I don't know very much about MODX, I've onle taken over the administration of our club's website as the original administrator left the club. You can have a look at http://www.oldtimerfreunde-freising.de by clicking on one of the images in the left column. See annexed file as well. Any ideas?

PS.: can't find file phpthumb.readme.txt and phpThumb.config.php on my system.

Kind regards,
Hans
]]>
https://forums.modx.com/thread/99173/no-thumbs-and-images-displayed-with-gallery-1-7-0#dis-post-536338 Sun, 27 Dec 2015 08:05:46 +0000 https://forums.modx.com/thread/99173/no-thumbs-and-images-displayed-with-gallery-1-7-0#dis-post-536338
<![CDATA[Gallery not displaying images??]]> https://forums.modx.com/thread/50710/gallery-not-displaying-images#dis-post-535947 www.darrenjehan.me.uk) but none of the images show.
Manager can’t see the galleries either.

I have scoured the forums and as far as I can see I have the required components installed. phpinfo() tells me that GD is enabled, which is what I think is required. Gallery is installed of course, and I have copied over all the album directories and images, colorbox and its JS and CSS files.

I have checked the namespace for gallery and it’s OK, and I have amended the file paths in system settings for gallery to (for example)
gallery.files_path = /home/darrenje/public_html/assets/components/gallery/files/


I have set the gallery.files_url to
/assets/components/gallery/files/


If I enter http://darrenjehan.me.uk/assets/components/gallery/files/ then I get a list of the album directories.

Finally, when I look at page source (for the Galley home) I can see the following in the href tag:
"album-view.php?galAlbum=1"><img src="/assets/components/gallery/connector.php?action=web/phpthumb&w=130&h=92&zc=1&far=C&q=90&src=http%3A%2F%2Fwww.darrenjehan.me.uk%2Fassets%2Fcomponents%2Fgallery%2Ffiles%2F1%2F1.jpg"


When I follow that link I get
[2011-07-26 14:10:57] (ERROR @ /home/darrenje/public_html/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() has been disabled for security reasons


What does this error mean I need to do??

Thanks in advance
Daz]]>
https://forums.modx.com/thread/50710/gallery-not-displaying-images#dis-post-535947 Tue, 15 Dec 2015 12:30:34 +0000 https://forums.modx.com/thread/50710/gallery-not-displaying-images#dis-post-535947
<![CDATA[TV galleryitem: extract image path & description?]]> https://forums.modx.com/thread/50588/tv-galleryitem-extract-image-path-description#dis-post-534643
I’m just playing around with some image effects and to enable the user to upload a new picture to be displayed, I’ve created a TV named "homepic1". Now, if I choose the TV input type of "galleryitem", the user can comfortably browse the galleries and chose an image. Perfect.

Now, calling the TV via [[*homepic1]] will result in the following output:

gal_src":"url/sand_4.jpg","gal_id":12,"gal_name":"","gal_description":"","gal_image_width":594,"gal_image_height":465,"gal_orig_width":594,"gal_orig_height":465,"gal_album":"2","gal_watermark-text":"","gal_watermark-text-position":"BL","gal_other":"","gal_rotate":"0","gal_sizer":100,"gal_cropCoords":"","gal_cropTop":0,"gal_cropRight":0,"gal_cropBottom":0,"gal_cropLeft":0}" 


However, I just need the URL and the Title of the image to use with <img src="[[*homepic1]]" />!

Is this somehow possible with the TV input type of galleryitem? I could still change it to ’file’, but that would be much less comfortable.

Thanks for any help!]]>
https://forums.modx.com/thread/50588/tv-galleryitem-extract-image-path-description#dis-post-534643 Sat, 21 Nov 2015 12:55:21 +0000 https://forums.modx.com/thread/50588/tv-galleryitem-extract-image-path-description#dis-post-534643
<![CDATA[Display a gallery with full size images]]> https://forums.modx.com/thread/98841/display-a-gallery-with-full-size-images#dis-post-534585
Br,

Jeroen]]>
https://forums.modx.com/thread/98841/display-a-gallery-with-full-size-images#dis-post-534585 Thu, 19 Nov 2015 01:34:38 +0000 https://forums.modx.com/thread/98841/display-a-gallery-with-full-size-images#dis-post-534585
<![CDATA[Gallery, Galleriffic & bootstrap]]> https://forums.modx.com/thread/98695/gallery-galleriffic-bootstrap#dis-post-533746
i am working on an architecture page where references are listed. each reference page should contain a big starter image to the left and beneath I embedded all other thumbnails of the album with

<div class="row">
	<div class="col-xs-12 col-sm-7 col-md-6">
		[[Gallery?
		   &album=`[[*gallery]]`
		   &plugin=`galleriffic`
		   &enableTopPager=`0`
		   &enableBottomPager=`0`
		   &renderNavControls=`1`
		   &renderSSControls=`0`
		   &gallerifficThumbTpl=`refthumbstpl`
		   &gallerifficContainerTpl=`refimagetpl`
		   &useCss=`0`
		   &defaultTransitionDuration=`0`
		   &imageWidth=`555`
		   &imageHeight=`auto`
		   &gallerifficThumbWidth=`79` 
		   &gallerifficThumbHeight=`auto` 
		   &imageZoomCrop=`0`
		   &prevLinkText=`<`
		   &nextLinkText=`>`
		]]
	</div>
      </div>


The both chunks are:
1. refimagetpl:
<div id="gal-gaff-controls" class="controls"></div>
<div id="gal-gaff-slideshow" class="slideshow"></div>
<div id="gal-gaff-thumbs">
    <div class="row">
		<div class="col-md-12">
			<ul class="list-inline thumbs noscript">
		        [[+thumbnails]]
			</ul>
		</div>
    </div>
</div>


2. refthumbstpl
<li>
    <a class="thumb" name="[[+name]]" href="[[+image]]">
        <img class="img-responsive" src="[[+thumbnail]]" alt="[[+name]]" />
    </a>
</li>


My problem is that the thumbnails don't consum the full width of the colum col-md-12. Thus I want to remove the ul tag from the refimagetpl. But in this moment the responding image of the thumbnails do not show up. Secondly I would like to add a class="img responsive" to the output of [[+thumbnails]] but I dont get a way in. Is there somebody who could help me with a tipp? The site could be found at brauns architektur de startseite.html (Kick the spaces.) > portfolio > Addis Abeba e.g. .

Thx and best,
c--]]>
https://forums.modx.com/thread/98695/gallery-galleriffic-bootstrap#dis-post-533746 Tue, 27 Oct 2015 12:14:26 +0000 https://forums.modx.com/thread/98695/gallery-galleriffic-bootstrap#dis-post-533746
<![CDATA[Gallery Multi-upload not working while uploading one by one works fine (gallery 1.7, revo 2.3.2)]]> https://forums.modx.com/thread/95201/gallery-multi-upload-not-working-while-uploading-one-by-one-works-fine-gallery-1-7-revo-2-3-2#dis-post-531666 https://forums.modx.com/thread/95201/gallery-multi-upload-not-working-while-uploading-one-by-one-works-fine-gallery-1-7-revo-2-3-2#dis-post-531666 Thu, 17 Sep 2015 12:05:16 +0000 https://forums.modx.com/thread/95201/gallery-multi-upload-not-working-while-uploading-one-by-one-works-fine-gallery-1-7-revo-2-3-2#dis-post-531666 <![CDATA[How to use correctly the snippet Gallery ?]]> https://forums.modx.com/thread/50591/how-to-use-correctly-the-snippet-gallery#dis-post-530820 My website should be a kind of portfolio with the following pages :
- All Works
-- Work 1
-- Work 2
-- Work 3

On my homepage I have created a chunk that bring up the images from an album called "Works". The problem is that all the works (works 1, works 2, etc.) displayed on the homepage show the same image.
How can I do to make sure that the homepage show the first image of each work page ?

This my actual code that show always the same image for every works :
                   [[!Gallery? &album=`Works` &limit=`1` &thumbWidth=`433` &thumbHeight=`289` &toPlaceholder=`photo`]]
                    <div class="grid_7">
                        [[+photo]]
                        <p>hello [[+pagetitle]]</p>
                    </div>
]]>
https://forums.modx.com/thread/50591/how-to-use-correctly-the-snippet-gallery#dis-post-530820 Tue, 01 Sep 2015 01:37:13 +0000 https://forums.modx.com/thread/50591/how-to-use-correctly-the-snippet-gallery#dis-post-530820