Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Social Bookmarks not loading image of product


Guest

Recommended Posts

Posted

Hi everyone!

 

On the product page, my social bookmarks are not displaying the images upon being clicked. I was able to get an error message when I click on Pinterest and try to share, "You need to upload an image or provide the 'image_url' parameter."

 

What should I fix about my social bookmarks?

 

http://www.The-BroomCloset.com/

 

Thanks! :)

Posted

You seem to missing a jquery reference in includes/ template_top.php

 

Standard install =

 

<link rel="stylesheet" type="text/css" href="ext/jquery/ui/redmond/jquery-ui-1.8.22.css" />

<script type="text/javascript" src="ext/jquery/jquery-1.8.0.min.js"></script>

<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.22.min.js"></script>

 

Your includes/ template_top.php =

 

</script><link rel="stylesheet" type="text/css" href="ext/jquery/ui/redmond/jquery-ui-1.8.22.css" />

<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.22.min.js"></script>

 

Regards

Joli

 

Social bookmarks look fine in Firefox and IE but in IE the page aligns to the left fix the missing jquery first

To improve is to change; to be perfect is to change often.

 

Posted

Thanks for your help so far, Joli!

 

I've updated includes/template_top.php with the

[color=#ff0000]<script type="text/javascript" src="ext/jquery/jquery-1.8.0.min.js"></script>[/color]

String, however, I'm still getting the image error. I'm also seeing this as a syntax error in my dreamweaver file:

 

<script type="text/javascript" src="ext/jquery/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.22.min.js"></script>
<script type="text/javascript">
// fix jQuery 1.8.0 and jQuery UI 1.8.22 bug with dialog buttons; http://bugs.jqueryui.com/ticket/8484
if ( $.attrFn ) { $.attrFn.text = true; }
</script>

 

It's placing the error on that final </script>. Could this be related?

 

 

Thanks! :)

Posted

I see a white space at the very top of header (2 lines which may eventually cause problems) so get rid by hitting the backspace button a few times

 

I see a missing quote alt= faqs

 

<area shape="rect" coords="121,235,200,257" href="http://www.the-broomcloset.com/catalog/services.php" alt="FAQs" title="FAQs" />

 

Can not see the image problem with social bookmarks???

To improve is to change; to be perfect is to change often.

 

Posted

Thanks again! I've repaired the missing quotes, great catch! I'm not sure I saw where the whitespace was. I did clean it up a little, but I'm sure I still missed it :)

 

The problem with the social bookmarks is when you click on one - do Pinterest, as it's the easiest to see the error on. No image will show up, and if you try to share, a dialog will pop up and say, "You need to upload an image or provide the 'image_url' parameter."

 

You can then click on any other social media, and it will still fail to load an image.

post-294794-0-07379500-1378527268_thumb.png

Posted

The social bookmark codes is part of the header tags seo install

 

http://addons.oscommerce.com/info/5851

 

I see the pin interest image code has been updated in the latest version !!

 

So would check that first and maybe update the header tags.

 

Your pop up main images appears towards the bottom of the page which is not very nice so would check / compare the product_info.php against an original file.

 

Regards

Joli

 

PS : the white spaces would be at the top of template_top.php (posssibily header.php)

 

personally do not use dreamweaver anymore to edit codes (design yes) .

 

notepad++ is better as you can be sure no hidden spaces etc.. are in the files.

To improve is to change; to be perfect is to change often.

 

  • 1 month later...
Posted

@@joli1811 Thank you very, very much! The update fixed it completely! I always hate installing the updates of Header Tags SEO, but this time, it went very smoothly and everything is working well!!

 

Thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...