Adding picture directly (a must for opencart)
23 posts
• Page 1 of 2 • 1, 2
Adding picture directly (a must for opencart)
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 ??
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)
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 ?
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)
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 

-

johnnet - Posts: 86
- Joined: Tue Aug 17, 2010 11:06 am
Re: Adding picture directly (a must for opencart)
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)
i agreed with that. somemore my web server has limit of inodes. hoping some changes in the next ver.1.5.0 

-

johnnet - Posts: 86
- Joined: Tue Aug 17, 2010 11:06 am
Re: Adding picture directly (a must for opencart)
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)
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)
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)
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)
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)
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.
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)
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)
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)
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 ):
Change to:
Look for ( about line 835 ):
Change to:
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 !
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');" />
<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 + '\');" /> <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 !
-

pprmkr - Posts: 753
- Joined: Sat Jan 08, 2011 3:05 pm
Re: Adding picture directly (a must for opencart)
Pprmkr you are now my hero. This is going to save me so much time.
Really appreciate this.
Really appreciate this.
- jaturner
- Posts: 2
- Joined: Thu Mar 10, 2011 3:38 pm
Re: Adding picture directly (a must for opencart)
You could try my solution here: http://forum.opencart.com/viewtopic.php?f=121&t=29748
- gsk
- Posts: 29
- Joined: Sun Apr 03, 2011 5:46 pm
Re: Adding picture directly (a must for opencart)
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!
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)
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
Seems we need multiple methods here
direct
file manager
external
manual typed

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

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

Re: Adding picture directly (a must for opencart)
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.....

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)
1.3.2 had the old way
its on the google code page
its on the google code page

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

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

23 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 10 guests














