Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / installing Galleria need help

installing Galleria need help

Locked

Views: 3,968

Results 21 to 31 of 31
This thread is locked. New replies are disabled.
7 Dec 2010, 6:54 AM
#21
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

installing Galleria need help

Unrelated, but why are you loading two stylesheets of basically the same name?

includes/templates/CUSTOM/css/stylesheet_categories_dressing.css
includes/templates/CUSTOM/css/stylesheet_chcategories_dressing.css

7 Dec 2010, 6:57 AM
#22
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: installing Galleria need help

Um ...

you've got this loading in your <head> section:```

<script type="text/javascript" src="includes/modules/pages/gallery/jscript_galleria.classic.js"></script> <script type="text/javascript" src="includes/modules/pages/gallery/jscript_galleria.js"></script> <script type="text/javascript" src="includes/modules/pages/gallery/jscript_jquery.min.js"></script>

and then in your define-page content you're RE-loading all of that all over again!  Why? My first guess is that you've got a clash and probably getting "function already exists" errors in the javascript engine
<!-- bof define_gallery -->

[B]<script src="http://notoriousarc.com/includes/modules/pages/gallery/jscript_jquery.min.js"></script>

<script src="http://notoriousarc.com/includes/modules/pages/gallery/jscript_galleria.js"></script> <script>Galleria.loadTheme('http://notoriousarc.com/includes/modules/pages/gallery/jscript_galleria.classic.js');</script>

[/B]<div class="images"><img src="images/bullit1.jpg"><img src="images/bullit.jpg"></div>

<script>$('.images').galleria();</script> <!-- eof define_gallery -->
7 Dec 2010, 7:00 AM
#23
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: installing Galleria need help

Plus, the browser is reporting these errors:

/includes/modules/pages/gallery/jscript_galleria.classic.js:82 - ReferenceError: Can't find variable: jQuery
/includes/modules/pages/gallery/jscript_galleria.js:3815 - ReferenceError: Can't find variable: jQuery
/includes/templates/CUSTOM/images/header_bg.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
/includes/templates/CUSTOM/images/tile_back.gif - Failed to load resource: the server responded with a status of 404 (Not Found)
/includes/modules/pages/gallery/galleria.classic.css - Failed to load resource: the server responded with a status of 404 (Not Found)
notoriousarc.com/includes/modules/pages/gallery/jscript_galleria.js:3475 - Error: Fatal error: Width & Height not found.

You might try installing FireBug in your FireFox and using the Console view to look at the errors.

7 Dec 2010, 7:00 AM
#24
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Re: installing Galleria need help

Honestly my website needs some cleaning up but right im in a hurry to get this gallery up and going. i just did a photo shoot and would like to get the photos on their asap but im having such a hard time getting this to work. its the only one that ive seen that i really like and i think would work really well with my site.

the girls that got photographed and chopping at the bit to see their photos on there.

heres a sample photo:
http://notoriousarc.com/images/IMG_7296.JPG

7 Dec 2010, 7:06 AM
#25
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Re: installing Galleria need help

so its not seeing the jquery thats really weird. shoot, alright thank you very much.

Im just really at such a loss. i mean ill pay someone to walk me through how to correct this issue. if someone can truely offer a solution im willing to pay. it would have to be through paypal cause thats probably the safest way.

7 Dec 2010, 9:27 AM
#26
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: installing Galleria need help

I sincerly hope you intend on optimizing your images for the web as the one you linked is 5,262.9 KB (5,389,210 bytes) in size and 100k is the recommended largest size as browsers only render at 72dpi

7 Dec 2010, 10:43 AM
#27
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: installing Galleria need help

Well, I'd start by making the following changes:
Get rid of the parts in red, from your define page:
And make the edit in blue.

<!-- bof define_gallery -->
[B]<script src="http://notoriousarc.com/includes/modules/pages/gallery/jscript_jquery.min.js"></script>
<script src="http://notoriousarc.com/includes/modules/pages/gallery/jscript_galleria.js"></script>[/b]
<script>Galleria.loadTheme('[B]http://notoriousarc.com[/B]/includes/modules/pages/gallery/[B]my_galleria.classic.js[/B]');</script>
<div class="images"><img src="images/bullit1.jpg"><img src="images/bullit.jpg"></div>
<script>$('.images').galleria();</script>
<!-- eof define_gallery -->

Then rename these files so they load in a different order. Remember, they load alphabetically, so name them accordingly, perhaps as follows:
From this:
includes/modules/pages/gallery/jscript_galleria.classic.js
includes/modules/pages/gallery/jscript_galleria.js
includes/modules/pages/gallery/jscript_jquery.min.js

To this:
includes/modules/pages/gallery/jscript_jquery.min.js
includes/modules/pages/gallery/jscript_the_galleria_main.js (instead of jscript_galleria)
includes/modules/pages/gallery/**my_galleria.classic.**js (instead of jscript_galleria.classic, yes, removing the "jscript_" prefix)

8 Dec 2010, 9:58 AM
#28
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Re: installing Galleria need help

did the changes you suggested and im still getting nothing. ill keep playing with it.

8 Dec 2010, 5:46 PM
#29
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: installing Galleria need help

9 Dec 2010, 10:16 AM
#30
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Re: installing Galleria need help

ok i loaded the css file into the module/pages/gallery dir.

What settings are you using in firebug console to show these error? ive been playing with it a bit but i get errors that are not correct

10 Dec 2010, 12:31 AM
#31
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Re: installing Galleria need help

one error that im getting for the java script is that the height and width are not set, it gives me line 3475 but that error is written into the code itself. anymore help would be appreciated.