Image not showing on faq page

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
User avatar
Froddelaar
Registered User
Posts: 501
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Image not showing on faq page

Post by Froddelaar » Sat Oct 07, 2017 8:12 pm

Hello,

I'm creating a Halloween style.
I have some bats flying around for a few seconds, but the wont show on the "faq" page.

Code: Select all

No route found for "GET /help/styles/Halloween/template/bats/ghost1.gif" (from "https://www.froddelpower.be/scripts/phpbbtest/help/faq")
working:
https://www.froddelpower.be/scripts/phpbbtest
not working:
https://www.froddelpower.be/scripts/phpbbtest/help/faq

This is the code I use:

Code: Select all

var ImageArray=["./styles/Halloween/template/bats/bat1.png","./styles/Halloween/template/bats/bat2.png","./styles/Halloween/template/bats/ghost1.gif","./styles/Halloween/template/bats/bat3.png"];

Can I get some help please? :)
Last edited by _Vinny_ on Sun Oct 08, 2017 6:41 pm, edited 1 time in total.
Reason: Topic icon changed
I'm A Stupid F*ck.. And Proud Of it!
Download +34.000 arcade extension games @ ~ https://www.froddelpower.be ~

Dutch Extension Translations @ https://github.com/Solidjeuh
Donations are always welcome @ https://www.froddelpower.be/donation

User avatar
Raul [ThE KuKa]
Jr. Extension Validator
Posts: 3740
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: Image not showing on faq page

Post by Raul [ThE KuKa] » Sat Oct 07, 2017 10:01 pm

Why not use the your_style/theme/images/ folder for this?

And test it...

Code: Select all

var ImageArray=["./images/bats/bat1.png","./images/bats/bat2.png","./images/bats/ghost1.gif","./images/bats/bat3.png"];
If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
phpBB International Support Team (Spanish - Español) :flag_es: Online Since 2003
🎨phpBB Professional Premium Themes🔥
Author Translations (Spanish - Spain) :two_hearts:

:warning: I don't support those without the copyright Spanish translation. :warning:

User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 7057
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: Image not showing on faq page

Post by _Vinny_ » Sun Oct 08, 2017 4:04 am

Try:

Code: Select all

var ImageArray=["{T_THEME_PATH}/images/bats/bat1.png","{T_THEME_PATH}/images/bats/bat2.png","{T_THEME_PATH}/images/bats/ghost1.gif","{T_THEME_PATH}/images/bats/bat3.png"];
Move bats/ folder to theme/images

User avatar
Froddelaar
Registered User
Posts: 501
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Image not showing on faq page

Post by Froddelaar » Sun Oct 08, 2017 10:50 am

_Vinny_ wrote:
Sun Oct 08, 2017 4:04 am
Try:

Code: Select all

var ImageArray=["{T_THEME_PATH}/images/bats/bat1.png","{T_THEME_PATH}/images/bats/bat2.png","{T_THEME_PATH}/images/bats/ghost1.gif","{T_THEME_PATH}/images/bats/bat3.png"];
Move bats/ folder to theme/images
Thanks for the held guys! This is working great.
Now I can complete the style today :D
I'm A Stupid F*ck.. And Proud Of it!
Download +34.000 arcade extension games @ ~ https://www.froddelpower.be ~

Dutch Extension Translations @ https://github.com/Solidjeuh
Donations are always welcome @ https://www.froddelpower.be/donation

Post Reply

Return to “[3.2.x] Styles Support & Discussion”

Who is online

Users browsing this forum: Mannix_ and 3 guests

cron