WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Flash Images
  • Print
Pages: [1]   Go Down

Author Topic: Flash Images  (Read 10159 times)

bfalcons

  • Guest
Flash Images
« on: May 06, 2008, 04:50:30 PM »
Hi all,

I have been looking through the pages and it seems no one else has had an issue so I will probably look really stupid. My knowledge is limited but I have installed ok, changed images to suit, but want to change a heading image to flash, I have done it and pointed to an .swf but it doesn't display at the front end, I have created other versions. flv and nothing shows. .gif and .jpg not a problem even .png.
Any suggestions.

thanks
BF
Logged

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Flash Images
« Reply #1 on: May 06, 2008, 05:23:50 PM »
check the pathes.
best way is, you put your swf file into the template folder.

then you need to set a path like:
src="<?php echo TEMPLATE_DIR; ?>/your_file_name.swf"

regards,
stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

bfalcons

  • Guest
Re: Flash Images
« Reply #2 on: May 08, 2008, 04:24:48 PM »
Quote from: Stefek on May 06, 2008, 05:23:50 PM
check the pathes.
best way is, you put your swf file into the template folder.

then you need to set a path like:
src="<?php echo TEMPLATE_DIR; ?>/your_file_name.swf"

regards,
stefek
Thanks Stefek, sadly no luck, I have tried just loading my .swf image into media nd placing it, that doesn't work.
So for some reason WB cannot identify, I have looked through all files and folders, in the hope of seeing a permission, line with .jpg .gif .png but can't. Any further tips would be welcome.

Cheers
BF
 
Logged

hrioo

  • Guest
Re: Flash Images
« Reply #3 on: May 08, 2008, 06:50:28 PM »
First upload your flash file to your media library, then go to your admin settings page and enter your flash code in the "Website Header:" box similar to:

<embed src="../media/YourFlashFile.swf" width="400" height="80" type="application/x-shockwave-flash" play="true" loop="true" menu="true"></embed>

Adjust height & width & point to correct flash file.

Then open your template's index.php file and find the following code somewhere on the top:

<?php
// this allows to add custom information to the head section of your template (WB-->Settings-->Website Header)
echo WEBSITE_HEADER;
?>

Then move this code where you want your flash to appear in your template. You will probably have to further edit your template file (index.php file) to position your flash properly.

Hope it helps.
Logged

apple

  • Guest
Re: Flash Images
« Reply #4 on: May 20, 2008, 11:40:39 PM »
Quote from: hrioo on May 08, 2008, 06:50:28 PM
First upload your flash file to your media library, then go to your admin settings page and enter your flash code in the "Website Header:" box similar to:

Then open your template's index.php file and find the following code somewhere on the top:

<?php
// this allows to add custom information to the head section of your template (WB-->Settings-->Website Header)
echo WEBSITE_HEADER;
?>

I cant see that line on my template. I can only read my flagh file on Firefox but not IE. Please help. Thanks.
Logged

hrioo

  • Guest
Re: Flash Images
« Reply #5 on: May 21, 2008, 02:58:59 AM »
Re the mentioned piece of code, just copy it from here and paste it in your template as mentioned above. Or try another template and see how it goes.

Does your ie show flash in other websites?

Logged

apple

  • Guest
Re: Flash Images
« Reply #6 on: May 31, 2008, 12:26:55 AM »
Yes, only in WB I have problem :(
Logged

Offline bupaje

  • Posts: 592
Re: Flash Images
« Reply #7 on: July 04, 2008, 08:20:43 AM »
I had problems with adding Flash with Flash generated code. I place mine swf in the template folder and used the simple Fckeditor Insert Flash generated code

Code: [Select]
<embed width="940" height="717" menu="false" loop="true" play="true" src="http://stormvisions.com/templates/splash/splash.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>    

and it worked. Not sure if this helps.
Logged

lilmiss

  • Guest
Re: Flash Images
« Reply #8 on: December 02, 2008, 03:58:47 PM »
I just now inserted a flash menu to my index page and here's how...

You will need to open whatever template file you are using for your site...you will then edit the index.php

The <div> that want the flash image/menu to go you will place:


<embed src="<?=TEMPLATE_DIR; ?>/folderlocationofswf/nameofflash.swf" width="696" height="364" />

It worked for me! Thrilled that it did...thought it was going to be much harder than that.


If you want to see what I did: www.lilmisskaties.c om/wb/pages/big-idea.php

Hope that was helpful.

Lil Miss
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Flash Images
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2