coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: cgc0202 on May 31, 2007, 02:10:58 AM

Title: Using CPMFetch to create a dynamic background image for the logo?
Post by: cgc0202 on May 31, 2007, 02:10:58 AM
Hello,

I know how to display images already -- any size, anywhere in a simple PHP page that I create on my own.  [I do not know how to do it in a ".tpl" (Smarty page) or the usual scripted PHP that are usually part of a very complex program like TikiWiki (which uses both php for the scripting, and .tpl for the layout).]

Some people are helping me improve the look of our website.  And, one of the proposed "logo" section has a huge image that is used as a background of the logo (not the page). No matter how good the background image is for the logo, it becomes boring at some point and thus a  wasted prime space at the top. My question is this:

Is it possible to use the CPMFetch  to create a dynamic background for the logo?

What I meant by this would be a case where by the unmarked photos, taken from the CPG would then be placed in the logo section as the top as background="background image URL"

where the "background image URL" is then made dynamic (either chosen in random, or latest image added, etc. from a selected gallery) by the CPMFetch. 

Here the logo itself would be added as the usual {img src="URL of logo"} presentation of image in the logo section, at the top.

where {} are the usual "less than" and "greater than".  It would be a creative use of background images.

I hope this is something feasible.

Thanks.

Cornelio
Title: Re: Using CPMFetch to create a dynamic background image for the logo?
Post by: vuud on May 31, 2007, 02:23:25 AM
Quote from: cgc0202 on May 31, 2007, 02:10:58 AM
Hello,

I know how to display images already -- any size, anywhere in a simple PHP page that I create on my own.  [I do not know how to do it in a ".tpl" (Smarty page) or the usual scripted PHP that are usually part of a very complex program like TikiWiki (which uses both php for the scripting, and .tpl for the layout).]

Some people are helping me improve the look of our website.  And, one of the proposed "logo" section has a huge image that is used as a background of the logo (not the page). No matter how good the background image is for the logo, it becomes boring at some point and thus a  wasted prime space at the top. My question is this:

Is it possible to use the CPMFetch  to create a dynamic background for the logo?

What I meant by this would be a case where by the unmarked photos, taken from the CPG would then be placed in the logo section as the top as background="background image URL"

where the "background image URL" is then made dynamic (either chosen in random, or latest image added, etc. from a selected gallery) by the CPMFetch. 

Here the logo itself would be added as the usual {img src="URL of logo"} presentation of image in the logo section, at the top.

where {} are the usual "less than" and "greater than".  It would be a creative use of background images.

I hope this is something feasible.

Thanks.

Cornelio

I don't know your specifics, but its definately possible.

The banner of http://cpmfetch.fistfullofcode.com is done dynamically.