Adding the sidbar image to all pages on my site
tickfawriver
Joined: 2011-02-25
Posts: 5 |
Posted: Sun, 2013-01-06 16:47 |
Gallery version (not just "2"): 2.3.1 My web host (MochaHost) installed GALLERY I have uploaded my images. Currently the sidebar images only appear on the Gallery page and I want them to appear on all of my pages but I cannot figure out how to accomplish this. I built my website using HTML and do not know PHP. Website: www.lonewolfblues.com I added the following code from the media/index.php page to one of my web pages but it did not add the sidebar image. <!-- Gallery's Sidebar --> Any help is appreciated. Thanks, |
|
Posts: 8339
Funny, I still have the embed sample I made for you in my showcase http://www.flashyourweb.com/gallery2/embed_samples/
You can use my mediaBlock
or the minislideshow linked in my sig below
or gallery's image block module
if you have gallery's imageblock module installed head to gallery admin -> image block -> External Image Block and follow the instructions
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 5
Hi suprsider, it had been so long I had forgotten who helped me with it.
I added the following code where I want the image to appear on a page to for testing.
<?php @readfile('http://www.lonewolfblues.com/media/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title'); ?>
I added the following code to the HEAD.
<link rel="stylesheet" href="http://www.lonewolfblues.com/media/main.php?g2_controller=imageblock.ExternalCSS&"/>
I must still be doing something wrong because the image does not appear. The instruction states the following.
"Use a PHP block like the one shown below to include an image block in a PHP page outside of Gallery."
I do have IMAGE BLOCK 1.1.9 installed
It states that it is for a PHP page and my pages are HTML, does this make a difference?
Thanks,
Randy
Posts: 8339
yes
html pages won't execute the php
You can try my minislideshow or I can show you another way to do a single image w/ javascript
-s
________________________________
All New jQuery Minislideshow for G2/G3