Help With Editing The Background Color On PHP-Based Photo Gallery Software!

I recently installed and began using some PHP-based photo
gallery software for my website. I've been able to customize other
areas of the software's appearance (text color, etc), but am unsure
of what need to be done to change the background on the 'Default'
skin from white to black. Any suggestions? Below are copies of the
code from the 'index.php' and the css from the 'default skin'
portions of the software:
<title>BigMusicGeek.com -- Your Online Concert
Photography Authority!</title><?
include "config.php";
include GAZ_DIR_FS_ROOT . "includes/init.php";
include GAZ_DIR_FS_ROOT . "includes/classes/gallery.php";
$gaz_gallery = new gallery();
//$gaz_gallery->gazimage = 78;
echo $gaz_gallery->show();
?>
a.gaz_nav {
color: #FF0000;
a:hover.gaz_nav {
color: #FF0000;
.gaz_path {
font-size : 11px;
font-family : Tahoma, Geneva, Arial, Helvetica, sans-serif;
.gaz_cat_descr {
font-size : 12px;
font-family : Tahoma, Geneva, Arial, Helvetica, sans-serif;
color: red;
.gaz_cat_title {
font-size : 12px;
font-family : Tahoma, Geneva, Arial, Helvetica, sans-serif;
color: red;
font-weight : bold;
.gaz_comment {
font-size : 11px;
font-family : Tahoma, Geneva, Arial, Helvetica, sans-serif;
color: #FF0000;
.gaz_nav_thumb {
border-color:#f0f0f0;
.gaz_nav_thumb_sel {
border-color:orange;
.gaz_image_info {
font-size : 11px;
font-family : Tahoma, Geneva, Arial, Helvetica, sans-serif;
color: #000000;

BigMusicGeek posted in macromedia.dreamweaver:
>
quote:
Originally posted by:
Newsgroup User
> BigMusicGeek posted in macromedia.dreamweaver:
>
> > Okay, so I've been able to change the background to
black (thanks
> > again, BTW), but I'm still unsure of how to add a
menu bar to the top
> > of the gallery's main page. I keep copying and
pasting in the code,
> > but can seem to make it work.
> >
> > My main gallery page:
http://www.bigmusicgeek.com/gallery/index.php
>
> I see no evidence on that page that you've pasted the
table containing
> your menu bar. When you do paste it, just be aware that
the path to the
> images and links will be slightly different (the images
are not in the
> gallery folder but at the root of your site: "/Home
Navigation
> Photos01.png" *)
>
> <IMPORTANT>
> You have your <title> tag before your DOCTYPE.
Make sure your DOCTYPE
> is the first line. Then make sure the <title> tag
is inside the <head>
> section, not before it.
> </IMPORTANT>
>
> > An example of my menu bar:
http://www.bigmusicgeek.com/Home.html
> > (it's at the top of the screen).
>
> When I paste the table code from there into the gallery
page - and
> changed the paths to match where they are, it appears
just fine. Note
> that you'll need to include the JavaScript from the
gallery page in
> order for all those JS rollovers to work. Probably need
that big onLoad
> section in the <body> tag as well - again,
adjusting paths to match
> where the images are.
>
> * You will very often see recommendations to avoid
spaces or unusual
> characters in your file names. ie: "Home Navigation
Photos01.png"
> should probably be "Home_Navigation_Photos01.png" or
maybe a "-"
> instead of spaces.
> Mark
>
> Thanks for the input...again! Pardon me for being a
novice, but what
> piece(s)
> of the paths for the menu bar need to be changed?
If you've set up your site definition properly in
Dreamweaver, you should
be able to copy the table in design view from home.html and
paste into
gallery/index.php and DW will correct the paths
automatically. It /might/
even copy the relavent JavaScript over (I don't have DW on
this computer to
test that).
But to answer your question, any path to the images must
point to the site
root (where your images are stored). The links will likely
need to point
there as well. For example, the Home button in your table
gets its image
from:
src="Home Navigation Home01.png"
In order for that to work from pages in the gallery folder,
it will need to
be linked with either a site root relative, or a simple
relative path:
src="/Home Navigation Home01.png"
The above example tells the server to look for the image in
the site's root
folder.
src="../Home Navigation Home01.png"
This example tells the server to get the image from one
folder up from the
current folder.
Likewise for the links. ie: href="Home.html" would become
either
href="/Home.html" or href="../Home.html"
href="phpBB3/index.php" could become href="/phpBB3/index.php"
or even
href="/phpBB3/"
HTH
Mark A. Boyd
Keep-On-Learnin' :)

Similar Messages

  • Help with Web Template background color

    Hi,
    i'm trying to change by HTML code the background color of a template but it behaves incosistently.
    when putting:
    <body bgcolor=#000000 ...
    the template is white in the background, but with:
    <br>
    <body bgcolor=#000000 ...
    the template is black.
    Plus when i see the final code generated in the web result, it seems that the server adds a bgcolor by his own, the code look like:
    <body bgcolor=#ffffff bgcolor=#000000...
    i think this could be what is causing the incosistence, but i can't find where is this property the server is adding to the template.
    thanks for any help.
    JP

    Hi Juan,
    This could be because of the style sheet you are using. If you want to make a chnage to the colors etc, try doing that in your stylesheet. You can find the style sheets in SE80 in the BW system. You can find out the one being used from your web template properties.
    Hope this helps...

  • Help with code for inserting horizontal scroll bar in photo gallery in Business Catalyst site?

    Hi,
    I am using Business Catalyst and Dreamweaver to create a trial site.
    I am not sure if this is the correct forum to post this request but anyway I have inserted a photo gallery module at the bottom of the sidebar in the homepage of my test site.
    Can anyone advise on whether jquery or any other code can be inserted into the page or module code that will replace the "next" hyperlink below the first 4 photos with a horizontal scroll bar at bottom of the gallery so users can just scroll through all 12 images ?
    Kind Regards, Matt.
    http://craftime-bs6.businesscatalyst.com/

    Alyssa,
    Have you tried putting this rule back as it was originally:
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto; /*was 9px*/
        color: #EF9CCF;
        background-color: #FFF;
    That is, changing your 9px back to auto.
    And giving  us a link (as you did) is much better than printing out the code for us! Thanks!
    Beth

  • When converting word doc to pdf, my images with text only show the background color of the text box.

    I have a word doc that I am trying to conver to pdf.  I have jpegs with text boxes on top of them on one page.  It looks great on the screen but after I convert to pdf, the text boxes only have half the text, the first half of the text box is just white - the background color.  If I take the background color out of the text box, the text converts over fine but I need the background color.
    I have tried many things here on the print settings, standard, high quality print, unchecking the compression on the images.  Any help?

    Thank you for your posting. These forums are specific to the
    Acrobat.com website and it's set of hosted services, and do not
    cover the Acrobat family of desktop products. Please visit the
    following forums for any questions related to the Acrobat family of
    desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • E book" it tells me that the bI have prepared a photobook, made a pdf and when I press "buy the book is missing photos on one ore more pages. The book does not miss any photos or text, all layouts are ok, the background color is ok. Can anybody help me?

    I have prepared a photo book, made a pdf and when I press "buy thhe book" it tells me that the book is missing photos on one ore more pages. The book does not miss any photos or text, all layouts are ok, the background color is ok. Can anybody help me?

    You are missing one or more photos - youprobably have a page background that requires a photo which is behind a page with photos on it - all pages must either have a photo or be a color - if you have a gray background it requires a photo - look through the book carefully and be sure to look at the background on any full page photos - you will find one or more missing photos
    LN

  • Hi there, I want to change the background-color of the browser, when a popup-picture is shown. This picture pops up by clicking a hyperlink in the text...can anyone help me please...thanks a lot

    Hi there, I want to change the background-color of the browser, when a popup-picture is shown. This picture pops up by clicking a hyperlink in the text...can anyone help me please...thanks a lot

    Hi,
    CSS is interpreted by your browser, so server cache seems unlikely in htis case. There is however some hierarchy in CSS, so parts of the APEX CSS, theme CSS or page CSS might overwright or block yours.
    Does changing the CSS on runtime affect your page? Eg, run the following in your browser console and see if your page turns black: $('#uBodyContainer').css("background-color","black")
    Also try moving up your css in the hierarchy labeling it as important:
    div#uBodyContainer { 
      background-color:#000000 !important;  
    See:Assigning property values, Cascading, and Inheritance
    Regards,
    Vincent
    http://vincentdeelen.blogspot.com

  • How Do I Save the Background Color with my File

    I am operating on a Mac Air Book with the new Adobe Creative Cloud. I am new to Illustartor, so do not know how to use it well. I saved my document as a pdf, however, in the preview, it does not have the background color, but is jjust plain white. How can I save my document so that the color will show onto the pdf?

    this is how it looks on Adobe Illustrator
    however, when I save it as a PDF, it looks like this
    how can I save it so that the color in the background from the first image show on the PDF?

  • I udate my os to 10.6.7 and since then my Pages have color problems. The text is not visible (white on white background) it does'nt help to change the text color nor background color. Pls help

    I udate my os to 10.6.7 and since then my Pages have color problems. The text is not visible (white on white background) it does'nt help to change the text color nor background color. I just download the recent trail version of Iworks and install it. The first document I opened it was ok. When I open the second one the problem appear again and stayed. Pls help

    This behavior was described many times.
    In every occurrence,the operating system was an uncompleted one resulting of the use of Software Update to update the operating system to 10.6.2, 10.6.3, 10.6.4, 10.6.5, 10.6.6, 10.6.7.
    In such cases, the solace was to apply a combo updater.
    As you are using 10.6.7, download and apply the combo 10.6.7 :
    http://support.apple.com/kb/DL1361
    After that, run Software Update which will urge you to apply :
    Snow Leopard Font Update
    Yvan KOENIG (VALLAURIS, France) dimanche 29 mai 2011 21:15:58
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • When I print an email with Windows Mail, it prints the background color. How can I change that?

    When I receive an email that has a background color, which I want to print, the background color also prints. I do not the background color to print. How do I stop this?

    See this bug report:
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=683139 bug 683139] - Using the 'High Contrast Black' 'Accessibility Option' in Win XP results in the screen colours being printed.
    <i>(please do not comment in bug reports)</i>

  • Why can't I change the background color of my UIView in IB?

    I have a rootController which controls several other ***ViewController's and I have been doing the usual thing by changing the background color in IB.  However, for one controller, I cannot change it's background color from the default no matter what I do.
    To be clear, each new controller created has been done in the same manner using the UIViewController subclass with nib file.
    I have cleaned the project and deleted the app from my iPhone countless times and still no change.
    Any suggestions will be greatly appreciated.
    Thanks!

    @ KT
    I'm replying to myself because I cannot see your post ??????
    From my email- KT said:
    "Typically, when a same-only different controller acts up like this, the first thing to do is to rewire - sounds like you've gone down that path tho.
    Can you duplicate one of the cooperative controllers, add it to the mix and see if things change there?"
    I've tried all of that several times.  I have no idea.  Maybe some sleep will help it and me.
    Thanks for your comments and suggestions.
    Edit
    As soon as I posted this - your post appeared.  Again??????

  • Need to change the background color of a textview in offline PDF

    Hi,
    We are using the PDFDocument API in order to generate a PDF file which is eventually stored in a network folder. We were initially using the Webdynpro Interactive Form UI element, but digressed from that approach because of some architecture considerations.
    I am able to do everything with the PDFDocument API, expect two things which are proving to be much tougher than I thought:
    1) I have a textview in my .XDP template. The background color of this textview must change depending on the value that I display inside it. For example, if the value is between 1 and 20, the background color must be green, if the value is between 21 and 40, it must be yellow and so on...
    I still have not found the method to specify the background color of a textview using the .XML data file.
    2) Depending on a certain condition, I need to display 5 images in a table row instead of the usual 6. I have been able to do that by simply not providing the 6th image url, but I also need to resize the 5 such that they occupy the space that was initially used by 6 images.
    Any ideas of how I can go about these requirements?
    Thanks & regards,
    Navneet Nair.
    Edited by: Navneet Nair on Feb 19, 2009 10:09 AM

    1) I added an invisible textfield inside my .XDP file and populated it with the color value that I want my main text field to display.  (This color needs to be specified in the R,G,B format... for example... 128,0,0
    2) Now in the 'Initialize' javascript event of my main text field, I included the following script:
    this.resolveNode("<SubFormName>.<MainTextFieldName>").fillColor = this.resolveNode("<SubFormName>.<InvisibleTextFieldName>").rawValue;
    Hope it helps!
    - Navneet

  • I am trying to change the background color of a pdf document

    I am trying to change the background color of a pdf document, but am not able. I am working with Adobe X. Can anybody help me?

    Hi ZAXSCD,
    You can change the background color of a PDF document by following the steps mentioned below:
    - Open PDF document in Adobe Acrobat X;
    - Click on Tools --> Pages --> Under 'Edit Page Design' select Background and then 'Add Background';
    - In Add Background window, under Source --> From color, select the color of your choice and click OK'.
    You can also refer to the screenshots mentioned below:

  • Can I change the background color of the title " Knock Out" ?

    Hello,
    I am facing a problem with editing the title background, the original title background seems to be set as" transparent" or "black" , while I need it not to be black, but make it white or into any other color...
    I tried to copy the title "Knock Out" and edit in Motion 5, added a triangle as big as the background and put it on the bottom, but seems it's not working with such method...
    Then I tried to change the player background into white ( in the menu of prefernces) , it turned out to be white " sometimes" when I do a playback test... but when I export it into a quicktime movie, it remain the same black background... Anyone know how-to? Thanks in advance!

    Hello, Andy
    Thanks for your help, I tried to do the same thing, putting a custom generator underneath the title, but seems it's not working... I guess like what Tom said, it's transparent, and if I put a color underneath it, it became all white... like what I show on the photo
    The problem is that this method helps for any other titles, but not for the title" Knock Out", coz when we put knock out on our film, the text color will be all depends on your film, and placing a custom background to it will end up the text beccoming the exact same color of the custom background...  but what I need is to keep the text transparent as what it was, so that i can show the film thru the text... at the same time, the background should be white... Any ideas? It's bugging me:(
    Thanks for help anyway!
    The first photo was putting a custom background, but it showed up all white
    The seconf one was what I need, but all I can do is change the payer background to white... and it end up the same black background when I export it...

  • Can i change the background color of a file from white?

    i want to change file backgrounds from bright white, to a more soothing color.

    Each program is different and do not always have controls to change the background colors.
    For jpg files view this:
    https://www.youtube.com/watch?v=u5-WmuLFHys
    or this for jpeg
    http://www.wikihow.com/Change-an-Image-Background-in-MS-Paint-(Green-Screen)
    or this for pdf
    http://sodapdf.com/blog/sodapdf-tutorials/how-to-edit-a-pdf-file/pages/how-to-add-or-replace-a-backg...
    or of a folder
    http://www.sevenforums.com/customization/336693-how-change-background-color-folders-windows-7-a.html
    Anything else, I can't help you.
    Please mark my post as SOLVED if it has resolved your problem. It helps others with similar situations.

  • How do you change the background color & font in a text-only popup?

    It has been ages since I did this and I can't seem to remember how. I tried to edit the style sheet but it only has options to change the text-only popup hotspot/link and I need to change the background color and font style within the popup itself. Tried Adobe's help but it had no answer for me. Any one out there know how to do this? I am running RoboHelp 7.

    By Popup do you mean a link that when clicked causes a separate topic to be displayed in a seperate window (popup) or Drop Down text?
    For Popups that are displayed in a new window then the font and colour is changed in the topic that is displayed. Simply open the topic and change colours / features as required
    If you are using drop down text and confusing this with a popup then the font and colour is changed when creating the drop down text. Right click the text and select Font to change colour etc.

Maybe you are looking for

  • Apps not restored after upgrading to IOS6

    I have an iPhone 4S, which I back up automatically to iCloud.  I also manually back it up to iTunes every now and then.pgrade from IOS5 to IOS6.1 Last night, I finally decided to upgrade from IOS5 (5.1.1, IIRC) to IOS 6.1.  I triggered a manual backu

  • Why does the "Move to new window" function that I used to use not work when I right click on the tab anymore?

    It used to be when I right clicked on the tab in Firefox that I could use the "Move to new window" option. Now when I go down to that option it looks as though it is going to work, but nothing happens. The other day I changed a few options in Firefox

  • Best mp4 compression possible for 50" TV

    Hi, I need to compressed my project (24fps, 1080p from FCP) to mp4 which will be run on a 50' TV via a computer (not sure what software but I was told it needs to be in mp4 format). If size isn't a factor, what's the best possible compression to get

  • Why is 2.0.1 so bad.. Isnt this tested before release...

    How can it be so bad for such a minor release. It now takes much longer to do simple tasks.. seems that switching apps is slower. Backing up is taking significantly longer also...

  • I CAN NOT RECEIVE MY MESSAGES FROM FACEBOOK

    I HAVE ALWAYS BEEN ABLE TO RECEIVE MESSAGES TO MY PHONE UNTIL SOMEONE HACKED INTO MY ACCOUNT AND I HAD TO CHANE MY PASSWORD 2 TIMES. NOW I CANNOT RECEIVE MESSAGES. IT SAYS THAT MY PHONE IS ALL SET UP AND READY TO GO. I HAVE TRIED DELETING IT AND STAR