Author Topic: Unable to Show my images  (Read 17719 times)

solvemyproblems

  • Beginner
  • *
  • Posts: 30
Re: Unable to Show my images
« Reply #15 on: May 05, 2008, 23:31:08 pm »
Actually i am using Easy php1.8. so when u start easyphp u will get a small icon of easyphp, then click right on it and follow the process above.There r many other ways(may be ). but for me it works like this.

It depends on wat logiciel u r using , WAMP or LAMP or EASYPHP or .............manymore.

It will be the solution for the one who is using easyphp1.8

Cheersssssss

jcnegron

  • Beginner
  • *
  • Posts: 2
Re: Unable to Show my images
« Reply #16 on: May 08, 2008, 01:52:31 am »
I had the same problem and none of the above solutions solved my problem. i checked if my GD library was on in Joomla going to
Joomla/help/systemInfo/php settings and look for GD2 and it said it was ON, so the above solution didn't apply either.

For some reason all my thumbnails in the folder /components/com_virtuemart/shop_image/product/resized/ had 0 length
Reconstructing some of the thumbnails have solved some of my problems, but for some reason I can only reconstruct some of the default images inside Virtuemart and not my product images...

vmnoob

  • Beginner
  • *
  • Posts: 18
Re: Unable to Show my images
« Reply #17 on: May 09, 2008, 07:04:45 am »
Same problem. Win XP, Apache.

This one - default picture of Hand shovel. I enter this adress and get picture in browser.
Code: [Select]
<img src="http://127.0.0.1/joomla/components/com_virtuemart/show_image_in_imgtag.php?filename=8d886c5855770cc01a3b8a2db57f6600.jpg&amp;newxsize=90&amp;newysize=90&amp;fileout=" height="67" width="90" alt="Hand Shovel" border="0" />

This one is for my new product.
Code: [Select]
<img src="http://127.0.0.1/joomla/components/com_virtuemart/show_image_in_imgtag.php?filename=_________001_4823d2fd09636.jpg&amp;newxsize=90&amp;newysize=90&amp;fileout=" alt="mphk-001" border="0" />As soon as enter this path, I get:
Quote
Fatal error: Call to undefined function imagecreatefromjpeg() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\joomla\administrator\components\com_virtuemart\classes\class.img2thumb.php on line 151


I found such code nearby (135 line):
Code: [Select]
case "gif":
// unfortunately this function does not work on windows
// via the precompiled php installation :(
// it should work on all other systems however.
if( function_exists("imagecreatefromgif") )
...
I've tried jpg and png, all the same. It seems "imagecreatefromjpeg" and "imagecreatefrompng" has same problem.
So, upload and try on server?

vmnoob

  • Beginner
  • *
  • Posts: 18
Re: Unable to Show my images
« Reply #18 on: May 09, 2008, 08:30:10 am »
Modified installation of PHP, installed GD extension. It's working!

Xenonspesialisten

  • Beginner
  • *
  • Posts: 13
Re: Unable to Show my images
« Reply #19 on: May 09, 2008, 17:39:24 pm »
Modified installation of PHP, installed GD extension. It's working!
Please explain :)

solvemyproblems

  • Beginner
  • *
  • Posts: 30
Re: Unable to Show my images
« Reply #20 on: May 13, 2008, 14:41:29 pm »
I can Explain:( i ll tell u what i have done to enable images)

if u r using Easy php:
1: when u start easyphp u will get a small icon right-down of ur monitor(beside date n time)
2: Right click on icon of easyphp ==>Configuration==>Extensions php==>click GD2(enable)

GD2 is a php library extension, it helps u to enable all ur images used in php.

Hope my explaination is clear :)
Thats all dude,(i told u what ever i know)


Best of luck!