Jump to content

[SOLVED]Inserting Images in Colorbox


xxmayankxx

Recommended Posts

Hi Mayank,

 

Try this:

Add at the end of the the file: /themes/<your theme folder>/css/global.css

 

#color_3 { background url(http://hdmc.in/prest...rge_default.jpg); background-size: 100px; }

#color_4 { background url(http://hdmc.in/prest...rge_default.jpg); background-size: 100px; }

#color_5 { background url(http://hdmc.in/prest...rge_default.jpg); background-size: 100px; }

 

(Change picture as desired :-)

 

 

Hope this does the trick,

pascal

Link to comment
Share on other sites

Here is the link of what I added: http://hdmc.in/presta/index.php?id_product=9&controller=product

 

Basicallly, now customers will have an option to choose between various themes of a tshirt.

 

After adding thumbnail as a pattern in colorbox, I had to make small modification in product.tpl file, I had to change the image size in product.tpl to my desired size.

 

Thanks a lot perfumeskunk & PascalVG!

 

Regards,

Mayank

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...