Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can not add pictures


Guest

Recommended Posts

I am trying to add pictures to my webstore but they dont show just a blank space.

Do i have to upload pics by ftp and then put a link where it asks for url?

Does the browse picture just choose the file e.g. house.bmp and the url let it know where the products are?

Link to comment
Share on other sites

I am trying to add pictures to my webstore but they dont show just a blank space.

Do i have to upload pics by ftp and then put a link where it asks for url?

 

This is what I do. For lots of products this is the easiest and fastest way.

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

Does the browse picture just choose the file e.g. house.bmp and the url let it know where the products are?

 

You can't just enter the URL to your pic. You have to find it on your hard drive with the browse button and then OSC will upload it to your web site. There is no other way to do it. If you just enter the URL into the space it won't enter that info into the database. That is why you are getting just a white space for the image.

Steve

-------------------------

Link to comment
Share on other sites

I am trying to add pictures to my webstore but they dont show just a blank space.

Do i have to upload pics by ftp and then put a link where it asks for url?

 

This is what I do. For lots of products this is the easiest and fastest way.

 

Sorry, Debbie, I need to read all the posts before posting. :oops: . Your way will work too. I forgot about the enter url field.

Steve

-------------------------

Link to comment
Share on other sites

Yes i did use the browse button to find the picture but the prev is blank with a red cross. Is it the format, what format should the pics be in?

Link to comment
Share on other sites

I believe that most browsers support JPG JPEG PNG BMP GIF , I think there is one or two more, but can't remember. You might try and FTP your image to the image dir and see if that fixes it. If it does, then OSC isn't uploading and that is a server setting. Then try and set the permissions of the image dir to 777. See if that helps.

Steve

-------------------------

Link to comment
Share on other sites

For some reason known only to the server gods my image directory does not function correctly when set to 777 so I don't have it set to writeable. That is part of the reason that I ftp them.

 

I would not use bmp for product images, the files are not very compressed. The best format to use is jpg for photographs and gif for line art and text images. I don't know enough about png to comment.

 

Toolman, 30 lashes with a wet noodle for giving out inaccurate info :-) I also have my images sorted into directories, and you can enter the /directory/image-name.jpg and it finds the files. It will tell you in the admin that it doesn't find the file or the upload was unsuccessful, just ignore that.

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

Toolman, 30 lashes with a wet noodle for giving out inaccurate info.  

 

Thank you, I needed that. :lol: :lol: But, it wasn't total inaccurate, just partialy. Oh, well, it's been a long day.

Steve

-------------------------

Link to comment
Share on other sites

I have set my images folder with chmod to 777.

 

When I let osCommerce upload the images they are set to 600, which prevents them from being displayed.

 

I can work around it, but am hoping for a permanent solution...

Link to comment
Share on other sites

Based on the sample structure I was expecting that images are automatically uploaded in folders that corespond to the category structure, but instead they are all placed into the same folder.

 

Is that normal?

 

If I were to create that structure myself, how would I tell it were to find the image, i.e. images/canaon/ae1.gif?

 

It seems it always looks for the images in /images/

Link to comment
Share on other sites

There is a fix somewhere on this forum, I've never read the actual post, but I've read another post stating that there was. I see you delema, it will be a pain to keep chmod you images everytime you upload them.

 

Good Luck.

Steve

-------------------------

Link to comment
Share on other sites

Based on the sample structure I was expecting that images are automatically uploaded in folders that corespond to the category structure, but instead they are all placed into the same folder.

 

Is that normal?

 

If I were to create that structure myself, how would I tell it were to find the image, i.e. images/canaon/ae1.gif?

 

It seems it always looks for the images in /images/

 

Yes it is normal. OSC by default just uploads to the image dir only, no sub folders. There is a lesson at:

 

http://wiki.oscommerce.com

 

If you want to upload to sub dir. The only way I know of, otherwise, is manually edit the database by hand.

Steve

-------------------------

Link to comment
Share on other sites

I Wouldnt mind if i could get the images on the server but the problem starts with the preview, the is a red x and no picture. So this is before i try to upload this is just the preview.

Link to comment
Share on other sites

When you upload via ftp the pics don't always show in admin, but they are there. I create subdirs and upload to them via ftp, then use easypopulate to put the locations in the database. I have several thousand images and this is the most efficient way to work for me. If I loaded them through the admin, Version OSC Diamond 2005 would be out :)

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

There is a lesson at:

 

http://wiki.oscommerce.com

 

If you want to upload to sub dir. The only way I know of, otherwise, is manually edit the database by hand.

The real lesson is at http://wiki.oscommerce.com/helpHowtoUploadImages

and shows a neat trick to do it. Just change the last "" to "/" and OSC knows what to do!

 

Of course that works best for few images...

Link to comment
Share on other sites

Above message was in reply to my earlier post about the problem with the permissions.

 

BTW: This BBS is able to support editing of posts one owns. Is this turned off globally or can I turn it on somehow?

Link to comment
Share on other sites

Above message was in reply to my earlier post about the problem with the permissions.

 

BTW: This BBS is able to support editing of posts one owns. Is this turned off globally or can I turn it on somehow?

 

It is turned off globlally. This forum is also posted to a news group.

Steve

-------------------------

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...