External image blocks
|
stepler
Joined: 2008-07-10
Posts: 13 |
Posted: Thu, 2008-09-04 10:03
|
|
Hello, I want to have recent album outside my gallery but inside the hosting so that gallery is at I installed Image block plugin, uninstalled short urls and wrote the following in index.php in the folder where my template is located: I also tried <div class="recalb"><?php @readfile('http://fireinside.ru/gallery2/main.php?g2_view=imageblock.External&g2_blocks=recentAlbum&g2_show=title'); ?></div> No responce, the album is not shown anywhere. Do I get it right, that there will be the thumbnail of the album? Great thanks in advance, as this is one of really few issues I've got to solve before running my site already. P.S. sorry for possible mistakes in my english |
|

Posts: 6136
http://fireinside.ru/gallery2/main.php?g2_view=imageblock.External&g2_blocks=recentAlbum&g2_show=title
asks for a password, the album must be viewable by all
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 13
sorry, but the whole site is passworded. I suppose you wanted to check if the url
http://fireinside.ru/gallery2/main.php?g2_view=imageblock.External&g2_blocks=recentAlbum&g2_show=title
is correct
I've just visited it, it is correct, it shows the thumbnail of the album on a blank page and opens the gallery in http://fireinside.ru/gallery2/
By the way, how do i redirect it to the album, but inside my site? I mean, I have "Gallery" in my menu which opens the gallery inside my joomla site template, and I want the image block to direct me there.
Posts: 6136
it would be something along the lines of:
http://fireinside.ru/my_joomla_embedUrl/index.php?g2_view=imageblock.External&g2_blocks=recentAlbum&g2_show=title
not all servers allow readfile btw
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 13
ok i'll check readfile, but I understood nothing about the first part of ur comment.what did u mean by along these lines?
shall i replace "my_joomla_embedurl" with what? gallery2? it's what I did at first. I've just tried to replace "main" in the link to "index" like you wrote - nothing happened, thoug album is still opening when clicking at the url u wrote. Well, pal, do u mind if I ask you to look at the site? [i]I'll pm you with psswd and login, maybe it will clear sth for you.
Would be grateful if you looked what might be the problem
Posts: 13
this is the piece of my index.php in joomla template code (I think only <body></body> will make sense)
Posts: 6136
Sorry, not familiar with joomla urls
isn't it something like:
mysite.com/index.php?option=com_gallery2&g2_view=imageblock.External&g2_blocks=recentAlbum&g2_show=title
or you show me the url to your gallery embedded in joomla
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 13
suprsdir, how can I find out which is my url to gallery?
[i]I have in my joomla administration panel in gallery2 setting:
Gallery 2 Path
./gallery2/embed.php
Gallery 2 Url
http://fireinside.ru/gallery2/main.php
Login URL
/index.php?option=com_login
with this
album is still not shown, though if i type it in the browser, i'll get blank page with album thumb wich leads to the album itself
sorry for misunderstanding, but I need to find out how to solve this
Posts: 6136
it seems readfile is indeed disabled on your server.
I have a flash based minislideshow available on mysite which may be a good alternative.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 13
I installed an image block module to g2-joomla bridge and everything seems to work perfectly now
thanks for help anyway!