Post by Farzana » Wed Jul 08, 2015 11:38 pm

Hi all,

I am trying to upload an image for a product but I continuously see a black image in products list page for that item.

Although the detail page is displaying the image but the products page is not. Please see below

http://vaadprinting.com/index.php?route ... s=1-1#p116

The NCR-Receipt image in here.

Thanks!

New member

Posts

Joined
Tue Mar 17, 2015 11:19 pm

Post by IP_CAM » Thu Jul 09, 2015 7:43 am

Not commenting on your missing image, but after seeing such things, as shown below, on one single Page,
I assume, you still have some work to do, to get your site done according 'Web-Standards':

Code: Select all

Catalog Cover_Page_1-150x217.jpg
BMS Greeting-150x217.jpg
Pizza Da Solo Menu (1)-150x217.jpg
Bedding 85 x 55 postcard-150x217.jpg

Code: Select all

<link href="//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700" rel="stylesheet" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Raleway:400,500,700,600,800' rel='stylesheet' type='text/css'>
no offense, just information.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by agatha65 » Thu Jul 09, 2015 8:16 am

Clean your image cache and check it.
This is the wrong image in the image/cache/catalog folder
http://vaadprinting.com/image/cache/cat ... 50x217.jpg
Also you have to fix a lot of errors - check the inspect element console

Suppliers Module - XML, CSV, XLS Product Feed Import and Update
Rich Snippets | Facebook Open Graph Meta Tags | WebP Images
Image


User avatar
Active Member

Posts

Joined
Fri Mar 16, 2012 10:18 am
Location - Canada, QC

Post by Farzana » Thu Jul 09, 2015 11:00 pm

Hi,

Thank you for your responses. I did try to clear image cahce but it does not work.After refreshing several times the black image comes back.
And when I open admin to add a new image for this product I got this error. But this error also disappears after I refresh 2-3 times

Warning: imagecopyresampled() expects parameter 2 to be resource, string given in /home/vaadprinting/public_html/vqmod/vqcache/vq2-system_library_image.php on line 101Warning: imagedestroy() expects parameter 1 to be resource, string given in /home/vaadprinting/public_html/vqmod/vqcache/vq2-system_library_image.php on line 103Warning: imagecopyresampled() expects parameter 2 to be resource, string given in /home/vaadprinting/public_html/vqmod/vqcache/vq2-system_library_image.php on line 101Warning: imagedestroy() expects parameter 1 to be resource, string given in /home/vaadprinting/public_html/vqmod/vqcache/vq2-system_library_image.php on line 103Warning: imagecopyresampled() expects parameter 2 to be resource, string given in /home/vaadprinting/public_html/vqmod/vqcache/vq2-system_library_image.php on line 101Warning: imagedestroy() expects parameter 1 to be resource, string given in /home/vaadprinting/public_html/vqmod/vqcache/vq2-system_library_image.php on line 103

Actually I am not the one who developed this website. I have been given this to fix this issue. I am new to open cart,

any help is much appreciated.

Thanks!

New member

Posts

Joined
Tue Mar 17, 2015 11:19 pm

Post by qahar » Thu Jul 09, 2015 11:42 pm

Just wondering what is the type of original file? .png, .jpg or may be .gif?
If .png, does it have white block or transparent background?
What about the image size?

My prediction is the image have large size not just in dimension width and height but also file size.
When narrowed to small size image the color line is become blur and the system cannot read it so it's send black image (corrupt).
Related to your parameter 1 and 2 issue possibly related to file size is to big.

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by Farzana » Thu Jul 09, 2015 11:47 pm

Thanks everyone for your help and replies, i got it working, had to reduce the image size and it started working.

Thanks again!

New member

Posts

Joined
Tue Mar 17, 2015 11:19 pm
Who is online

Users browsing this forum: No registered users and 34 guests