![]() |
Use image for product name instead of text?
Is it possible to use an image for a product name instead of entring the product name in text?
If yes how do I do that? Thanks Ash |
Re: Use image for product name instead of text?
Depends...where do you want to do it and do you want it to pull the product image itself or another image?
|
Re: Use image for product name instead of text?
Thanks for the reply.
When we add a new product we add the Product Name. Is it possible to use an image as a product name instead of the text.. I would like to pull a new image that will be the product name... The reason for this is that... Client wants the heading to be in a certain font and the only possible way I can think is to show it in image as not everyone will have that font on their computer and it will not show up properly. Thanks Ash |
Re: Use image for product name instead of text?
Ahhh...awful for SEO, but the client is always right, right? :) So you would want this on both the category listing and the product detail page? I have a method for that, but want to make sure before I write it all out.
|
Re: Use image for product name instead of text?
Yeap, client is always right. :)
I have explained them the SEO Part but they are going after the looks. Ok... The product name in a image format is to be shown on product detail page only... How will this impgact as the product name is used in site map, in invoiced and all other places? Thanks |
Re: Use image for product name instead of text?
Well, what I'm suggesting is that you keep the product name and use Smarty to automatically pull the image name based on the product name or sku. For example, to use sku (since it is simpler), you would just place this code where you want the image to appear:
<img src="{$ImagesDir}/titles/{$product.productcode}.jpg" alt="{$product.product}"> That would pull an image from teh skin1/images/titles/ folder with the sku number as the image name, so sku.jpg. You could then just upload all the images to that folder and not have to add them manually in the admin. It would preserve the site map and category product titles as well. What do you think, would that work? |
Re: Use image for product name instead of text?
wow, thats clever...
i will try this out and will certainly let you know how i go .. thanks for your help! cheers |
Re: Use image for product name instead of text?
You need SIFR, it's flash based...
http://www.mikeindustries.com/sifr/ I've implemented it on a few sites for the product title and it'll probably improve SEO. |
Re: Use image for product name instead of text?
Phil,
I love your mods! and thanks for the post! It sounds interesting can we use any font ? plus how do I go on about implementing it..? |
Re: Use image for product name instead of text?
Interesting...will have to see how it affects speed...
|
Re: Use image for product name instead of text?
It's fairly lightweight... only a small flash movie and bit of javascript.
The beauty of it is that you can use any font, but you need really Flash installed to customise the output to your requirement. I can help if you drop me a line. There's always this Smarty plugin for titles... http://www.cerdmann.com/imagetext/ That might be an easier solution, you'll need GD Library installed on your server. |
Re: Use image for product name instead of text?
ImageText was easy enough to get working...
SIFR is a lot more flexible though, as it preserves the H1, H2 tags etc, so it's better for SEO. |
Re: Use image for product name instead of text?
|
Re: Use image for product name instead of text?
Whow, that was quick!
Phil, thanks for the mod... I will install it and let you know how I go. :) Thanks again! Cheers |
Re: Use image for product name instead of text?
Phil,
I have done the rest but where exactly in product.tpl ...I add Code:
{imagetext text="`$product.product`" style="impact"} |
Re: Use image for product name instead of text?
Wherever you want.
Try adding.. Code:
{imagetext text="`$product.product`" style="impact"} Code:
{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{/if} |
Re: Use image for product name instead of text?
ok i tried that...
i get this error... Code:
Warning: imagegif() [function.imagegif]: Unable to open 'textcache/cache/impact_8daae421aafe518648e1638e283b5d4c.gif' for writing in /home/gracious/public_html/Smarty-2.6.12/plugins/shared.imagetext.php on line 205 |
Re: Use image for product name instead of text?
i tried filezilla and coreftp and it wont allow me to change the permissions of the cache folder to 666 it changes itself to 766 that could be the problem?
how do i fix that |
Re: Use image for product name instead of text?
ugh.
1) Have you made the /textcache/cache directory writable? 2) Are you sure you have GD library installed on your server? Most Linux servers have it installed. |
Re: Use image for product name instead of text?
yup i have just given textcache/cache directoy 666 permissions...
how do i check if my Linux server has GD library installed... |
Re: Use image for product name instead of text?
In admin, click 'Summary', then click on the Details >> link to the right of PHP
Look for "GD Support". It should be enabled. |
Re: Use image for product name instead of text?
thanks for that...
i just checked ...ok they do..have GD library installed.. ---------------------- gd GD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled |
Re: Use image for product name instead of text?
It should work fine. Try running www.store.com/cleanup.php
|
Re: Use image for product name instead of text?
i ran the cleanup.php and it cleared the cache however am still getting the error..
i just sent you the url via PM |
Re: Use image for product name instead of text?
Whow... it worked! :)
Changed the permissions to 777 I will have a play with the styles.ini now.. Thanks heaps Phil you are an absolute champion! Cheers |
Re: Use image for product name instead of text?
Nice one, looks great, very stylish :)
|
Re: Use image for product name instead of text?
Phil,
Do I just use this code where I want this heading to display as I would like to make all headings of the store using this mod... for categories, for static pages, for shopping cart etc.... Code:
{imagetext text="`$product.product`" style="impact"} |
Re: Use image for product name instead of text?
No, you'd need a fair bit of smarty knowledge to be able to use the mod around your site.
|
Re: Use image for product name instead of text?
oh...bugger....
ok it will be great to change heading for for category page...too i think i will leave the rest of the store....as it is... |
All times are GMT -8. The time now is 06:18 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.