PDA

View Full Version : Changing font colour / image


Transcending
07-29-2006, 11:40 AM
Hi Guys!

If there's some info on this floating around, feel free to just point me in the right direction..

I've seen the addon that allows you to change the background and border colour on a per image basis..

I'm wondering if it's possible to do this for the font in my template..

For example, it's blue at the moment.. Wondering if I could change that for each image I upload?

Cheers!

Transcending
08-01-2006, 11:00 AM
Do I assume there's no way to do this? ;)

codepoit
08-01-2006, 11:46 AM
I don't know of any existing way to do this. You maybe have to write an addon for it?

blinking8s
08-01-2006, 02:41 PM
http://pixelpost.org/v1/index.php?x=downloads&details=168

codepoit
08-01-2006, 02:44 PM
I'm using that addon, but I don't find a way to change text color per entry...

blinking8s
08-01-2006, 08:18 PM
did you read the instructions on the page? it has a few steps in setting up

codepoit
08-01-2006, 09:30 PM
I'm using the addon already, have been using it for a few months now. The addon works great. What the OP was asking though is if there is a way to change the text color on each image page on a per-entry basis. The addon you linked to is to change the background color of each image page, not the text.

blinking8s
08-02-2006, 05:56 AM
ah, i sometimes read so fast i miss words...im sure it can be extended, but you would eather have to brush up on some code skills or find someone willing to help out

GeoS
08-02-2006, 07:31 AM
The easiest way it to add on more column in *pixelpost table with place for name of CSS file. Next step is to produce few custom CSS files and write it each time we are posting new image (or use for it select form element).

Using CSS and custom template you can do almost everything from changing color of one letter ending on random header image with every time other font color of description.
There are so many possibilities.

BTW It isnt too difficult.

Transcending
08-02-2006, 11:43 AM
Thanks GeoS.. I'd be able to look at the custom CSS files, etc.. but am not sure what you mean by adding one more column in *pixelpost table?

Transcending
08-02-2006, 11:44 AM
Thanks.. I wouldn't know the first thing to writing an addon for it, so I may have to look for a way around that ;)

I don't know of any existing way to do this. You maybe have to write an addon for it?

blinking8s
08-02-2006, 11:57 PM
geos means you have to add a table to the mysql database

Transcending
08-03-2006, 06:54 AM
Ok thanks.. Too far out of my stretch..

GeoS
08-03-2006, 06:49 PM
Not exactly Will. I mean pixelpost is using some DB and putting there own tables. Each table is build from columns. The best way of doing what you want is to add one more column to table your_prefix_pixelpost.
I suggest such way bacause you can store other data for each image but what is better you can get it using same query which you are getting image details (it means one step of getting data less).