Zen Cart Logo
Forums / Customization from the Admin / Adding Pictures with Product Description

Adding Pictures with Product Description

Views: 4,036

Results 1 to 9 of 9
20 Oct 2011, 6:00 PM
#1
kmorganics avatar

kmorganics

New Zenner

Join Date:
Oct 2011
Posts:
7
Plugin Contributions:
0

Adding Pictures with Product Description

Hello,
I am using the latest version of Zen Cart. I would like to know if there is a way to add pictures in with the product description through Admin...Catagories/Products- New Product. I want to include a picture of the Nutrients like you find on a food package, along with the description of the product. I have these downloaded on my computer and am not sure how to include them in the box with the product description. Do I need to do this via html programming? I haven't found a way to insert a picture in description box. I have checked the FQA and the forums...haven't found anything to help...Does anyone know?
Thanks..

20 Oct 2011, 6:13 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Adding Pictures with Product Description

Yes, you would use HTML <img> tags to include pictures in your product description. If you have an HTML editor active, that may have an "insert picture" feature; otherwise, save your image in the base /images/ folder and put something like this in your description:

<img src="images/your_nutrition_image.gif" alt="Nutrition Information" />
21 Oct 2011, 9:09 AM
#3
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Adding Pictures with Product Description

gjh42:

Yes, you would use HTML <img> tags to include pictures in your product description. If you have an HTML editor active, that may have an "insert picture" feature; otherwise, save your image in the base /images/ folder and put something like this in your description:

<img src="images/your_nutrition_image.gif" alt="Nutrition Information" />

WOW !! - I wasn't looking for this but I am glad I found it - this will be most helpful. Good Stuff GJH42

My issue is somewhere along the line I have done something that has caused image uploading for product info pages not to work.

I had installed Google Feeder when afterwards I could not add an image to a new product. Subsequently then installed Image Handler 3 and Zen Lightbox. Then uninstalled all of them one at a time and re-tried and then re-installed each one at a time very carefully.

Current status is that Images will not load at the new product data sheet but will load (afterwards) using IH3 BUT NOT the default image (see error message below). On the product page the "alt" description for the image is where the image should be (even with the click for larger image prompt) and when clicked on the image opens up in Lightbox.

Al images are in their right folders and correctly named (I deleted images from folders then re-uploaded them but it didn't make a difference). Images Configuration page seems OK - untouched so shouldn't be the source of the problem.

Something is saying ... "OK, we will load up the alt text of the image and put it where it should be but we won't actually put the image there" - where do I find this something ??:smile:

all assistance appreciated.

cheers,
Mike

error message in IH3 reads ...

Error!

Unable to determine the page link!

Function used:

zen_href_link('', '', 'NONSSL')

21 Oct 2011, 12:11 PM
#4
kmorganics avatar

kmorganics

New Zenner

Join Date:
Oct 2011
Posts:
7
Plugin Contributions:
0

Re: Adding Pictures with Product Description

Thank you Black Belt for the info. This worked out as I needed it too. I appreciate your help...:D

25 Oct 2011, 9:57 AM
#5
rookie2000 avatar

rookie2000

New Zenner

Join Date:
Aug 2010
Posts:
8
Plugin Contributions:
0

Re: Adding Pictures with Product Description

Check out this page and see how these pictures look and let me if this is what you are looking for. I dropped the code into the description box and it took off. Click on couple of the pictures they should in-large in a separate window bypassing Zen cart completly with no need for a photo serveice.

http://icucenterstage.biz/index.php?main_page=product_info&cPath=10_23_24&products_id=4

Here is anothor one with video or slide show, I am still working on these and so far Zen cart has not broke yet on my side. Please let me know if you have any problems at all, including load time. Thanks.

http://midnightadwar.com/Ads/index.php?main_page=product_info&cPath=25_12&products_id=40

The first link is code I took from Word Press and dropped into the description box and modifying as I go.

The second link is ‘well’ the complete page code from their web site “everything” nothing left out, only modified a few click-able links so they will work when visitors click on them.

The Zen Cart team built a monster and so far I found no limits to it yet. However, I would not tamper with a full on line site because Zen Cart may break, “don’t know” but if it does break you may have to use your FTP programs to undo the changes in that particular description box.

Don't know if this is possible because I am having no problems with it, so there is no need for me to figure that one out, I can't seem to break it no matter what I have done.

In addition, check this page out it is a simple code compared to the other ones.

http://midnightadwar.com/Ads/index.php?main_page=product_info&cPath=25_7&products_id=7

If I can figure out how to replace the description box in Zen cart, with the plain Text/HTML editor like the one in Word Press, or similar to the text box we use for posting replies here I would do so, because everything I have done so far tells me this beast can handle it.

Oh one of the best parts is when I drop in the code, does not matter which one it all took on the sites theme with no problem, except for the need to change some of the text color code.

As time permits, I will clean up the code and post when possible.

P.S

This page here is using only and all Zen cart built in photo features only with the proper naming and photo placement as suggested in one of the replies.

http://midnightadwar.com/Ads/index.php?main_page=product_info&cPath=16_20&products_id=43

Oh yes, please take notice on one of the sites it has two Categories side boxes, I am not sure which one I want to use I am leaning toward the fly out, any input will be appreciated.

Thank you

Rookie2000

26 Jan 2012, 6:17 PM
#6
mvip avatar

mvip

New Zenner

Join Date:
Nov 2011
Posts:
17
Plugin Contributions:
0

Re: Adding Pictures with Product Description

gjh42:

Yes, you would use HTML <img> tags to include pictures in your product description. If you have an HTML editor active, that may have an "insert picture" feature; otherwise, save your image in the base /images/ folder and put something like this in your description:

<img src="images/your_nutrition_image.gif" alt="Nutrition Information" />

This worked great! I have another noob question:
How can I center this image? It is currently aligned to the left along with the description text. I just want to center the image, not the rest of the description text though.

I tried this, but it didn't work:
<img src="images/your_nutrition_image.gif" alt="Nutrition Information" align="middle" />

Would I have to change something on the stylesheet?

Your help is very much appreciated! :smile:

26 Jan 2012, 6:34 PM
#7
mvip avatar

mvip

New Zenner

Join Date:
Nov 2011
Posts:
17
Plugin Contributions:
0

Re: Adding Pictures with Product Description

MVIP:

This worked great! I have another noob question:
How can I center this image? It is currently aligned to the left along with the description text. I just want to center the image, not the rest of the description text though.

I tried this, but it didn't work:
<img src="images/your_nutrition_image.gif" alt="Nutrition Information" align="middle" />

Would I have to change something on the stylesheet?

Your help is very much appreciated! :smile:

Sorry, it amazes me how much noobness I possess.

This centers the image:

<center><img src="images/your_nutrition_image.gif" alt="Nutrition Information" /></center>

:flex::clap:

26 Jan 2012, 7:34 PM
#8
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Adding Pictures with Product Description

That should actually be <div align="center"> </div>

27 Jan 2012, 4:00 AM
#9
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Adding Pictures with Product Description

Just so you know, <center> is an antiquated HTML tag that is now deprecated (discouraged) for use; instead, you should apply CSS to elements.