Galleria Mod 2015-04-24

This mod does changes the way images are displayed on the item page

  1. drakky20

    drakky20 Active Member

    Joined:
    Mar 11, 2012
    Messages:
    253
    Likes Received:
    24
    drakky20 submitted a new resource:

    Galleria Mod - Galleria Mod

    Read more about this resource...
     
    Last edited by a moderator: Apr 24, 2015
    hhavatar likes this.
  2. liran

    liran New Member

    Joined:
    May 17, 2012
    Messages:
    136
    Likes Received:
    2
    works great

    thanks for this mod=), works great.
     
  3. Guest

    Guest Guest

    hi Drakky20
    wish there was pictures of how it looks.
    and description of how it works,
    does it open inside item page or is it pop-up ?
     
  4. liran

    liran New Member

    Joined:
    May 17, 2012
    Messages:
    136
    Likes Received:
    2
  5. softsa

    softsa New Member

    Joined:
    Aug 2, 2011
    Messages:
    182
    Likes Received:
    2
    It works very well, thanks Drakky20!
     
  6. liran

    liran New Member

    Joined:
    May 17, 2012
    Messages:
    136
    Likes Received:
    2
    hello darkky. is there any way i can use this gallery as pop up window? .
    i want it to be seperated from item.php .
    if you know a way . please do tell me , thanks.
     
  7. drakky20

    drakky20 Active Member

    Joined:
    Mar 11, 2012
    Messages:
    253
    Likes Received:
    24
    sorry not with galleria i don't
    the original lightbox code opens the image in an overlay , galleria is designed to show the pictures on a page , fancybox however is sort of a combination of the 2, although the original lightbox could be re-arranged to show it in a nicer way i guess
     
  8. btv293

    btv293 Guest

    How to use it in VBB forum
    I want build BBCode to create picture album for vbb but i dont know at PHP
    like album in this website
    Can everybody help me.
    thanks so much
     
    Last edited by a moderator: Jul 6, 2012
  9. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,572
    Likes Received:
    546
    You have been banned from this site and this forum, being as though you only have 1 post and this is it.

    Go and leech code from somwhere else.

    BANNED

    NOTE:: If you want help with a mod for a FORUM ask in the support forum for the script you downloaded or purchased.

    AGAIN BANNED
     
    Last edited: Jul 6, 2012
  10. Stormdancing

    Stormdancing New Member

    Joined:
    Jun 26, 2012
    Messages:
    18
    Likes Received:
    0
    Still running 1.0.3

    Getting Init failed: Galleria could not find the element "#galleria".

    Fixed - Never Mind - I pasted code wrong.
     
    Last edited: Jul 9, 2012
  11. Tamber

    Tamber New Member

    Joined:
    Nov 12, 2012
    Messages:
    8
    Likes Received:
    0
    I have followed all instructions as far as I can see, but nothing is happening?
    In fact I have just checked again, plus I have cleared cache. So now I don't know what to do.
    Help would be great.
     
  12. pani100

    pani100 Well-Known Member

    Joined:
    May 9, 2011
    Messages:
    2,327
    Likes Received:
    449
    Hi Tamber,
    Do you have a site we could have a look at, and are you getting any errors in the error log when viewing item page?
     
  13. Tamber

    Tamber New Member

    Joined:
    Nov 12, 2012
    Messages:
    8
    Likes Received:
    0
    Hi.
    Here is the link:
    http://microsoftdotcom.us/index.php

    These are the only error logs found, they have been there for days and nothing I do gets rid of them or resolves the issue, but nothing regarding the Galleria:

    12-11-2012, 09:10:08:: My NOTICE [1024] Using deprecated API: use $config->set('Core.Encoding', ...) instead on /home/content/48/8529948/html/mic/includes/HTMLPurifier/HTMLPurifier/Config.php line 693
    12-11-2012, 09:10:08:: My NOTICE [1024] Using deprecated API: use $config->set('HTML.Doctype', ...) instead on /home/content/48/8529948/html/mic/includes/HTMLPurifier/HTMLPurifier/Config.php line 693
    12-11-2012, 21:56:02:: My NOTICE [1024] Using deprecated API: use $config->set('Core.Encoding', ...) instead on /home/content/48/8529948/html/mic/includes/HTMLPurifier/HTMLPurifier/Config.php line 693
    12-11-2012, 21:56:02:: My NOTICE [1024] Using deprecated API: use $config->set('HTML.Doctype', ...) instead on /home/content/48/8529948/html/mic/includes/HTMLPurifier/HTMLPurifier/Config.php line 693
     
  14. pani100

    pani100 Well-Known Member

    Joined:
    May 9, 2011
    Messages:
    2,327
    Likes Received:
    449
    hello Tamber, these errors you get have been dealt with here
    On the mod side I can't see the the galleria mod present, I assume you have removed it as it was not working, I would need to have the mod in place to see if it actually is getting the correct js and css files to create the galley.
     
  15. Tamber

    Tamber New Member

    Joined:
    Nov 12, 2012
    Messages:
    8
    Likes Received:
    0
    Thanks for that link.

    No, it's still there. But I wouldn't be surprised if it is in the wrong place, although I can't see how else it should be configured.
    For instance:

    mic/js/galleria/galleria.classic.min.js

    and

    mic/themes/default/galleria/galleria.classic.css

    As per .txt file where "root" has been replaced by my root directory, the alias "mic".
    All editing done correctly.
    I really don't know what else to do unless I have to switch it on in Admin cp?
     
  16. pani100

    pani100 Well-Known Member

    Joined:
    May 9, 2011
    Messages:
    2,327
    Likes Received:
    449
    ok, just checked, all the files look in place but you are not loading anything anywhere for the galleria.
    You need these 2 lines to go in your global_header.tpl

    PHP:
    <link rel="stylesheet" type="text/css" href="{SITEURL}themes/default/galleria/galleria.classic.css" media="screen">
    <
    script type="text/javascript" src="{SITEURL}js/galleria/galleria.classic.min.js"></script>
    so
    in the global_header.tpl
    find <link href="{SITEURL}themes/WBColors/css/red.css" rel="stylesheet" type="text/css" title="red">
    and after it add
    <link rel="stylesheet" type="text/css" href="{SITEURL}themes/default/galleria/galleria.classic.css" media="screen">


    find <script language="javascript" type="text/javascript" src="{SITEURL}themes/WBColors/js/wbc_scripts.js"></script>

    and after it add
    <script type="text/javascript" src="{SITEURL}js/galleria/galleria.classic.min.js"></script>

    See what happens once these are in
     
  17. Tamber

    Tamber New Member

    Joined:
    Nov 12, 2012
    Messages:
    8
    Likes Received:
    0
    I am sure we are getting there, but instead of:

    <link href="{SITEURL}themes/WBColors/css/red.css" rel="stylesheet" type="text/css" title="red">

    I see:

    <link href="{INCURL}themes/WBColors/css/red.css" rel="stylesheet" type="text/css" title="red">

    and instead of:

    <script language="javascript" type="text/javascript" src="{SITEURL}themes/WBColors/js/wbc_scripts.js"></script>

    I see:

    <script language="javascript" type="text/javascript" src="{INCURL}themes/WBColors/js/wbc_scripts.js"></script>

    Not very different, but what do I do about it? Edit it the new lines to {INCURL}?
    Cheers
     
  18. pani100

    pani100 Well-Known Member

    Joined:
    May 9, 2011
    Messages:
    2,327
    Likes Received:
    449
    No, leave them as they are.
    Let me rephrase it now I know what you have

    in the global_header.tpl
    find <link href="{INCURL}themes/WBColors/css/red.css" rel="stylesheet" type="text/css" title="red">
    and after it add
    <link rel="stylesheet" type="text/css" href="{INCURL}themes/default/galleria/galleria.classic.css" media="screen">


    find <script language="javascript" type="text/javascript" src="{INCURL}themes/WBColors/js/wbc_scripts.js"></script>

    and after it add
    <script type="text/javascript" src="{INCURL}js/galleria/galleria.classic.min.js"></script>
     
  19. leoinker

    leoinker Donor Donor

    Joined:
    Dec 31, 2012
    Messages:
    35
    Likes Received:
    1
    I installed this on WeBid 1.0.6
    Works like a charm! =) I highly recommend this mod!
    If you have auctions with 10 or more pictures, without using this mod, your pictures may run outside the edge of the table. Instead of doing my own code edits, I just installed this mod. It also helps a lot with image display for mobile use. Killed two birds with 1 stone!

    Thank you, drakky20!
     
  20. hhavatar

    hhavatar Donor Donor

    Joined:
    Jul 28, 2014
    Messages:
    747
    Likes Received:
    74
    Excellent Mod. Works perfectly on item.tpl
    I also tried to use this for the featured items on the front (home.tpl) & I cant seem to get it to work.
    The images are not coming through. I'm getting an error that it can't find them.
    The error is is with <img src="{SITEURL}{UPLOADEDPATH}{ID}/{gallery.V}"> line I'm sure. I've tried a few variations but I don't know what to use to get the same result as <img src="{featured.IMAGE} in the default code. Any suggestions as to what the right path is?
     

Share This Page