Jump to content

Download: Horizontal 4 Random Image Block

Featured Replies

Posted

File Name: Horizontal 4 Random Image Block
File Submitter: NiftyWolfie
File Submitted: 16 Nov 2010
File Updated: 31 Mar 2011
File Category: IP.Content Blocks

A simple horizontal Block, based of the default gallery hook supplied in IPB.
It will show 4 Random Gallery Images, evenly spaced out. Number of Images can be changed by altering the number of records pulled.

You will need to add your own CSS styling to alter the gaps between the images.




Changes:-

Have fixed the coding error

Click here to download this file

  • 3 weeks later...

Hello,

trying to set this block, but it's showing me only the names of the pictures...

  • Author

Have you got a link to your site, so I can take a look please ?


Have you got a link to your site, so I can take a look please ?



Sure.

http://www.mydisput.com/forums/index.php?app=ccs

block is on bottom

thank you!
  • Author

I've uploaded a new version of this. Can you try it please and see it that cures the problem :)


I've uploaded a new version of this. Can you try it please and see it that cures the problem :)



Brilliant! Thanks it works now! :)

Sorry i got one more question. Is there any way to use this block twice on page ?

I want to put latest 1 image on page side bar that will show who added rating etc....I saw the forum sidebar hook like this...but nothing for IP.content :(

  • Author

I do have a single random image block. But it just shows the image. I'll take a look and see what I can come up with for you


I do have a single random image block. But it just shows the image. I'll take a look and see what I can come up with for you



Thank you NiftyWolfie!

Have added that topic to my bookmarks :)
  • Author

I've sent you a PM. Think that has what your after in it!

  • 1 month later...

Please don't just report files as broken without first trying to get support from the support topic. I just tested this IP.Content block and it works fine on the latest official releases of IP.Content and IP.Gallery. Removing broken file flag.

  • 1 month later...
  • Author

Updated to work with Gallery 4

  • 2 months later...

Getting the following error:

Fatal error: Uncaught exception 'Exception' with message 'glib is not an object.........................

Any help?

Thanks

  • Author

Sorry not been well will look into this today :)

  • 3 months later...

Thanks for the hook. Works well except for one. The images are distorted. Tell me, how to make the image will be cut under the square?

In order to be clearer here's a screenshot:
now
post-241352-0-68718700-1314973976_thumb.

as it should be
post-241352-0-54876000-1314973996_thumb.

  • 1 month later...

Mine are distorted too although it seems to be because instead of the gallery thumbnails loading its the original photo. Is it suppose to pull the thumbnail of a photo or take the photo and restrict it to size? thanks

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.