News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[WORKAROUND] Thumbnails not showing virtuemart 1.1.2 with joomla 1.5.8

Started by xmcorporation, November 22, 2008, 04:24:24 AM

Previous topic - Next topic

xmcorporation

Hello all

I've seen this reported earlier but I'm coming forward now with this problem since I've made a fresh joomla 1.5.8 install and also a fresh virtuemart 1.1.2

Since both are fresh installs therefore the "bug" of not showing thumbnails can not be caused by some bad upgrade or whatever...

Nothing was done after both fresh installs and I hope you can realy get this fixed since it's a major problem for me. I have several clients stoped because of this.

On firefox thumbnails donĀ“t show and on IE a square with a red cross appears


xmcorporation

SOLUTION: As someone suggested on this forum, I used the URL field (optional) for the thumbnail image and now it works, BUT I stll consider this a very annoying bug since we have to manually create and upload the thumbs for this to work  >:(

Joss

This should NOT be marked as solved. Having to paste the URLs for all images in not a solution.

Currently we have no product images showing in either the front or backend of the site and we are losing revenue.

Also, I notice that our button images are also missing. I have reuploaded the virtumart files from my backup, but it is still not working. We are on a secure server across the whole site

Very desperate for help as this is affecting the reputation of the company.


Site is https://www.preyuk.com


Note: the SSL certificate was reinstalled a few weeks back

xmcorporation

Quote from: Joss on November 29, 2008, 15:09:16 PM
This should NOT be marked as solved. Having to paste the URLs for all images in not a solution.
Currently we have no product images showing in either the front or backend of the site and we are losing revenue.
Also, I notice that our button images are also missing. I have reuploaded the virtumart files from my backup, but it is still not working. We are on a secure server across the whole site
Very desperate for help as this is affecting the reputation of the company.
Site is https://www.preyuk.com
Note: the SSL certificate was reinstalled a few weeks back

I agree... it is not a solution it's a workaround, at least until the programmers aknowledge this problem.

Still... I clicked your link and I can see all the product images correctly (thumbnails and full images), I assume you used the workaround.

P.S: I've changed the title of this post from SOLVED to WORKAROUND

Joss

no, sadly I thought I had solved it - but I hadn't

I rebuilt and reinstalled the site and it worked. Unfortunately, I hadn't changed the config from my test server and it was getting the images from there! When I set the site correctly it stopped working again.

Is your site on a secure server? I am wondering whether that is a problem

xmcorporation

You're right, I just checked your site again and It's not showing the thumbnails, although the full images are showing nice...

Ok, let's try to identify the problem by going step by step:

1st - Let's take product Cowshed Bullocks pocket set as case study

2nd - Open above link with Internet Explorer and note the red cross (image missing)

3rd - Open above link with FireFox and note that no thumbnail is showing, instead a text link appears

4th - Right click that text link and choose SHOW IMAGE (I got this link https://www.preyuk.com/components/com_virtuemart/show_image_in_imgtag.php?filename=resized%2FCowshed_Bullocks_48f9b99a93e4c_180x180.jpg&newxsize=180&newysize=180&fileout= )

5th - Note that a 500 INTERNAL SERVER ERROR occurs !!!!!

CONCLUSION: I'm guessing some problem with the .htaccess file on that dir, try to temporarely rename it to BAK or something and see if it works.... also set shop images dir to 777 as suggested elsewere on this forum (not worked for me because the problem was really the thumbnail not having full http path to it).

I'm not using https on my site, but when I right click my thumbnails on my FireFox and choose SHOW IMAGE a complete path with http://www.blabla.com/blablabla/../x.jpg appears so double check your product page inside Virtuemart and see if "URL: (Optional)"  right side field (thumbnail) is really beeing used.

P.S: In my case I worked on a local server apache install (xampp) before I upload the complete virtuemart product database to the web server. I used CSV Improved (on legacy mode).
CSV Import can do import and export to csv files. So I built the Virtuemart product database and everything was fine, so I exported a product .csv file, and imported it to the web server, result: No thumbnails!

Then I manually edited a product on the web site and choose URL: (Optional) and gave full path to the thumbnail on the web server, generated a export csv. file and downloaded to my PC, opened with SCalc (OpenOffice) and VOILA!!! The product that I've manually edited online retained the full htpp path while all the others simply had filename.jpg

So all I had to do was add the full http path to all the others (easy to do with any spreadsheet, and a lot safer than messing around with MyPHPadmin at least for me), save it, and re-import this .csv file on the web server and after that FINALLY ALL THUMBNAILS DISPLAYED CORRECT!!!

You should also try the next following procedure before trying the stated above.

100% FULLPROOF TEST to display full and thumbnail product images on web server:
1 - Create a full product image on your local computer (ex: fullimage.jpg)
2 - Create a thumbnail product image on your local computer (ex: thumnbail.jpg)
3 - Upload both images into http://www.yourwebsite.com/components/com_virtuemart/shop_image/product via FTP
4 - Open your browser and write http://www.yourwebsite.com/components/com_virtuemart/shop_image/fullimage.jpg (see if it shows on different browsers)
5 - Open your browser and write http://www.yourwebsite.com/components/com_virtuemart/shop_image/thumnbail.jpg (see if it shows on different browsers)


Until both images are not showing correctly, you should check and correct any web server settings necessary!!! Only after both images are showing ok, you can proceed to the database thumbnail full path correction procedure!

Hope all this really helps at least identifying the problem, cause my friend I know the feeling of might loosing a client for this... I' been there also  :(

Joss

Okay - solved it

This site is on a virtual using Cpanel. We could not manage to get the ftp layer working so followed the joomla instructions of setting certain directories to 0777.

However, something must have changed on the server set up and this now caused the problems

Changing the Components directory to 755 solved the problem

I will also post this on the other related thread

natchang

I'm also having this problem when I use sub folders, the workaround does work for me but here is what I get from the subfolders:

Setting thumbs to resized/subfolder, and full to product/subfolder;

I can see the full and thumb image in my backend but only the full image in the frontend with the alt text displayed for the thumbs.

This is all through CSVI where using the default folders works fine but adding a subfolder to the file location seems to break it in the frontend, tried most of the other fixes but nothing seems to work.


sapomuerto

Thank you Joss!!!

I had the same problem, I was looking for an answer for the last weeks. Changing the componensts directory ato 755 solved the problem. Thank you so much!!!

AndyNZL

One of the things to be careful of with virtuemart 1.1.3 is that the file manager cannot create a thumbnail for a "xxx.jpeg" image. It can create one for the main image, just not any additional images added via the file manager. Simply rename them "xxx.jpg". :-)

ginoyoong

IT TOTALLY DRIVE ME CRAZY! However, thanks for the fantastic help! Joss!

jawatech411

GoDaddy Linux Hosting
PHP 5.0
Joomla Version 1.5.10 (CLEAN INSTALL)
Virtuemart 1.1.3 (CLEAN INSTALL)
Default Category Template           
Default FLYPAGE


I am having the same problem with thumbnail images not showing however Changing the Components directory to 755 did NOT fix the problem. I tried using this workaround method of just adding the image URL to the URL field (optional)and it worked for one product but when i added a second product using the same method neither thumbnails would show. Also I would like to clarify that when I click on the product title to bring up the full item description the thumbnails show up there, The issue is rather in the catalog browse page table layouts.

See for yourself:

http://screenedimagesinc.com


Has anyone come up with a real solution for this yet?
It's kind of a big deal for thumbnails to work properly.

I have looked everywhere in this forum and found nothing that works. :-[

sitebuildernow

Quote from: AndyNZL on February 15, 2009, 23:10:48 PM
One of the things to be careful of with virtuemart 1.1.3 is that the file manager cannot create a thumbnail for a "xxx.jpeg" image. It can create one for the main image, just not any additional images added via the file manager. Simply rename them "xxx.jpg". :-)

Thank you!!! Thank You!! I am going to start a new post for this issue because it took me hours to resolve and  your post solved it - the rest of this particular thread did not address this issue.
Coburn Enterprises
"Better Everything"
Website Developer / SEO and SEM Expert
Joomla! and Virtuemart (current versions always)

hyunikel

hi everybody,
I have the same problem (not being able to see products thumbnails displayed on frontend) and I read the solutions you suggested but I couldn't fix my problem. Some of the solutions I couldn't understand them.

Like the following quote posted by Joss:" This site is on a virtual using Cpanel. We could not manage to get the ftp layer working so followed the joomla instructions of setting certain directories to 0777.

However, something must have changed on the server set up and this now caused the problems

Changing the Components directory to 755 solved the problem "

thank you in advance.

doomed

Quote from: hyunikel on May 23, 2009, 19:19:11 PM
hi everybody,
I have the same problem (not being able to see products thumbnails displayed on frontend) and I read the solutions you suggested but I couldn't fix my problem. Some of the solutions I couldn't understand them.


hyunikel, according to Joss, you would need to change the attributes of the Components folder to 777.
Thats done with the chmod command, see if your FTP program does that (it probably does).