Marcher Technologies

Gallery Recent Images Block Sidebar

35 posts in this topic

%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

Share this post


Link to post
Share on other sites

I'd love to have this hook for IP Board.. Aren't you planning to release one? :)




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

Share this post


Link to post
Share on other sites

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



Feel free :).
This is simply a template for the nigh-infinite data-returns feed blocks can produce, in specific, for gallery images :)

Share this post


Link to post
Share on other sites

It's done. I just need to find a way to separate each row:



[img]

[/img]



They're together. :smile:



Just came back, double-checked, and noted i fat-fingered a class present in 2.3 and not 2.2 Content, patched the file appropriately... missing a pad and a float there.

Share this post


Link to post
Share on other sites

Hello
After upload .xml files i get information in green border

0 block template(s) imported successfully.

Why ? :)

ps: Content 2.3/Board 3.3/Gallery 4.2.1

Share this post


Link to post
Share on other sites

Hello


After upload .xml files i get information in green border



0 block template(s) imported successfully.



Why ? :smile:



ps: Content 2.3/Board 3.3/Gallery 4.2.1



You are importing the xml in the file labeled 33 correct? i just did another test, and it imported fine.... :baby:

Share this post


Link to post
Share on other sites

Yes, of course.

directory: (MT33)Gallery_Recent_Images_Block_Sidebar
file: feed__gallery_images_1330241672.xml

Strangely ...
Can you give the screenshot Content / Block Templates? Thanks!

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

Hi,

Yes the thumbnails show for the logged in user but NOT the guest on your block

But when they guest goes to the gallery section the thumbnails show up under recent images

Share this post


Link to post
Share on other sites

Hi,



Yes the thumbnails show for the logged in user but NOT the guest on your block



But when they guest goes to the gallery section the thumbnails show up under recent images



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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

I'd love to have this hook for IP Board.. Aren't you planning to release one? :smile:




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.

Share this post


Link to post
Share on other sites

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.
Adriano Faria likes this

Share this post


Link to post
Share on other sites

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>

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.