Modules: Image Block Ex - v.2.4

Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2010-01-26 04:21

I have created a replacement for included Image Block which uses XML MiniSlideShow to display random images in the sidebar instead.

PS. Please note that module is using RSS Feed for image data instead of fetching data directly.

---
Problems? Report it here | Get latest version | Coffee Fund | My Library | Blog | Follow on Twitter

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2010-08-19 20:24

version 1.2

  • fixed issue with validation : <embed> changed to <object>
  • CSS moved out of the page source
  • ADMIN: set image rotation interval
 
davibou

Joined: 2010-02-15
Posts: 5
Posted: Tue, 2010-02-16 17:03

Hi Serge,

Sorry to boring you again but it apear that no images is showing with RC1.

Regards David

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2010-02-16 17:21

@davibou: can you provide url?

 
davibou

Joined: 2010-02-15
Posts: 5
Posted: Tue, 2010-02-16 17:42

Yes it's installed here for tests --> http://www.trueweb.fr/gallery3/index.php/

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2010-08-19 20:25

Uh! use of index.php... fixed
Please try updated version 1.3:

  • Fixed issue with relative path to module location
 
davibou

Joined: 2010-02-15
Posts: 5
Posted: Tue, 2010-02-16 22:43

Fixed now it work well

Thanks

 
pinn8

Joined: 2009-02-19
Posts: 74
Posted: Wed, 2010-02-17 05:01

I would suggest letting the admin choose how many images to rotate. It seems to be 20, but this may not be the ideal number for every site.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2010-02-17 06:17

Random image implements custom logic
my module relays on RSS feed
if we were to have control over the feed like # of entries, newest additions, popular list, etc, then it would be easy to adjust it.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2010-08-19 20:25

Version 1.4:

  • Final things for XHTML compliance
 
Shemo725

Joined: 2008-04-18
Posts: 424
Posted: Mon, 2010-02-22 06:03

providing a link to your forums to preview the module would be nice.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2010-02-22 13:34

It is available for preview on my web-site

 
pinn8

Joined: 2009-02-19
Posts: 74
Posted: Sat, 2010-02-27 04:16

@Serge -- When I use this module, my random images are set on a grey background, but the images don't completely cover the grey background, leaving an unsightly grey border around them. Your demo site seems to have it, too. Any ideas on how to get rid of this?

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2010-08-19 20:26

@pinn8: leftovers... removed
New version 1.5 is available

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Wed, 2010-03-17 20:30

Serge, what code will I need to call the random image from a view in my theme. Not a block in sidebar but bring it inside the content area...

all the best
HB - http://www.image.agentura.dk

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2010-03-17 20:32

I do not support it yet, but you can use the block content code for regular page

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Wed, 2010-03-17 21:52

This is in the view

Quote:
<div class="g-image-block">
<a href="<?= $item->url() ?>">
<?= $item->thumb_img(array("class" => "g-thumbnail")) ?>
</a>
</div>

Then I have helpers - block and rest. Where does that go?

The above code takes up space but image is displayed, so I guess a broken path or neew to bring the helpers aswell???

all the best
HB - http://www.image.agentura.dk

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2010-03-17 21:57

Are you using my module code from codex? it appears like code above is from default imageblock.

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Wed, 2010-03-17 21:58

what should I use?

all the best
HB - http://www.image.agentura.dk

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2010-03-18 00:12

This is not related to discussion of module this thread is dedicated to, but...

if you want to have random image inside main page you would need to create a branch from imageblock module (as your own). Then change it so instead of generating Block code, you would be creating Page code.
Closest example would be to learn how comment/gallery/slideshow modules are implemented - look for ..._theme.php under helpers folder.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2010-08-19 20:26

version 1.6 is out:

  • Added support for a new RSS feeds: Latest/Random
  • some code reorganization
 
amihere

Joined: 2010-06-23
Posts: 18
Posted: Mon, 2010-07-05 20:17

Hi,
I try this module and have some displaying problem - every displayed picture is pixelized and blured. You can see it on my testing gallery http://amihere.shacknet.nu/gallery3. The top random picture is the imageblock module, the bottom slideshow is imageblockex module. Any way how to fix it?

Thanks,
Petr

EDIT: I experimented with some gallery settings and it's ok now after thumbs rebuilding.

 
angelo.corbo
angelo.corbo's picture

Joined: 2010-07-19
Posts: 8
Posted: Mon, 2010-07-19 14:42

Hi Serge,

What makes the image block display the small thumbs of pictures preceding and following the one being seen? It's great for orientation of the user.

I see your site doing it just fine (http://photo.dragonsoft.us/Hawaii/Maui/Hana/2007_09010057), but I haven't found the way to configure mine to do it.

BTW, thank you very much for all your work and for an excellent theme.

 
vallu

Joined: 2009-06-04
Posts: 25
Posted: Tue, 2010-07-20 15:53
angelo.corbo wrote:
What makes the image block display the small thumbs of pictures preceding and following the one being seen? It's great for orientation of the user.

Image block doesn't support small thumbs. You have to install Thumb Navigator module to display the small thumbs. Check more about thumbnav http://codex.gallery2.org/Gallery3:Modules:thumbnav

 
angelo.corbo
angelo.corbo's picture

Joined: 2010-07-19
Posts: 8
Posted: Thu, 2010-07-22 13:10

Hi Serge,

What makes the image block display the small thumbs of pictures preceding and following the one being seen? It's great for orientation of the user.

I see your site doing it just fine (http://photo.dragonsoft.us/Hawaii/Maui/Hana/2007_09010057), but I haven't found the way to configure mine to do it.

BTW, thank you very much for all your work and for an excellent theme.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2010-07-27 00:08

@angelo.corbo: as vallu pointed out, it is different module. ImageBlock Ex has an option to be displayed only for album pages, where ThumbNav only displayed in Photo pages

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2010-08-19 20:27

Version 1.9 is out:

  • Added selector for Transition type
  • New Admin layout
 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sat, 2010-12-11 01:57

version 2.0 released:

  • Introduced generic Admin panel layout (based on GreyDragon theme admin view)
 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sun, 2010-12-12 05:29

version 2.1 released:
[*]Player updated to version 3.0.1 allowing use of onMiniSlideShowReady js function

 
mervyngroves

Joined: 2008-08-03
Posts: 92
Posted: Wed, 2010-12-22 21:36

The positioning of the random image is different to each of the other content in the sidebar. How can I adjust it so that they all align. http://www.grovesonline.com/gallery3_6 sidebar is on the bottom of the page.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2010-12-22 22:56
mervyngroves wrote:
The positioning of the random image is different to each of the other content in the sidebar. How can I adjust it so that they all align. http://www.grovesonline.com/gallery3_6 sidebar is on the bottom of the page.

if all your images are landscape oriented, change module to inject proper height (right now it is 200x200)

 
amihere

Joined: 2010-06-23
Posts: 18
Posted: Sun, 2011-01-16 17:44

Hi,

please can you tell me, how to change a background of thumbnails in the player? My thumbs haven't the same aspect ratio and their background color is white. And the white looks little bit strange in an amazing greydragon theme :)

Thanks,

Petr

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sun, 2011-01-16 23:49
amihere wrote:
please can you tell me, how to change a background of thumbnails in the player? My thumbs haven't the same aspect ratio and their background color is white. And the white looks little bit strange in an amazing greydragon theme :)

I usually set background to transparent, but you may have different setup
sample URL to give you proper answer?

 
amihere

Joined: 2010-06-23
Posts: 18
Posted: Mon, 2011-01-17 11:04

I had set background to transparent too. I discovered it's about interpretation of browsers - in chromium it's fine, in konqueror too except rekonq which one I use mostly. But strange is that in konqueror with webkit engine it's fine, in konqueror with khtml engine is white background and in rekonq with webkit is white background :)

So never mind, it is in interaction of browser and flash.

Anyway thanks for answer!

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2011-01-25 21:31

version 2.2 is out:

  • Code adjustments to comply with 3.0.1 release of G3
 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2011-01-31 17:14

version 2.3 is up:

  • Removed swfobject.js from the package so that default G3 code is used instead
 
undagiga

Joined: 2010-11-26
Posts: 693
Posted: Sun, 2011-02-27 13:58

If I choose the admin option to only display this mod on album pages, it doesn't display on tag pages. That is, pages of thumbs with that tag. I regard these as pseudo-albums, and suggest that you might like to consider having this mod appear on such pages when that admin option is selected.

U-G

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2011-02-28 19:20

well, it does say that it is for albums only, but I do see your point

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2011-02-28 20:34
undagiga wrote:
If I choose the admin option to only display this mod on album pages, it doesn't display on tag pages. That is, pages of thumbs with that tag. I regard these as pseudo-albums, and suggest that you might like to consider having this mod appear on such pages when that admin option is selected.

U-G

Please try this

 
bryan145

Joined: 2010-10-24
Posts: 83
Posted: Thu, 2011-06-30 17:49

Hey Serge! I know I bother you a lot in the GD thread, but I have one request here in ImageblockEx 2.4. Can you create an option in the settings that would allow the user to change the target of the linked random image as it rotates? I'm the IFRAME user and would like the linked images to have no target instead of target="_top" like it is now. Can this be done? Thanks for all your awesome work!

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2011-06-30 22:17
bryan145 wrote:
Hey Serge! I know I bother you a lot in the GD thread, but I have one request here in ImageblockEx 2.4. Can you create an option in the settings that would allow the user to change the target of the linked random image as it rotates? I'm the IFRAME user and would like the linked images to have no target instead of target="_top" like it is now. Can this be done? Thanks for all your awesome work!

Just happened to be that I had a version in the works which had it. See bellow

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2011-06-30 22:18

version 2.4:

  • ADMIN: New option - Link Target - specifies the target for all links in the slideshow. Default _parent
  • Module info adjusted to match new format in G3 3.0.2+
  • swfobject.js added back to prevent errors in strict mode (copy of default)
  • Code adjusted to allow use of the slideshow in other collection based pages in "album only" mode
 
bryan145

Joined: 2010-10-24
Posts: 83
Posted: Thu, 2011-06-30 22:56

Nice addition Serge, but it appears that default target _parent is the only one that works. Anything else in the target field, including no entry at all, causes the random image link to open a new tab in IE. I entered _self as a target so that it would just change the IFRAME, but it still opened a new tab. Any ideas?

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Fri, 2011-07-01 03:08

I tested _blank which would open in new window
more info here http://www.flashyourweb.com/staticpages/index.php?page=mini_2.0.5

whatever it supports, option would take

 
gswallcovering
gswallcovering's picture

Joined: 2010-05-12
Posts: 96
Posted: Fri, 2011-07-01 21:30

Great work. The tag cloud module has not been working with this. Now it does.
Gswallcovering.

 
nachonnr

Joined: 2012-08-04
Posts: 3
Posted: Wed, 2012-09-12 20:27

Hi Serge.
I want to use yor imageblockex block in my G3 site based in your excellent job of Greydragon Theme (https://www.exposiciononline.es).
But I have a little problem, because my site use a SSL Certificate (for another reasons) and this module makes some reference to non encrypted http content, so it show a security related error when users begin to use the site:

If you see the final code that show the site
...<param name="movie" value="/modules/imageblockex/player/minislideshow.swf" /><param name="FlashVars" value="xmlUrl=http://www.exposiciononline.es/rss/feed/gallery/latest&amp;shuffle=true&amp;useResizes=true&amp;delay=10&amp;showControls=false&amp;transInType=Photo&amp;transOutType=Fade" /><param name="wmode" value="transparent" />
you can see that a value refers to "xmlUrl=http://www.exposiciononline.es/rss/ etc etc...".
So, how can I change this line in the code of this module, please? In other similar cases I can find the code in the "views" folder or another folder, but now I don´t know where it can be. Please could you help me?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-09-12 20:59

you can try the new Minislideshow, as it does not use flash the browser security model should be fine.

-s
All New jQuery Minislideshow for G2/G3