Jump to content

Gallery Recent Images Block Sidebar


Marcher Technologies
 Share

Recommended Posts

%7Boption%7D


File Name: Gallery Recent Images Block Sidebar

File Submitter: Marcher Technologies

File Submitted: 26 Feb 2012

File Category: Other style options

This is a feed template to mimic the Gallery "Home" recent images Block.
There are 2 separate files for this download, one is for IP.Board 3.2.x/IP.Content 2.2.x, the other utilizes the new block templates and is for IP.Board 3.3.x and IP.Content 2.3.x.
This is free, completely unsupported, will not be updated, and is released under the DBAD license.

here to download this file

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 months later...

Hi,

Can we configure this to choose how many 50x50 images are displayed in the row or how many images it shows in total?

My column is too thin to have 5 in a row so the default 10 that shows is 3 rows of 3 with the odd one below.

Ideally I would like to either show 9 images or 12, 15 18 etc so we have full rows and not odd images underneath being displayed

many thanks

Link to comment
Share on other sites


Hi,



Can we configure this to choose how many 50x50 images are displayed in the row or how many images it shows in total?



My column is too thin to have 5 in a row so the default 10 that shows is 3 rows of 3 with the odd one below.



Ideally I would like to either show 9 images or 12, 15 18 etc so we have full rows and not odd images underneath being displayed



many thanks



how many per row one would need to code-dive in the template. how many are shown is configurable on the block is used with..... like any other feed block.
Link to comment
Share on other sites

Hi,

We have it set so that guests can view 2 imgaes before having to register / login.

I cannot spot the setting to allow guests to view the image thumbs on this block.

All that is appearing is the title "Recent Gallery Images" and there are no picture thumbs showing.

When viewing the actual gallery page they are showing up ok, so we assume its connected to the block permissions?

Many thanks again.

Link to comment
Share on other sites


Hi,



We have it set so that guests can view 2 imgaes before having to register / login.



I cannot spot the setting to allow guests to view the image thumbs on this block.



All that is appearing is the title "Recent Gallery Images" and there are no picture thumbs showing.



When viewing the actual gallery page they are showing up ok, so we assume its connected to the block permissions?



Many thanks again.



No permissions are honoured AFAIK as the template is the last place one should make that check, it would skew the result count... needs to have that function added to the gallery feed source file.... out of my hands.
can i get an ss of what you speak of specifically? are you saying the thumbnails show for the logged-in user but not the guest somehow?
Link to comment
Share on other sites

Guest Ae9803

I get a weird thing happening on mine. I currently have it on ipcontent in the front page middle. if you look, http://www.carnivoreforums.com, it looks fine, single images and everything. But as soon as you login, it doubles the images. Does anyone have any ideas?

Link to comment
Share on other sites


okay... will do some testing/digging.... Im using an API call to retrieve the images so something Is decidedly leftish.




OK thanks

Also spotteds another one - your block shows up all pcitures including the ones a member sets gallery images to "owner friends only" so we get an error if a member who is not a friend tries to view the gallery by clicking a thumb in the block
Link to comment
Share on other sites


OK thanks



Also spotteds another one - your block shows up all pcitures including the ones a member sets gallery images to "owner friends only" so we get an error if a member who is not a friend tries to view the gallery by clicking a thumb in the block



That, as i repeatedly state, is not my issue, bug, or problem, filtering out the images without permissions is not feasible in the template without skewing result sets, is needing implemented in the feed block source.
Link to comment
Share on other sites

  • 1 month later...

I agree, any chance we can get this as a hook for IP.Board or has one already been made, and I missed it? Thanks.




Actually I'm on it... It will be a 3rd option for my gallery images on board index hook. :smile:



I have no desire to attempt to give the control regarding the data pulled that a feed block can in a hook.... I have always simply exported the block as a hook, but you can go check Adriano's mod... seems he has already put in that option.
Link to comment
Share on other sites

  • 2 months later...

I really like this block. However, I run into an issue I can't seem to figure out.

Each shrunken thumbnail shows up nicely, but when you click the thumbnail, it takes you directly to the raw image instead of the image view in the album. I added the word "click" to the hyper link (see below) and the link takes you to the proper image view in the album, but the thumbnail takes you directly to the raw image. So my thought is that something in the "{$this->registry->getClass('gallery')->inlineResize($this->registry->getClass('gallery')->helper('image')->makeImageTag($r),'50','50')}" is overriding the link?

Thanks for any help you can offer.

		<foreach loop="$records as $r">
<li class='gallery_tiny_box ccsPos_left ccsPad_smaller' -data-id="{$r['imgid']}">
<a href="{$r['url']}" title="{parse expression="sprintf($this->lang->words['go_to_prefix'], $r['caption'])"}">Click
{$this->registry->getClass('gallery')->inlineResize($this->registry->getClass('gallery')->helper('image')->makeImageTag($r),'50','50')}
</a></li>
		</foreach>
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...