Fwd: Automation of Image Addition to Product Context

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Automation of Image Addition to Product Context

Chris Clark
Im currently in the process of setting up a store with appox 2K items, I
have totally automated the addition of these and many more items into the
product list, categories, rollups, category members, prices, etc etc
through the xml data file install through the command prompt.  I am pretty
proficient in bash and the like and am racking my brain on how to just get
Image installed, and converted to all the sub size images and included in
the product list.  I tried to curl post the data, but im doing something
wrong, and i was even set on just resizing with image majik and xml data
file installing into the products... apparently imagemajik doesnt like any
of my jpgs, and I have even more photos than i do items.. approx 5K  I
really do not want to be making 5K clicks to bring in the photos, and help
would be appreciated

Chris
Reply | Threaded
Open this post in threaded view
|

Re: Automation of Image Addition to Product Context

Rishi Solanki
Chris,
Checkout the image patch created by system and data, it will put all the
images in a specific path in ofbiz directory structure. Create xml data
accordingly for other products and put image manually in OFBiz directory
structure in the same fashion.

Current structure is something like this - /images/products/GZ-1000/*.png


Another option is to add separate custom service which does all for you ...
not available ootb I think.


--
Rishi Solanki
Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com

On Thu, Apr 2, 2015 at 3:10 AM, Chris Clark <[hidden email]> wrote:

> Im currently in the process of setting up a store with appox 2K items, I
> have totally automated the addition of these and many more items into the
> product list, categories, rollups, category members, prices, etc etc
> through the xml data file install through the command prompt.  I am pretty
> proficient in bash and the like and am racking my brain on how to just get
> Image installed, and converted to all the sub size images and included in
> the product list.  I tried to curl post the data, but im doing something
> wrong, and i was even set on just resizing with image majik and xml data
> file installing into the products... apparently imagemajik doesnt like any
> of my jpgs, and I have even more photos than i do items.. approx 5K  I
> really do not want to be making 5K clicks to bring in the photos, and help
> would be appreciated
>
> Chris
>
Reply | Threaded
Open this post in threaded view
|

Re: Automation of Image Addition to Product Context

Rishi Solanki
In line ....

Rishi Solanki
Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com


On Thu, Apr 2, 2015 at 5:10 PM, Rishi Solanki <[hidden email]>
wrote:

> Chris,
> Checkout the image patch created by system and data, it will put all the
> images in a specific path in ofbiz directory structure. Create
>

image path*


> xml data accordingly for other products and put image manually in OFBiz
> directory structure in the same fashion.
>
> Current structure is something like this - /images/products/GZ-1000/*.png
>
>
> Another option is to add separate custom service which does all for you
> ... not available ootb I think.
>
>
> --
> Rishi Solanki
> Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
>
> On Thu, Apr 2, 2015 at 3:10 AM, Chris Clark <[hidden email]> wrote:
>
>> Im currently in the process of setting up a store with appox 2K items, I
>> have totally automated the addition of these and many more items into the
>> product list, categories, rollups, category members, prices, etc etc
>> through the xml data file install through the command prompt.  I am pretty
>> proficient in bash and the like and am racking my brain on how to just get
>> Image installed, and converted to all the sub size images and included in
>> the product list.  I tried to curl post the data, but im doing something
>> wrong, and i was even set on just resizing with image majik and xml data
>> file installing into the products... apparently imagemajik doesnt like any
>> of my jpgs, and I have even more photos than i do items.. approx 5K  I
>> really do not want to be making 5K clicks to bring in the photos, and help
>> would be appreciated
>>
>> Chris
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Automation of Image Addition to Product Context

Jacques Le Roux
Administrator
There are though some tools to resize the image, see from http://demo-trunk-ofbiz.apache.org/catalog/control/Imagemanagement

Jacques

Le 02/04/2015 13:41, Rishi Solanki a écrit :
> >Another option is to add separate custom service which does all for you
> >... not available ootb I think.
> >
> >
> >--
> >Rishi Solanki
Reply | Threaded
Open this post in threaded view
|

Re: Automation of Image Addition to Product Context

Chris Clark
yeah i have already noticed the image placement and its enunciation, and if
i could just get imagemajick to work this would probably be no sweat...
 because the way i have my scripting setup now i import all the part #s
from txt, then based on the directory structure of where i have the
parts(which also houses an ext price management db i gave built),i build
the five main xml import files, i install those through load-data, and for
the part#s i have pictures which are named the same as productid (many part
numbers i dont have stock or pix) i just link into the product xml that i
load.  i would just much rather have them internalized into ofbiz so i can
have the various resolutions.  im just really not looking forward to having
to learn java

i have noticed the imagemanagement but again that is all javascript and im
not sure how to run that through a shell, this program is highly dependant
on gui and i would like to automate all this so i can just set up a small
csv and run an install script to bring current inventory and future
inventory in with ease.. this is only day three and im sure it will hit me
like a bag of bricks

chris

On Thu, Apr 2, 2015 at 7:46 AM, Jacques Le Roux <
[hidden email]> wrote:

> There are though some tools to resize the image, see from
> http://demo-trunk-ofbiz.apache.org/catalog/control/Imagemanagement
>
> Jacques
>
>
> Le 02/04/2015 13:41, Rishi Solanki a écrit :
>
>> >Another option is to add separate custom service which does all for you
>> >... not available ootb I think.
>> >
>> >
>> >--
>> >Rishi Solanki
>>
>