Zen Cart Logo
Forums / All Other Contributions/Addons / No Image when sharing on Facebook

No Image when sharing on Facebook

Views: 13,924

Results 21 to 40 of 43
19 Feb 2010, 11:33 PM
#21
unicorn avatar

unicorn

Zen Follower

Join Date:
Sep 2008
Posts:
107
Plugin Contributions:
0

No Image when sharing on Facebook

sobebabies:

Well I've been struggling with this issue as well but someone gently suggested to me that I move my shop to root and it did indeed fix this issue. I am so happy and so grateful!

And I just moved it from a subfolder (where it worked), to root (where it doesn't)... :no:

5 Mar 2010, 11:43 AM
#22
yd29999 avatar

yd29999

Zen Follower

Join Date:
Jan 2006
Posts:
120
Plugin Contributions:
0

Re: No Image when sharing on Facebook

Could it possible be an image protection or hot linking issue?

The reason I'm saying this is because I recall talking with our hosting tech a couple weeks ago. He mentioned that we have the images protected. Then we recently had our store hooked up with a shopping comparison site, but our images do not show up.

The problem now is that for the life of me I can't remember what it is actually called. I looked around in the admin and c-panel and nothing rings a bell. I don't even know what to look for. I will contact our hosting company to find the answer. Searching the forums for something I don't know what it's called is to time consuming.

I just thought I would mention this to possible help you guys from needless changing files/folders if it's just a simple click fix.

16 Mar 2010, 4:57 AM
#23
wcironsales avatar

wcironsales

New Zenner

Join Date:
Sep 2005
Location:
Gladstone, Oregon
Posts:
40
Plugin Contributions:
0

Re: No Image when sharing on Facebook

I am also have the problem and have found a close fix but not complete for my system.

Im using:
Zen Cart 1.3.8a
Image Handler 2

The partial fix I found here in the forums is post #2 in thread Facebook Images Meta Tag vs AddThis View Single Post

It works if I use only this one line of code (may need altered for your shop if not in a subfolder:

<link rel="image_src" href="<?php echo "http://" . $_SERVER['HTTP_HOST'] . "/shop/" . $products_image_medium; ?>"/>
``` Placed where post #[2](http://www.zen-cart.com/forum/showpost.php?p=792915&postcount=2) says to post it in file:
**templates/your_template/templates/tpl_product_info_display.php **
under text in file:
**<!--eof Product description -->**

If I placed an image into the /images/medium/trucks folder it works. Since Image Handler 2 does not use the medium or large folder for images this fix is not a real fix for the problem.

I am now considering moving the store to a the root folder rather then the subfolder it is in. Seem the zen cart pro's recommend it.

Good luck to you
16 Mar 2010, 6:35 AM
#24
wcironsales avatar

wcironsales

New Zenner

Join Date:
Sep 2005
Location:
Gladstone, Oregon
Posts:
40
Plugin Contributions:
0

Re: No Image when sharing on Facebook

UPDATE & help still needed: I am also have the problem and have found a close fix but not complete for my system.

Im using:
Zen Cart 1.3.8a
Image Handler 2

I just moved the store from subfolder to root and now I get my websites logo images for facebook. The product image is still not working. Can you please assist me with this?

Logo is better then nothing but I would prefer the product image.

http://wcironsales.com

28 Apr 2010, 5:25 AM
#25
trisha1581 avatar

trisha1581

New Zenner

Join Date:
Jan 2007
Posts:
66
Plugin Contributions:
0

Re: No Image when sharing on Facebook

Has anyone ever figured out why Facebook does not recognize the Zen images???

17 May 2010, 9:06 PM
#26
jocezilla avatar

jocezilla

New Zenner

Join Date:
May 2009
Posts:
14
Plugin Contributions:
0

Re: No Image when sharing on Facebook

I have been having the same problem. My client's store is NOT in the root directory.

I found when I copied all the product images to a new /images folder in the root directory, this solved the problem. Facebook now finds the product thumbnails when clicked via Share This on the product page (they have the Share This in a box on the left nav bar). :clap:

26 May 2010, 10:49 PM
#27
chiquititos avatar

chiquititos

New Zenner

Join Date:
Mar 2010
Posts:
1
Plugin Contributions:
0

Re: No Image when sharing on Facebook

I had this same problem and YES my store is on a subdirectory, but I found an easy solution.

What I do now is that I upload the product image directly to /images using my ftp, and then I put the file name on the listing instead of uploading it directly from the uploader. When I do that, the image shows up on facebook. Apparently Facebook only finds images on the /image folder on the root folder.

Hope that helps someone :)

27 May 2010, 10:56 PM
#28
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: No Image when sharing on Facebook

Try taking a look at our post in http://www.zen-cart.com/forum/showthread.php?t=153316

Hopefully that will help

10 Aug 2010, 7:03 PM
#29
xxdrag0nxx avatar

xxdrag0nxx

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: No Image when sharing on Facebook

wcironsales:

UPDATE & help still needed: I am also have the problem and have found a close fix but not complete for my system.

Im using:
Zen Cart 1.3.8a
Image Handler 2

I just moved the store from subfolder to root and now I get my websites logo images for facebook. The product image is still not working. Can you please assist me with this?

Logo is better then nothing but I would prefer the product image.

http://wcironsales.com

This have nothing to do with root folder, its simply because we are using Image Handler 2

We cannot use . $products_image_medium

We need to find the code to pull out the link of cached image instead :(

Tried for 48 hours... surrendered :(

11 Aug 2010, 6:47 AM
#30
jeka77 avatar

jeka77

New Zenner

Join Date:
Feb 2009
Posts:
1
Plugin Contributions:
0

Re: No Image when sharing on Facebook

I have ImageHandler and zen-Lightbox installed and my zencart is in catalog /store/

I use this code:

<link rel="image_src" href="<?php echo "http://" . $_SERVER['HTTP_HOST'] . "/store/images/" . $products_image; ?>"/>

In this case facebook catches the main product image, but not additional images.

11 Aug 2010, 4:14 PM
#31
xxdrag0nxx avatar

xxdrag0nxx

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: No Image when sharing on Facebook

Jeka77:

I have ImageHandler and zen-Lightbox installed and my zencart is in catalog /store/

I use this code:

<link rel="image_src" href="<?php echo "http://" . $_SERVER['HTTP_HOST'] . "/store/images/" . $products_image; ?>"/> ``` > > In this case facebook catches the main product image, but not additional images.

YES YES Finally someone who knows what I mean :D

Now I am playing around with the metta tags but no success as well, it still doesnt pull the cached image :(

17 Oct 2010, 8:21 AM
#32
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Re: No Image when sharing on Facebook

Jeka77:

I have ImageHandler and zen-Lightbox installed and my zencart is in catalog /store/

I use this code:

<link rel="image_src" href="<?php echo "http://" . $_SERVER['HTTP_HOST'] . "/store/images/" . $products_image; ?>"/> ``` > > In this case facebook catches the main product image, but not additional images.

I'm having problems with my images displaying as well.

Where do you put that code?

Thank you.

31 Dec 2010, 4:04 AM
#34
sharx avatar

sharx

New Zenner

Join Date:
Feb 2007
Posts:
29
Plugin Contributions:
0

Re: No Image when sharing on Facebook

Has anyone found a solution?

I looked at TraderDan's web shop and it looks like he has fixed the problem.

31 Dec 2010, 5:14 AM
#35
wcironsales avatar

wcironsales

New Zenner

Join Date:
Sep 2005
Location:
Gladstone, Oregon
Posts:
40
Plugin Contributions:
0

Re: No Image when sharing on Facebook

Works fine if your store is in the root folder. It would be nice if a fix would become available for those that want their store in a /store/ folder.

9 Feb 2011, 11:18 PM
#36
weirdorecords avatar

weirdorecords

New Zenner

Join Date:
May 2010
Posts:
72
Plugin Contributions:
0

Re: No Image when sharing on Facebook

I recently ran across this same problem.

Looked into the coding suggested for tpl_product_info_display.php, but it won't work, as I'm using a 3rd party javascript to get the facebook button on my pages.

So, I created an /images folder in my root directory. I copied over the entire contents of store/images, and now the facebook button functions with images. Only problem is how to keep the root's folder updated. For that I set up a background ftp-transfer standalone application on my desktop (I have to use one of these for a different aspect of the store anyhow).

Every day, when I add new products, I upload an image for each by way of the admin, and then I let them all sit overnight. In the middle of the night, they are ftp'd to the folder in the root directory automatically.

Not elegant, but it'll do.

12 May 2011, 7:43 PM
#37
vanessac avatar

vanessac

New Zenner

Join Date:
Jan 2011
Posts:
18
Plugin Contributions:
0

Re: No Image when sharing on Facebook

We are using ver 1.3.9 and having the same problem of not seeing an image when we try to share with Facebook. The website is hosted in the root directory and the images are directly in the images folder.
It's http://madamecorzettes.com
It works fine for the product pages but not the home page.
Is there something I am missing to fix the coding for the home page?
Thanks!
Vanessa

12 Aug 2012, 10:48 AM
#38
phil020782 avatar

phil020782

Zen Follower

Join Date:
Jul 2007
Posts:
158
Plugin Contributions:
0

Re: No Image when sharing on Facebook

Just wondering if anyone ever solved this issue, I am having the same difficulty on a new site using zen version 1.5.0 my store is in the root directory and I have image handler 4 installed. When I click on the facebook like button it adds the status to my wall but has no picture, no title and no description just the link.

Can anyone offer a solution to this problem?

Thanks

4 Oct 2012, 12:20 PM
#39
serious avatar

serious

Totally Zenned

Join Date:
Feb 2011
Posts:
686
Plugin Contributions:
0

Re: No Image when sharing on Facebook

Same problem as Phil020782...

So a bump for some assistance.

18 Nov 2012, 6:13 AM
#40
jasperandjax avatar

jasperandjax

New Zenner

Join Date:
Mar 2012
Posts:
14
Plugin Contributions:
0

Re: No Image when sharing on Facebook

I have zen cart v1.5 and IH4 and am having the same issue as well... Well actually it sort of varies.. sometimes I get no image pulled over at all for the FB share and sometimes I get a random image out of the catalog...

Does anyone know if this is a coding issue, on IH4 issue or a FB share issue so I might be able to figure out where to start looking. (granted I have zilch for coding skills and just google everything and trial and error till I get it figured out)