I am running Gallery2 with Joomla and Gallery 2 Bridge. Does anyone know how to display an image block horizontally rather than vertically. I have looked across the gallery2 Bridge forums and it all points to the answer being here somewhere. Also is it possible to specify an album to display in an image block. At the moment I can display a random album or a specific image but not a specific album
Thanks
Posts: 12
same here...
Posts: 41
I request "horizontal display" too.
Nobody can help us ?
Versione di Gallery = 2.2.4 core 1.2.0.6
Versione PHP = 4.4.7 apache2handler
Webserver = Apache/2.0.52 (CentOS)
Posts: 41
UP !!!
I need to insert horizontal view in phpbb3 forum and joomla site.
Could somebody help us telling how to transform "ImageBlock" in horizontal view ?
Thanks !
Versione di Gallery = 2.2.4 core 1.2.0.6
Versione PHP = 4.4.7 apache2handler
Webserver = Apache/2.0.52 (CentOS)
Posts: 27300
Never used joomla or phpbb3 but the codex has a example:
http://codex.gallery2.org/Gallery2:Modules:imageblock#Examples
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 41
Thank You Dave, but the code indicated does not function
Simply I would like to have the following display link: (copy and past into your browser)
http://www.photo4terzi.org/gallery/main.php?g2_view=imageblock.External&g2_blocks=recentImage|recentImage|recentImage|recentImage|recentImage&g2_show=title
but in horizontal view.
Versione di Gallery = 2.2.4 core 1.2.0.6
Versione PHP = 4.4.7 apache2handler
Webserver = Apache/2.0.52 (CentOS)
Posts: 18
I have the same problem. I have Gallery2.2.4 running with image block but adding the inline info to the style.css (I have a local one) doesn't make the photos go in a line. Maybe it is something in the Matrix theme in the css that is over riding the inline setting?
I would like to display 4 random images on the photo page.
Many thanks
Markdj
Posts: 27300
url?
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 18
Here's an example...
http://www.gerrysfineirishart.com/gallery2/v/reilly/CRW_5918.jpg.html
I have added this to the theme.css
under matrix/local
.one-image {
display: list-item;
border: none;
border-width: 0 0 0 0;
border-style: none;
}
Interesting thing is that using the image block with php external to the gallery (on the homepage) the inline css code works...
See this
http://www.gerrysfineirishart.com
So it is related to something in the theme.css
I feel that something in the theme.css is overriding the inline instructions but which part of the code is it?
Posts: 27300
This in matrix/theme.css:
.one-image { display: list-item; border: none; border-width: 0 0 0 0; border-style: none; }
is not that same as:
.one-image { display: inline; border: none; border-width: 0 0 0 0; border-style: none; }
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 18
Sorry yes, I was trying that out, but it made no difference.
Posts: 18
Ok, I've found out that unticking the "use default settings" means that the photos are listed in a column but ticking it makes them into a row - problem solved.
Posts: 18
Now the photos are displayed in a row using the default settings box ticked, but there is no heading or title for the photos - is this a bug?
Posts: 27300
Perhaps Joomla has something to do with it but I can add a imageblock with the titles showing and get them to show horizontally:
http://langleycom.com/gallery2/main.php?g2_itemId=146
all I did was add:
to the css.
and added the block to show on the album page.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 18
Ha, you sure did. I wonder why I can't get the titles up AND have it going across?
On another point, there are loads of css codes - where can I get a key so I know what changes what? is there any graphical display of each css code? is there any WYSIWYG editors for themes and adjusting css codes?
Posts: 27300
@css: use FF and the dev tool along with firebug ( http://files.jnewland.com/firebug.mov )
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 10
Where did you find that option? I looked in g2 and in mod_g2bridge_image, but I can't find it.
Also, is there a way to display only all videos or pictures only?
Thanks.
Posts: 18
In the site admin, theme settings, click on the image block where you would add it to the sidebar, album or photo display (blocks to show in the...). When you click on it, the options appear below that for default settings - make sure default is ticked. This may be overiden by the album theme settings so check that all albums are using the "Global" tick box.
Posts: 41
Sorry but I have the site structured in this way : Joomla + Forum PHP3 + Gallery2.
I would like to show imageblock for last photo inserted in Gallery both in Joomla Home Page and Forum.
I wrote all the posts regarding this matter but I cannot understand well in which file add the css, and where add the external-imageblock code (both for joomla and php).
Can you make a tutorial about this, because, as I understand, it's a problem of a lot of user.
Thank You !!!!
Versione di Gallery = 2.2.4 core 1.2.0.6
Versione PHP = 4.4.7 apache2handler
Webserver = Apache/2.0.52 (CentOS)