News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Using CPMFetch to create a dynamic background image for the logo?

Started by cgc0202, May 31, 2007, 02:10:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cgc0202

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

vuud

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.
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco