Results 1 to 8 of 8

Thread: added new social media infobox but images wont show.

  1. #1
    2001kx
    Guest


    Default added new social media infobox but images wont show.

    I followed this tutorial:
    http://wiki.oscdox.com/v2.5/creating...rev=1331581699

    but the images wont show up for me?

    I left everything as is and uploaded the images to my template/images directory.

  2. #2
    2001kx
    Guest


    Default Re: added new social media infobox but images wont show.

    This is the code

    Code:
    <?php
    /*
    $Id: social.php $
    
      osCmax e-Commerce
      http://www.oscmax.com
    
      Copyright 2000 - 2012 osCmax
    
      Released under the GNU General Public License
    */       
    ?>
    <!-- social media //-->
    <?php
      $boxHeading = BOX_HEADING_SOCIAL_MEDIA;
      
      $corner_top_left = 'rounded';
      $corner_top_right = 'rounded';
      $corner_bottom_left = 'rounded';
      $corner_bottom_right = 'rounded'; 
      
      $boxContent_attributes = ' align="center"';
      $boxLink = '';
      $box_base_name = 'social';
      $box_id = $box_base_name . 'Box';
      
      $boxContent = '<a href="http://www.facebook.co.uk/the_rest_of_your_url" target="_blank">' . tep_image(DIR_WS_TEMPLATES . 'images/facebook.png') . '</a>&nbsp;';
      $boxContent .= '<a href="http://www.twitter.co.uk/the_rest_of_your_url" target="_blank">' . tep_image(DIR_WS_TEMPLATES . 'images/twitter.png') . '</a>&nbsp;';
      
      include (bts_select('boxes', $box_base_name));
    
      $boxContent_attributes = '';
    
    ?>
    <!-- social media eof //-->
    I dont use catalog/ in my store...dont know if this has anything to do with it?
    just cant get the image to load..
    site: decalbomb.com

  3. #3
    osCMax Development Team

    added new social media infobox but images wont show.

    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,517
    Total Contributions For

    pgmarshall     $ 35.00
    Rep Power
    77


    Default Re: added new social media infobox but images wont show.

    Have you enabled it in the infobox control page under Configuration?
    pgmarshall
    _______________________________

  4. #4
    2001kx
    Guest


    Default Re: added new social media infobox but images wont show.

    Quote Originally Posted by pgmarshall View Post
    Have you enabled it in the infobox control page under Configuration?
    yes everthing works and shows fine except the images ie facebook.png that go in the box.

  5. #5
    2001kx
    Guest


    Default Re: added new social media infobox but images wont show.

    the box loads but no image
    Attached Images Attached Images

  6. #6
    osCMax Development Team

    added new social media infobox but images wont show.

    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,517
    Total Contributions For

    pgmarshall     $ 35.00
    Rep Power
    77


    Default Re: added new social media infobox but images wont show.

    Sorry to ask the obvious - but you do have the images in {your_template}/images/facebook.png ?

    If you do, can you use Chrome and Inspect Element by right clicking on the header of the box ... post a screenshot of the code being rendered in the browser ... or post a URL to your site.

    Regards.
    pgmarshall
    _______________________________

  7. #7
    2001kx
    Guest


    Default Re: added new social media infobox but images wont show.

    Quote Originally Posted by pgmarshall View Post
    Sorry to ask the obvious - but you do have the images in {your_template}/images/facebook.png ?

    If you do, can you use Chrome and Inspect Element by right clicking on the header of the box ... post a screenshot of the code being rendered in the browser ... or post a URL to your site.

    Regards.
    Well i went into chrome to do what you asked and the images do show in chrome and IE.
    but they arent showing up in firefox?

    decalbomb :

  8. #8
    2001kx
    Guest


    Default Re: added new social media infobox but images wont show.

    Quote Originally Posted by pgmarshall View Post
    Sorry to ask the obvious - but you do have the images in {your_template}/images/facebook.png ?

    If you do, can you use Chrome and Inspect Element by right clicking on the header of the box ... post a screenshot of the code being rendered in the browser ... or post a URL to your site.

    Regards.
    Well it was an add-on in firefox (ad block) and it was blocking social media...<---

Similar Threads

  1. Zoom (click) on images show Whit Box, not show the image
    By celeroncillo in forum Bugs and Problems
    Replies: 9
    Last Post: 03-24-2012, 07:26 PM
  2. social media connect
    By tinboye in forum Custom Mods and Hacks
    Replies: 14
    Last Post: 11-21-2011, 09:08 PM
  3. [Images] remove images once they have been added
    By tcshadow in forum Store Administration
    Replies: 1
    Last Post: 08-15-2011, 07:32 AM
  4. Social media login & sharing rewards platform plugin
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-22-2011, 09:01 PM
  5. wont login in wont add to shopping cart
    By tnier in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 05-19-2010, 07:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •