Embedded Transparent Color Pack

shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Tue, 2005-08-30 19:51

There used to be a matrix trans theme that would help your embedded gallery match your cms theme and let your background image show through. I have recently made a embedded colorpack that helps this become possible. To help it work even better, edit your cms stylesheet and add the text

!important

after the color for the css link items. Like below.

a:link, a:visited {
    font-size: 12px;
    color: #CC9966 !important;
    text-decoration:none;
    font-weight: bold;
}

a:hover {
    text-decoration:underline;
    color:#FF0000 !important;
}
AttachmentSize
embed.zip397 bytes
 
joe7rocks
joe7rocks's picture

Joined: 2004-10-07
Posts: 560
Posted: Wed, 2005-09-28 02:38

KEEWL colorpack and work man!!
thanks :)

but what the cms stylesheed edition does exactly?

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Wed, 2005-09-28 11:55

Adding those items to your cms stylesheet will help override the gallery2 default colors for links, etc.

Steve Lineberry

 
raizel (not verified)

Posted: Wed, 2005-10-12 01:29

By using the Default theme, does this "embeded" colour pack allow me to use this? I assume the CSS quoted Posted: Tue, 2005-08-30 15:51 includes background-image? And, are there instructions (eg: where to put the image, where to find the CSS file, anything else)? I looked at the example using Gallery2 logo and I think it's what I want, as a start. (no, not with the logo <LAUGH>.

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Wed, 2005-10-12 02:21
raizel wrote:
By using the Default theme, does this "embeded" colour pack allow me to use this? I assume the CSS quoted Posted: Tue, 2005-08-30 15:51 includes background-image? And, are there instructions (eg: where to put the image, where to find the CSS file, anything else)? I looked at the example using Gallery2 logo and I think it's what I want, as a start. (no, not with the logo <LAUGH>.

No background image is included with the color pack. All this does is if you want a background image or are using gallery2 embedded and have a background color and don't want to make a color pack it makes the usually white background of gallery2 be transparent. You can use this color pack with any theme. Just unzip the contents into your gallery2 modules\colorpack\packs directory. Then goto your theme settings and at the bottom select embed as the colorpack.

 
KenAF

Joined: 2005-10-18
Posts: 2
Posted: Tue, 2005-10-18 14:54

Any idea what might be causing (or how to fix) the display problem on my site?

I'm using the default theme with the embedded colour pack...yet some portions of gallery2 are still white, rather than transparent. I added the lines above to my stylesheet, as suggested.

http://www.revival-guild.net/index.php?option=com_gallery2&Itemid=36

Update: I ended up just modifying the theme file.

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Tue, 2005-10-18 20:54

Which parts were white?

Steve Lineberry

 
EscobarDesigns

Joined: 2006-01-17
Posts: 1
Posted: Thu, 2006-01-19 16:37

Hey I'm new to this php thing so I need some help in establishing the background image of my choice but still keeping the a PG Charcoal type color in the gallery, please help. Just like my main part of my site. http://www.jerseysfinest.net/please help!!! Thanks in advance!!!http://www.jerseysfinest.net/gallery/[img]http://jerseysfinest.net/bkgd.gif[/img]

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Mon, 2006-04-17 01:11

Hi Steve,
Is this colorpack only for using when the gallery is embedded into another webpage?

I have yet to try that, but am interested to try.

Gaynor

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Mon, 2006-04-17 16:30

You can use it when not embedded but it will look the same as the default colorpack.

Steve Lineberry

 
Dogsbody

Joined: 2003-11-27
Posts: 13
Posted: Sun, 2006-07-09 15:35

Once I worked out what this was all about It worked great :-)

Thank you very much

Dan

 
chicoquente

Joined: 2006-07-18
Posts: 2
Posted: Sun, 2006-07-23 22:22

I have gallery2 successfully embedded in my postnuke site, and have applied the embed colour pack but I am having a minor problem I can not figure out. When I click the link to head to the gallery module like this:
/index.php?module=Gallery2

Some portions are still not transparent... As shown in this picture.

Upon choosing one of those galleries though some parts now become transparent but a few spots do not. As shown in this picture.

Any ideas as to what/where I can edit to make this happen or atleast allow me to change the colour values to others ones more suitable?? I have no problems editing html/css/php but I do not know where to look for this edit. Thanks in advance...

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Mon, 2006-07-24 19:16

I didn't make those area's transparent in my color pack. You should be able to look at the html of the page to figure out what css classes you need to override in the colorpack to make the gray area's transparent as well. You should also be able to look at my colorpack css for some examples.

Steve Lineberry

 
Dogsbody

Joined: 2003-11-27
Posts: 13
Posted: Mon, 2006-07-24 19:28

If you use Firefox I can highly recommend the Web Developer Extension where you can click on an area of your page and find exactly the css you need to update.

 
Landho

Joined: 2005-11-29
Posts: 7
Posted: Fri, 2006-08-04 05:25

hmm... I'm trying to use this with a Gallery embedded in to Joomla... http://www.outlawnation.us then click gallery on the left. I can't seem to get the linked text to change from that default blue colored link... any comments to help guide me in the right direction to correct this problem?

thanks,
Rich

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Fri, 2006-08-04 14:51

You might want to take a look at my very first post above and edit your joomla template and put the !important tags for the links in your joomla template css. You can also see this website for more details.

http://www.gallery-addons.com/content/view/71/125/1/2/lang,en_US/

Steve Lineberry

 
Glampers

Joined: 2006-09-11
Posts: 1
Posted: Mon, 2006-09-11 01:45

I'd like to publically declare my love for shocksll for this, works perfectly with Oldiesmann's G2+SMF Gallery integration too! Brilliant solution!

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Mon, 2006-09-11 12:06

Thanks! I'm glad it works for you.

Steve Lineberry

 
dimmstyled

Joined: 2007-01-17
Posts: 1
Posted: Wed, 2007-01-17 13:47

Hi

I have added your embed in my gallery, but have some small problems :) my gallery seems to be to large for my site.
How can i fix this ?

link: http://www.z-city.be/gallery/main.php

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Thu, 2007-01-18 19:38

I'm guessing it has something to do with your stylesheet of the wrapper.

Steve Lineberry

 
Frank Carroll

Joined: 2007-04-21
Posts: 3
Posted: Sat, 2007-04-21 12:24

I'm having trouble uploading the pack to the pack directory - I'm getting permission denied for ftp client upload to the folder, also getting mkdir permission denied when I manually try to create the directory "embed"

I've tried to chmod of the folder modules/colorpack/ to 777 but it doesn't work.

I'm on a hosted server so I don't have root access - is there a way to add a colorpack through g2 so that I'm using its permissions on its folders?

 
Frank Carroll

Joined: 2007-04-21
Posts: 3
Posted: Sat, 2007-04-21 12:53
Frank Carroll wrote:
I'm having trouble uploading the pack to the pack directory - I'm getting permission denied for ftp client upload to the folder, also getting mkdir permission denied when I manually try to create the directory "embed"

I've tried to chmod of the folder modules/colorpack/ to 777 but it doesn't work.

I'm on a hosted server so I don't have root access - is there a way to add a colorpack through g2 so that I'm using its permissions on its folders?

Wouldn't you know - soon as I post this I find a way:

http://www.mysite.com/path-to-gallery/lib/support/index.php

Authenticate with your password
In Advanced: Choose the path and the permissions manually
Add the path to the colorpack folder: (like)

/home/mysite/public_html/path-to-gallery/modules/colorpack/

Select 'Read and Write for everyone' and click the button

The folder can now be uploaded to.

I think this is using gallery2 ownership to change the permissions on the folder, thus solving the problem.

 
ciscospirit

Joined: 2008-04-22
Posts: 1
Posted: Tue, 2008-04-22 18:35

Hello,

i have a problem with this color pack ... i CANT use it .. i dont know anything about CMS and CSS stylesheets etc. i only do graphical working with html.

so maybe somebody can tell me what i should do that i can fit a background behind the gallery.

my site is under: www.reinhard-lichtenegger.at and if you click on "fotos" there should be open the gallery but the background should be the same as at the other sites.

but i dont know where i must set in the background.

i use the latest version of gallery2.

maybe you can help me and tell me what i should do...

 
evilc

Joined: 2004-08-01
Posts: 47
Posted: Wed, 2008-10-22 18:43

Hi,
I got the embed colourpack installed, I selected the matrix theme and it generally seemed to work apart from some white backgrounds.

I pasted the following into my theme.css for matrix:

/* Hide Gallery logo */
#gsHeader {
	display: none;
}

#gallery {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	color: black;
	background-color: transparent;
}

body.gallery {
	background-color: transparent;
}

.gcBackground1 {
	background-color: transparent;
}

.gcBackground2 {
	background-color: transparent;
}

But the title text for pictures and albums are black (my site has a dark background).
Does anyone know how to change this?

http://g2.evilc.com to see my site