Hi,
Well actually I am looking for the php bit to get that image description.
I tried <?php echo $image['description']; ?>
but it does nothing.
The info is saved in the database but something is not properly defined somewhere.
Nope, that bit is not used as "alt", just the name is used everyhwere and for everything. Wonder why ?!?
This is the code from product.tpl
<img src="<?php echo $image_url; ?>" alt="<?php echo $image['title']; ?>" title="<?php echo $image['title']; ?>">
I'd like to display that description bellow the image, there is not that much info on the page anyways.
Do you have an idea how to get that working?
Thx
OK, as you can see, those calls are simply calling an image, with the "alt" text, in this case the "alt" text is the title and also the third call is calling the title. They are NOT calling any description. You'll have to add the description in HTML under that line of code, assuming your description isn't too long. It would require you to rewrite every product page, not an easy task. Alternately, you can write a the php to call that info, but I'm not sure if you have that skill set.
There is ample room on the Insert product page for a description of the item you're selling. The "alt" title will show before the image loads, the title is under the image. A great example is the dashboard when you log into your Amin panel.
The description that is displayed with the product is in a different block of php. Look at this product page on my website
http://wholesaleostomysupplies.com/index.php?rt=product/product&path=65_74&product_id=113 and you'll see the description below the add to cart button. Is that not sufficient for your needs?
If you want to add the description right under your product image, you'll need to re-write that entire piece of php that displays the image, and that will be a real chore, As you can see in my example, I add as much descriptive info as I can in the product name box when building the product page.
I think I have covered what you want to know, I'm not entirely sure exactly what or where you want the description.
Alternately, you can use an image editor and add the text to the image, if it's not that much text.