We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2912
    • 315 Posts
    Hi All,

    I’ve tried to find a solution on this but I’m falling short.

    I’ve created a smooth gallery here: http://www.festersplace.com/web/advents-screens

    Everything works ok apart from getting to the BIG image.

    I have the smoothgallery showing images that are 500px wide.  Clicking on the image takes you to a blank template screen which shows the picture set at the max_pic_size of 1280. I can see in the code there is a link reference to the "big_" image but I cannot see anything to click in order to get to this picture.

    What have I done wrong?  How do I get the click from the smoothgallery to go directly to the big image?

    My snipper code is:
    [!MaxiGallery? &admin_webusers=`[*WebUserOwner*]` &keep_bigimg=`1` &quality_pic=`100` &manager_webusers=`[*WebUserOwner*]` &display=`embedded` &embedtype=`smoothgallery`  &smoothgallery_timed=`true` &smoothgallery_width=`500` &smoothgallery_height=`500` &max_big_size=`0` &pics_per_row=`3` &max_thumb_size=`100` &max_pic_size=`1280` &thumb_use_dropshadow=`1` &big_img_linkstyle=`external` &big_mask_bgcolor=`333333` &big_shadow_color=`333333` &pic_mask_bgcolor=`333333` &pic_shadow_bgcolor=`333333` &thumb_mask_bgcolor =`333333` &thumb_shadow_bgcolor =`333333` &picture_target=`57`!]
    


    I neglected to have the right parameters in the appropriate places.

    My gallery code is:
    <?php
    [!MaxiGallery? &admin_webusers=`[*WebUserOwner*]` &keep_bigimg=`1` &quality_pic=`100` &manager_webusers=`[*WebUserOwner*]` &display=`embedded` &_embedtype=`slimbox` &embedtype=`smoothgallery`  &smoothgallery_timed=`true` &smoothgallery_width=`500` &smoothgallery_height=`320` &max_big_size=`0` &pics_per_row=`3` &max_thumb_size=`100` &max_pic_size=`800` &thumb_use_dropshadow=`1` &big_img_linkstyle=`external` &big_mask_bgcolor=`333333` &big_shadow_color=`333333` &pic_mask_bgcolor=`333333` &pic_shadow_bgcolor=`333333` &thumb_mask_bgcolor =`333333` &thumb_shadow_bgcolor =`333333` &picture_target=`57` &smoothgallery_carouselMinimizedOpacity=`0.8` &smoothgallery_carouselMaximizedOpacity=`0.8`!]
    ?>
    


    My target document code is:
    <?php
    [!MaxiGallery? &is_target=`1` &pictureTpl=`mgPictureTPL` &display=`pictureview` &keep_bigimg=`1` &big_img_linkstyle=`external`!]
    ?>
    


    and my picture template has become:
    <?php
    [+maxigallery.config.display:is=`pictureview`:then=`
    	[+maxigallery.managebutton:isnot=``:then=`
    
    		<center>[+maxigallery.managebutton+]</center>
    		<br />
    	
    	`+]
    `+]
    
    <div class="picturecontainer">
    
    	<p class="navigation" id="nl_pages">
    		[+maxigallery.counter:is=`1`:or:is=`0`:then=`
    
    			<span class="ditto_currentpage">[+maxigallery.strings.previous+]</span> 
    
    		`:else=`
    
    			<a href="[+maxigallery.previous_pic_url+]">[+maxigallery.strings.previous+]</a> 
    
    		`+]
    
    			<a href="[+maxigallery.index_url+]">[+maxigallery.strings.index+]</a> 
    
    		[+maxigallery.counter:is=`[+maxigallery.total_pics_count+]`:then=`
    
    			<span class="ditto_currentpage">[+maxigallery.strings.next+]</spa>
    
    		`:else=`
    
    			<a href="[+maxigallery.next_pic_url+]">[+maxigallery.strings.next+]</a>
    
    		`+]
    	</p>
    
    	<p class="picturecount"><h3>[+maxigallery.strings.picture+] [+maxigallery.counter+] / [+maxigallery.total_pics_count+]</h3></p>
    Use this code to include in your forum post.
    	<form><textarea cols="100" rows="2">[url=[(site_url)][+maxigallery.path_to_gal+]big_[+maxigallery.picture.filename+]][+maxigallery.picture.title:htmlent+] - [+maxigallery.picture.descr:htmlent+][/url]
    [img][(site_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+][/img]</textarea></form>
    <br />
    
    	[+maxigallery.total_pics_count:isnot=`0`:then=`
    	
    	<div class="picture">
    	
    	[+maxigallery.big_img_linkstyle:is=`slidebox`:then=` 
    
    		<a href="[(base_url)][+maxigallery.path_to_gal+]big_[+maxigallery.picture.filename+]" rel="lightbox" title="[+maxigallery.picture.title:htmlent+] - [+maxigallery.picture.descr:htmlent+]">
    
    	`+]
    
    	[+maxigallery.big_img_linkstyle:is=`lightboxv2`:then=` 
    
    		<a href="[(base_url)][+maxigallery.path_to_gal+]big_[+maxigallery.picture.filename+]" rel="lightbox" title="[+maxigallery.picture.title:htmlent+] - [+maxigallery.picture.descr:htmlent+]">
    
    	`+]
    
    	[+maxigallery.big_img_linkstyle:is=`slimbox`:then=` 
    
    		<a href="[(base_url)][+maxigallery.path_to_gal+]big_[+maxigallery.picture.filename+]" rel="lightbox" title="[+maxigallery.picture.title:htmlent+] - [+maxigallery.picture.descr:htmlent+]">
    
    	`+]
    
    	[+maxigallery.big_img_linkstyle:is=`popup`:then=` 
    
    		<a href="javascript:void(0);" onClick="javascript:openWindow('[(base_url)][+maxigallery.path_to_gal+]big_[+maxigallery.picture.filename+]','[+maxigallery.picture.title:htmlent+]',[+maxigallery.picture_height_big+],[+maxigallery.picture_width_big+],'gallery');" title="[+maxigallery.strings.click_to_open_original+]">
    
    	`+]
    
    	[+maxigallery.big_img_linkstyle:is=`external`:then=` 
    
    		<a href="[(base_url)][+maxigallery.path_to_gal+]big_[+maxigallery.picture.filename+]" rel="external" title="[+maxigallery.strings.click_to_open_original+]">
    
    	`+]
    
    	[+maxigallery.keep_bigimg:is=`0`:then=`
    
    		<a href="[+maxigallery.index_url+]" title="[+maxigallery.strings.click_to_go_back+]">
    
    	`+]
    
    		<img src="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" class="imageview" alt="[+maxigallery.strings.date+] : [+maxigallery.picture.date+]" />
    
    		</a>
    		
    	</div>
    	
    	`+]
    	
    	[+maxigallery.picture.title:isnot=``:then=`
    		<p class="title">[+maxigallery.picture.title:htmlent+]</p>
    	`+]
    	[+maxigallery.picture.descr:isnot=``:then=`
    		<p class="description">[+maxigallery.picture.descr:htmlent+]</p>
    	`+]
    	
    </div>
    ?>
    
      BBloke