Page 1 of 1

(Resolved) Image not showing when viewing product page.

Posted: Wed Jan 19, 2011 8:17 pm
by aswetzel
I am using Version 1.4.9.1
Page example here @ http://home.exetel.com.au/wetzel/openca ... uct_id=170 You will not this image will not show.

The images had been working fine up until tonight. Using the ftp uploader would just refresh files to 0777 in Image/Data & Image/Cache/Data directories. The additional images and they work fine here to @ http://home.exetel.com.au/wetzel/openca ... th=122_123

I relative new to the program, probably using it for three months.

If someone could kindly help?

Thanks

Andrew

Re: Image not showing when viewing product page.

Posted: Wed Jan 19, 2011 8:27 pm
by aswetzel
I just cut and pasted this from the error log too.

2011-01-19 11:53:58 - PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/freeweb/web/wetzel/public_html/opencart/upload/system/library/image.php on line 43
2011-01-19 11:53:58 - PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/freeweb/web/wetzel/public_html/opencart/upload/system/library/image.php on line 50
2011-01-19 11:54:20 - PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/freeweb/web/wetzel/public_html/opencart/upload/system/library/image.php on line 43
2011-01-19 11:54:20 - PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/freeweb/web/wetzel/public_html/opencart/upload/system/library/image.php on line 50
2011-01-19 11:54:38 - PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/freeweb/web/wetzel/public_html/opencart/upload/system/library/image.php on line 43

Re: Image not showing when viewing product page.

Posted: Wed Jan 19, 2011 8:37 pm
by JAY6390
This will likely be due to your permissions. Contact your host and see if they know why it isn't reading the files

Re: Image not showing when viewing product page.

Posted: Wed Jan 19, 2011 8:51 pm
by rlvision
This happened to me too this morning. I traced the problem to AdBlock. One of the filter lists has been updated to block images with "250x250" in the filename.

Hopefully the filter list will be "fixed" soon. Until then you can solve it by changing the size of images on your site.

Re: Image not showing when viewing product page.

Posted: Wed Jan 19, 2011 9:26 pm
by JAY6390
Yeah this was actually an issue a while back, all of a sudden there were loads of people with this issue. I thought it had gone away though...

Re: Image not showing when viewing product page.

Posted: Thu Jan 20, 2011 4:00 am
by aswetzel
Thanks. I just checked another browser and all okay.

Re: (Resolved) Image not showing when viewing product page.

Posted: Mon Jan 24, 2011 7:30 am
by culturejam
Same issue here. It's definitely Ad Block+ that is causing the issue.

I don't suppose we could convince the Ad Block developers not to do this?

Re: (Resolved) Image not showing when viewing product page.

Posted: Mon Jan 24, 2011 8:34 am
by Qphoria
Yea about a week or two ago this started happening with adblock on all my sites. Very annoying

Re: (Resolved) Image not showing when viewing product page.

Posted: Mon Jan 24, 2011 5:26 pm
by rlvision
culturejam wrote:I don't suppose we could convince the Ad Block developers not to do this?
Actually, it's not the developers you need to go after, but rather the maintainers of "EasyList".
JAY6390 wrote:Yeah this was actually an issue a while back, all of a sudden there were loads of people with this issue. I thought it had gone away though...
If this is a recurring problem it might be worth considering to change the naming convention of images, and remove "250x250" and similar from the filenames. Sucks, but sometimes you have to adapt to the environment...

Re: (Resolved) Image not showing when viewing product page.

Posted: Mon Jan 24, 2011 9:30 pm
by culturejam
rlvision wrote:
culturejam wrote:I don't suppose we could convince the Ad Block developers not to do this?
Actually, it's not the developers you need to go after, but rather the maintainers of "EasyList".
Ah, okay. Well then maybe the OpenCart community could send a polite mass letter to EasyList and ask them to knock it off with the 250x thing?

Re: (Resolved) Image not showing when viewing product page.

Posted: Mon Jan 24, 2011 10:32 pm
by rlvision
culturejam wrote:
rlvision wrote:
culturejam wrote:I don't suppose we could convince the Ad Block developers not to do this?
Actually, it's not the developers you need to go after, but rather the maintainers of "EasyList".
Ah, okay. Well then maybe the OpenCart community could send a polite mass letter to EasyList and ask them to knock it off with the 250x thing?
Done! :)

Re: (Resolved) Image not showing when viewing product page.

Posted: Tue Jan 25, 2011 3:33 am
by Tiger1937
SOOOOOOOOOOOO Glad someone posted this !!! Same happened to me today... All OK in other browsers, Pics won't show in FireFox.

Now OK... THANK YOU !!

Re: (Resolved) Image not showing when viewing product page.

Posted: Tue Jan 25, 2011 3:32 pm
by rlvision
Easylist responded and will remove the filter!

http://forums.lanik.us/viewtopic.php?f=64&t=7913

Re: (Resolved) Image not showing when viewing product page.

Posted: Tue Jan 25, 2011 3:44 pm
by philbydevil
Nice work!

Re: (Resolved) Image not showing when viewing product page.

Posted: Fri Jul 10, 2015 5:03 pm
by erhangazi84
thank you for this topic...