Community Forums

Adding picture directly (a must for opencart)

Enter all OpenCart 1.x feature requests here. One idea per topic. Please search the forum to see if your feature has already been requested

Adding picture directly (a must for opencart)

Postby moromete » Thu Dec 30, 2010 7:21 pm

Opencart is a pretty good shopping cart script, i use it on 3 domains , and i am satisfied with it, but there is one BIG problem with opencart , you can't add images directly to a product .It's very very uncomfortable to use the image manager to add a product , and after that to search the image and add it to the product .I have a shop with over 5000 products ..and it's a pain in the ass to add new products.
Are there any extensions for adding image products directly?..or will this feature be added in the future versions ??
moromete
 
Posts: 15
Joined: Mon Nov 05, 2007 2:56 am

Re: Adding picture directly (a must for opencart)

Postby moromete » Fri Jan 07, 2011 9:49 am

I have searched all over the internet to find a solution to this problem but did not find anything.
I can't believe that nobody found a solution to this problem.
It's that hard to modify the script to add picture directly to the product ?
moromete
 
Posts: 15
Joined: Mon Nov 05, 2007 2:56 am

Re: Adding picture directly (a must for opencart)

Postby johnnet » Fri Jan 07, 2011 12:23 pm

What i would suggest is, create folders for specific product image & upload it via FTP, so your images will be more easier to locate & more organise..this is just my own personal opinion, would be glad if have better option.i hope it can be able to specify image location on the server rather than upload thru image manager & search for the alphabetical sort pictures.) e.g:[insert image] location: ../image/product1/myproductpic.jpg. Maybe could write on feature request ;)
User avatar
johnnet
 
Posts: 86
Joined: Tue Aug 17, 2010 11:06 am

Re: Adding picture directly (a must for opencart)

Postby moromete » Fri Jan 07, 2011 1:04 pm

Yes johnnet , this is how i do it now ..but it's also very time consuming if i have to add 40-50 products.
moromete
 
Posts: 15
Joined: Mon Nov 05, 2007 2:56 am

Re: Adding picture directly (a must for opencart)

Postby johnnet » Fri Jan 07, 2011 1:45 pm

i agreed with that. somemore my web server has limit of inodes. hoping some changes in the next ver.1.5.0 :D
User avatar
johnnet
 
Posts: 86
Joined: Tue Aug 17, 2010 11:06 am

Re: Adding picture directly (a must for opencart)

Postby moromete » Tue Jan 11, 2011 5:11 pm

This is a mandatory function for the next version if they want this script cart to be competitive with other paid or open source script.
moromete
 
Posts: 15
Joined: Mon Nov 05, 2007 2:56 am

Re: Adding picture directly (a must for opencart)

Postby moromete » Thu Jan 20, 2011 8:19 am

Can maybe a opencart staff member confirm that in the next version of opencart this problem will be solved?
moromete
 
Posts: 15
Joined: Mon Nov 05, 2007 2:56 am

Re: Adding picture directly (a must for opencart)

Postby gilbe » Thu Jan 27, 2011 12:48 am

I agree this has to be changed - it is not only a waste of time its also a waste of drive space on the web server. What ends up happening is someone will upload a whole CD of stock images but only use 1 or 2 from it. Would but much better to just upload as you go along
gilbe
 
Posts: 31
Joined: Wed Aug 05, 2009 3:00 pm

Re: Adding picture directly (a must for opencart)

Postby moromete » Fri Jan 28, 2011 12:10 pm

This post should be like a petition. Everyone who agree that this feature is a must for the next version/versions should add a comment.Maybe some moderators will take this in consideration.
moromete
 
Posts: 15
Joined: Mon Nov 05, 2007 2:56 am

Re: Adding picture directly (a must for opencart)

Postby gilbe » Fri Jan 28, 2011 12:15 pm

Indeed - I mean there will be some people out there that prefer it the way it is - so perhaps as a compromise the option to switch back to the old style could be added?
gilbe
 
Posts: 31
Joined: Wed Aug 05, 2009 3:00 pm

Re: Adding picture directly (a must for opencart)

Postby tiker » Fri Jan 28, 2011 8:42 pm

Just posting my vote for this.

I'm actively looking for an Open Cart type of solution for a website where the product listings are the exact product. Meaning that the catalog will have 3000 items but quantity of each item will always be 1 and when it's sold it's removed from the site. The images will never be used again for another listing.

Looking at the demo, there is no clean and easy way to do this. I would say each product gets its own directory to put images in but doing it manually with a 2 step process to add and a 2 step process to remove (product and images after sale) is too much work.
tiker
 
Posts: 4
Joined: Mon Oct 11, 2010 4:23 pm

Re: Adding picture directly (a must for opencart)

Postby moromete » Mon Jan 31, 2011 11:12 pm

gilbe wrote:Indeed - I mean there will be some people out there that prefer it the way it is - so perhaps as a compromise the option to switch back to the old style could be added?


Yes ..Gilbe is right.There should be an option to switch between the classic style (used by almost any e-commerce platform) and the actual style that is used by open cart.

Is this really so hard to implement ??
moromete
 
Posts: 15
Joined: Mon Nov 05, 2007 2:56 am

Re: Adding picture directly (a must for opencart)

Postby gustavoBRZ » Mon Jan 31, 2011 11:23 pm

moromete wrote:Opencart is a pretty good shopping cart script, i use it on 3 domains , and i am satisfied with it, but there is one BIG problem with opencart , you can't add images directly to a product .It's very very uncomfortable to use the image manager to add a product , and after that to search the image and add it to the product .I have a shop with over 5000 products ..and it's a pain in the ass to add new products.
Are there any extensions for adding image products directly?..or will this feature be added in the future versions ??

I totally agree I had to register and 300 products after a certain amount be looking for the image and stressful it would be nice to add it directly during the registration. Ideally so IN MY OPINION OF COURSE ...
have two options to add a picture during registration and the other the way that already exists.
gustavoBRZ
 
Posts: 18
Joined: Tue Jan 26, 2010 3:12 am

Re: Adding picture directly (a must for opencart)

Postby pprmkr » Tue Feb 01, 2011 8:55 am

The solution i have for this: change the input type hidden in type text ...

In: admin/view/template/catalog/product_form.tpl
Look for ( about line 151 ):
Code: Select all
          <tr>
            <td><?php echo $entry_image; ?></td>
            <td><input type="hidden" name="image" value="<?php echo $image; ?>" id="image" />
              <img src="<?php echo $preview; ?>" alt="" id="preview" class="image" onclick="image_upload('image', 'preview');" /></td>
          </tr>


Change to:
Code: Select all
          <tr>
            <td><?php echo $entry_image; ?></td>
            <td><img src="<?php echo $preview; ?>" alt="" id="preview" class="image" onclick="image_upload('image', 'preview');" />
            &nbsp;<input type="text" name="image" value="<?php echo $image; ?>" id="image" /></td>
          </tr>


Look for ( about line 835 ):
Code: Select all
   html += '<td class="left"><input type="hidden" name="product_image[' + image_row + ']" value="" id="image' + image_row + '" /><img src="<?php echo $no_image; ?>" alt="" id="preview' + image_row + '" class="image" onclick="image_upload(\'image' + image_row + '\', \'preview' + image_row + '\');" /></td>';


Change to:
Code: Select all
   html += '<td class="left"><img src="<?php echo $no_image; ?>" alt="" id="preview' + image_row + '" class="image" onclick="image_upload(\'image' + image_row + '\', \'preview' + image_row + '\');" />&nbsp;<input type="text" name="product_image[' + image_row + ']" value="" id="image' + image_row + '" /></td>';



Now you can enter the image directly into the textfield and still be able to use the image-manager.
Do'nt forget to add: data/ to the filename !
User avatar
pprmkr
 
Posts: 802
Joined: Sat Jan 08, 2011 3:05 pm

Re: Adding picture directly (a must for opencart)

Postby jaturner » Fri Apr 01, 2011 5:35 pm

Pprmkr you are now my hero. This is going to save me so much time.

Really appreciate this.
jaturner
 
Posts: 2
Joined: Thu Mar 10, 2011 3:38 pm

Re: Adding picture directly (a must for opencart)

Postby gsk » Thu Apr 07, 2011 8:08 pm

gsk
 
Posts: 29
Joined: Sun Apr 03, 2011 5:46 pm

Re: Adding picture directly (a must for opencart)

Postby sharonob » Sun Aug 14, 2011 8:03 pm

Want to add images directly and call from a path/location rather than resize using OpenCart1.5.11

I want to display products via a path (ie imagename_small.jpg, imagename_med.jpg, imagename_large.jpg(for popup), imagename_featured.jpg(completely different image for large featured box on home page).

I have added corresponding fields to the database, but don't know how to display the images by calling the path to the correct image rather than using the resizing tool for one image per product.

I'm using 1.5.1.1 and I'd love to just upload the images to their respective folders and then use the importer from there.

Would appreciate any help! :)
sharonob
 
Posts: 37
Joined: Sun Aug 14, 2011 7:45 pm

Re: Adding picture directly (a must for opencart)

Postby Qphoria » Sun Aug 14, 2011 8:09 pm

actually it used to be a direct picture only.. and people complained... so the image manager was added... and people complained...
Seems we need multiple methods here
direct
file manager
external
manual typed
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18234
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Adding picture directly (a must for opencart)

Postby sharonob » Sun Aug 14, 2011 8:13 pm

Is there any way to track down the old code? ;)
Do you know what version that would be??
Thanks and sorry to be a bother, but I'm trying to set this up for tomorrow..... :)
sharonob
 
Posts: 37
Joined: Sun Aug 14, 2011 7:45 pm

Re: Adding picture directly (a must for opencart)

Postby Qphoria » Mon Aug 15, 2011 1:09 am

1.3.2 had the old way
its on the google code page
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18234
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Next

Return to Feature Requests

Who is online

Users browsing this forum: Google Feedfetcher and 5 guests

Hosted by Arvixe Web Hosting