Images Not Being Added
15 posts
• Page 1 of 1
Images Not Being Added
Images do not display when I try to upload them. 
Also, how do you make the image full size or a large thumbnail on the product's page?
Thanks.

Also, how do you make the image full size or a large thumbnail on the product's page?
Thanks.
- Andrew_M
- Posts: 31
- Joined: Fri Jan 02, 2009 5:38 pm
Re: Images Not Being Added
Does following this FAQ help: http://forum.opencart.com/index.php/topic,2626.0.html ?
The image thumbnail size is set on the 'image' tab of Admin->Configuration->Setting
The image thumbnail size is set on the 'image' tab of Admin->Configuration->Setting

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18197
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Images Not Being Added
Qphoria wrote:Does following this FAQ help: http://forum.opencart.com/index.php/topic,2626.0.html ?
The image thumbnail size is set on the 'image' tab of Admin->Configuration->Setting
If the image is bigger than the 100x100 default, will it just not display?
Doesn't it automatically re-size it?
The permissions of the /images and /images/cache are both 755.
Please help. Thanks.
- Andrew_M
- Posts: 31
- Joined: Fri Jan 02, 2009 5:38 pm
Re: Images Not Being Added
Andrew_M wrote:If the image is bigger than the 100x100 default, will it just not display?
The image will be resized to the size you set in the admin. If the image is larger than the size you set, it will be reduced to that size.
Permissions on /image and /image/cache should be set to 777. You will also need to address this issue http://forum.opencart.com/index.php/topic,2510.msg12993.html#msg12993 in /library/filesystem/upload.php.

If you're not living on the edge ... you're taking up too much space!
Multi-Vendor Plugin for OpenCart 1.5.1.x
Have I helped you?
-

fido-x - Posts: 1960
- Joined: Fri Jun 27, 2008 5:09 pm
- Location: Tasmania, Australia
Re: Images Not Being Added
fido-x wrote:Permissions on /image and /image/cache should be set to 777.
Many hosts won't allow 777. I think 755 should be as high as anyone needs to go

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18197
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Images Not Being Added
The images still are not displaying.
They are uploaded though because I can see them in the /image directory.
I set the permissions to 777 but I'm still not seeing the images.
Help?
Thanks.
They are uploaded though because I can see them in the /image directory.
I set the permissions to 777 but I'm still not seeing the images.
Help?
Thanks.
- Andrew_M
- Posts: 31
- Joined: Fri Jan 02, 2009 5:38 pm
Re: Images Not Being Added
Where are you not seeing them?
When you insert them in the Image area of the admin panel, do you see the new image in the list with a little thumbnail?
if yes....
When you add a new product and select the image from the dropdown, do you see a little thumbnail there?
if yes....
Do you see them on the store front in the product page?
When you insert them in the Image area of the admin panel, do you see the new image in the list with a little thumbnail?
if yes....
When you add a new product and select the image from the dropdown, do you see a little thumbnail there?
if yes....
Do you see them on the store front in the product page?

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18197
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Images Not Being Added
Qphoria wrote:When you insert them in the Image area of the admin panel, do you see the new image in the list with a little thumbnail?
No.
Qphoria wrote:When you add a new product and select the image from the dropdown, do you see a little thumbnail there?
No.
Qphoria wrote:Do you see them on the store front in the product page?
No.
- Andrew_M
- Posts: 31
- Joined: Fri Jan 02, 2009 5:38 pm
Re: Images Not Being Added
fido-x wrote:Permissions on /image and /image/cache should be set to 777. You will also need to address this issue http://forum.opencart.com/index.php/topic,2510.msg12993.html#msg12993 in /library/filesystem/upload.php.
The save function in the aforementioned file has a problem in that it doesn't set permissions on the uploaded image file correctly. Follow the link and make the necessary changes.

If you're not living on the edge ... you're taking up too much space!
Multi-Vendor Plugin for OpenCart 1.5.1.x
Have I helped you?
-

fido-x - Posts: 1960
- Joined: Fri Jun 27, 2008 5:09 pm
- Location: Tasmania, Australia
Re: Images Not Being Added
Anyone know why when I add an image it is not being added? The only way I can add the image is to first add it to the cart as it is normally done, then save the image to a file on my PC and then copy the image into the image folder.
Thanks,
Sam
Thanks,
Sam
- shughey
- Posts: 45
- Joined: Sun Oct 26, 2008 4:02 pm
Re: Images Not Being Added
Give the fix that fido-x points to a try. This has been addressed in the next RC version (6), scheduled for release tonight

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18197
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Images Not Being Added
fido-x wrote:fido-x wrote:Permissions on /image and /image/cache should be set to 777. You will also need to address this issue http://forum.opencart.com/index.php/topic,2510.msg12993.html#msg12993 in /library/filesystem/upload.php.
The save function in the aforementioned file has a problem in that it doesn't set permissions on the uploaded image file correctly. Follow the link and make the necessary changes.
I'm a little confused about this. Are you stating the following:
function save($key, $file) {
if (file_exists($file)) @unlink($file);
$status=@copy($_FILES[$key]['tmp_name'], $file);
if ($status) @unlink($_FILES[$key]['tmp_name']);
return $status;
}
should be changed to this:
function save($key, $file)
{
if (file_exists($file))
{
@unlink($file);
}
$status = @copy($_FILES[$key]['tmp_name'], $file);
if ($status)
{
@chmod($file, 0644);
@unlink($_FILES[$key]['tmp_name']);
}
return $status;
}
Thanks,
Sam
- shughey
- Posts: 45
- Joined: Sun Oct 26, 2008 4:02 pm
Re: Images Not Being Added
Yea try that

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18197
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Images Not Being Added
Qphoria wrote:Yea try that
That worked.
Thanks,
Sam
- shughey
- Posts: 45
- Joined: Sun Oct 26, 2008 4:02 pm
-

hm2k - Global Moderator
- Posts: 583
- Joined: Tue Mar 11, 2008 1:06 am
- Location: UK
15 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest













