How to Display Recent Images in Joomla 1.5.11
|
gmccanna
Joined: 2009-07-28
Posts: 3 |
Posted: Tue, 2009-07-28 22:15
|
|
I have Gallery 2.3 installed on my webhost server and it’s working fine. Is there a way to display recent images from Gallery inside an Article? Also, on my Gallery page, I stumbled across this External Imageblock PHP code: Where is this code to be used? Can I use this code to display images in an Article? Any help would be greatly appreciated. |
|
| Login or register to post comments |

Posts: 3170
http://www.flashyourweb.com/staticpages/index.php?page=mediaBlock
or
http://www.flashyourweb.com/staticpages/index.php?page=TheMiniSlideShow
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 3170
Looks like you may need http://www.kksou.com/php-gtk2/Joomla/DirectPHP-plugin.php too
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 3
Thank you for such quick replies and good links.
I actually uploaded mediaBlock this past weekend, but was uanble to get it working properly. Maybe I gave up too easily.
I installed directPHP a few days ago, and that was pretty simple. This product has some of the best documentation out there. The developer of directPHP doesn't take anyone for granted and gives clear step-by-step directions. He basically assumes everyone is a "newbie". Good Stuff.
I haven't tried the Minislideshow, but will give that a go also.
The hard part of what I am trying to accomplish is getting sound advice on how to actually make it work. Your suggestions are definitley appreciated, but by no means do I want to discourage any more advice from others out there.
So please, I would apprectiate anymore suggestions, advice or direction. Especially some clues on the External ImageBock thing. That still has me stumped, and seems like it will help me out with my Mediablock issues too.
Posts: 3170
Each item within gallery be it an image, movie, user, module.... has an id.
So if you call the external imageBlock or mediaBlock code for an item by its id, it will output/display the proper html for that item.
so take the example for my mediaBlock php code snippet: <?php @readfile('http://www.flashyourweb.com/gallery2/mediaBlock.php?g2_itemId=1405&useThumb=1'); ?>
if you follow just the url from inside the snippet you can see the actual image(or thumb as I specified): http://www.flashyourweb.com/gallery2/mediaBlock.php?g2_itemId=1405&useThumb=1
With the DirectPHP-plugin you can now insert these types of php snippets into your articles where you want the image to show.
Another way of including G2 images in articles is G2Image.
I happen to use all three options on mysite
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 3
Now we're getting somewhere. Very cool! Could I use the same snippets to call up recent images (like using the Imageblock PHP code I listed in the above comment)? I've tried using that imageblock code and have only been able to get the actual code to output in my article. I will give some of your other suggestions a try. I'm glad to see that someone has actually done what I'm trying to do.
Thanks again for the advice. I'm no expert with this stuff, so I'll probably be back here with some more questions.